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

Difference between revisions of "Pip"

From ModEnc
Jump to: navigation, search
 
(Complete value list from TS to YR, changed numer to index (which OccupyPip page uses))
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Specifies the color of this object's 'pip' when it enters a transport VehicleType. This defaults to green although Red Alert 2 accepts any of green, yellow, white, red or blue.
+
|values={{Values|strings|hardcoded values[[#Accepted values|{{sup|{{arr|d}}}}]]}}
 +
|default=green
 +
|types={{Categ|InfantryTypes}}
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
}}
 +
 
 +
This flag specifies the graphical representation to use for an [[InfantryTypes|infantry]] loaded into a [[VehicleTypes|vehicle]] with {{f|PipScale#Passengers|passengers|link}}, and {{f|Passengers|link}} and {{f|SizeLimit|link}} each set to positive [[Help:Values#Integers|integers]] greater than or equal to the {{f|Size|link}} of the infantry. These types of special graphics are referred to as "pips".
 +
 
 +
Each value for {{f|Pip|link}} denotes a specific frame of ''pips2.shp'' to use for the first pip of a loaded infantry. If the {{f|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.
 +
 
 +
{| cellpadding="5" class="table_descrow"
 +
!Value
 +
!Frame index
 +
|-
 +
|<code>empty</code> (TS only)
 +
|style="text-align:center;"|0
 +
|-
 +
|<code>green</code>
 +
|style="text-align:center;"|1
 +
|-
 +
|<code>yellow</code>
 +
|style="text-align:center;"|2
 +
|-
 +
|<code>white</code>
 +
|style="text-align:center;"|3
 +
|-
 +
|<code>red</code>
 +
|style="text-align:center;"|4
 +
|-
 +
|<code>blue</code>
 +
|style="text-align:center;"|5
 +
|-
 +
|<code>persongreen</code>{{yro}}
 +
|style="text-align:center;"|7
 +
|-
 +
|<code>personyellow</code>{{yro}}
 +
|style="text-align:center;"|8
 +
|-
 +
|<code>personwhite</code>{{yro}}
 +
|style="text-align:center;"|9
 +
|-
 +
|<code>personred</code>{{yro}}
 +
|style="text-align:center;"|10
 +
|-
 +
|<code>personblue</code>{{yro}}
 +
|style="text-align:center;"|11
 +
|-
 +
|<code>personpurple</code>{{yro}}
 +
|style="text-align:center;"|12
 +
|}
 +
 
 +
==Pips representing infantry in other applications==
 +
* The pip graphic to use for an infantry loaded into a [[BuildingTypes|building]] with {{f|PipScale|passengers}}, {{f|InfantryAbsorb|yes|link}}, and {{f|Passengers}} and {{f|SizeLimit}} each set to positive integers greater than or equal to the {{f|Size}} of the infantry, is always the fourth frame of ''pips.shp''. Each infantry will only take up one "passenger" slot regardless of its {{f|Size}}.
 +
 
 +
* The pip graphic to use for an infantry loaded into a building with {{f|CanBeOccupied|yes|link}} and {{f|MaxNumberOccupants|link}} set to a positive integer greater than 0, is specified by {{f|OccupyPip|link}}. Each infantry will only take up one occupant slot regardless of its {{f|Size}}.
 +
 
 +
==See also==
 +
* {{f|OccupyPip|link}}
 +
* [[Pip Distortion Bug]]

Latest revision as of 19:45, 13 April 2013

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
persongreenYro.png 7
personyellowYro.png 8
personwhiteYro.png 9
personredYro.png 10
personblueYro.png 11
personpurpleYro.png 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