Jump to content

Pip

From ModEnc²
Revision as of 22:00, 31 March 2025 by MarkJFox (talk | contribs) (8 revisions imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Pip
File(s): rules(md).ini
Values: Strings: Normal text. (Limited to: hardcoded values)
Default: green
Applicable to: InfantryTypes


This flag specifies the graphical representation to use for an infantry loaded into a vehicle with PipScale=passengers, and Passengers and SizeLimit each set to positive integers greater than or equal to the Size of the infantry. These types of special graphics are referred to as "pips".

Each value for Pip denotes a specific frame of pips2.shp to use for the first pip of a loaded infantry. If the Size of that infantry is greater than 1, it will be represented by that many pips, with each beyond the first drawn using the fourth frame of pips2.shp.

Accepted values

All values are case-insensitive. Any other values will simply be ignored and the default used instead.

Value Frame index
empty (TS only) 0
green 1
yellow 2
white 3
red 4
blue 5
persongreen 7
personyellow 8
personwhite 9
personred 10
personblue 11
personpurple 12

Pips representing infantry in other applications

  • The pip graphic to use for an infantry loaded into a building with PipScale=passengers, InfantryAbsorb=yes, and Passengers and SizeLimit each set to positive integers greater than or equal to the Size of the infantry, is always the fourth frame of pips.shp. Each infantry will only take up one "passenger" slot regardless of its Size.
  • The pip graphic to use for an infantry loaded into a building with CanBeOccupied=yes and MaxNumberOccupants set to a positive integer greater than 0, is specified by OccupyPip. Each infantry will only take up one occupant slot regardless of its Size.

See also