ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

Pip

From ModEnc
Revision as of 17:45, 13 April 2013 by AlexB (talk | contribs) (Complete value list from TS to YR, changed numer to index (which OccupyPip page uses))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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