Jump to content

Pip: Difference between revisions

From ModEnc²
en>EvilRenegade
m Replacing Template:TTL with Template:F.
en>Vinifera7
m Minor revisions. Added note about OccupyPip.
Line 1: Line 1:
{{Flag
{{Flag
|values={{Values|strings|hardcoded values{{Sup|[[{{PAGENAME}}#Accepted_values|{{Arr|d}}]]}}}}
|values={{Values|strings|hardcoded values[[#Accepted values|{{sup|{{arr|d}}}}]]}}
|default=green
|default=green
|types={{Categ|InfantryTypes}}
|types={{Categ|InfantryTypes}}
Line 8: Line 8:
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes
}}
}}


This flag specifies the graphical representation to use for an [[InfantryType]] loaded into a [[VehicleType]] with {{f|PipScale|passengers|link}} set. These types of special graphics are referred to as "pips".
This flag specifies the graphical representation to use for an [[InfantryTypes|infantry]] loaded into a [[VehicleTypes|vehicle]] with {{f|PipScale#Passengers|passengers|link}} set. 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 InfantryType. If the {{f|Size|link}} of that InfantryType is greater than 1, it will take up that many pips, with each pip beyond the first drawn using the fourth frame of pips2.shp.
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|link}} of that infantry is greater than 1, it will represented by that many pips, with each beyond the first drawn using the fourth frame of ''pips2.shp''.
 
The pip graphic to use for an infantry loaded into a [[BuildingTypes|building]] is specified by {{f|OccupyPip|link}}.


==Accepted values==
==Accepted values==
All values are case-insensitive. Any other values will simply be ignored and the default used instead.
All values are case-insensitive. Any other values will simply be ignored and the default used instead.
{| cellpadding="5" class="table_descrow"
{| cellpadding="5" class="table_descrow"
!Value
!Value
Line 37: Line 39:
|}
|}


== See also ==
==See also==
* {{f|OccupyPip|link}}
* {{f|OccupyPip|link}}
* [[Pip Distortion Bug]]
* [[Pip Distortion Bug]]

Revision as of 06:14, 4 December 2009

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 set. 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 represented by that many pips, with each beyond the first drawn using the fourth frame of pips2.shp.

The pip graphic to use for an infantry loaded into a building is specified by OccupyPip.

Accepted values

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

Value Frame of pips2.shp
green 2
yellow 3
white 4
red 5
blue 6

See also