OccupyPip: Difference between revisions
De-DZed. Another one bites the dust. |
Is there such a thing as being too thorough? |
||
Line 6: | Line 6: | ||
}} | }} | ||
This flag specifies the graphical representation to use for an [[InfantryTypes|infantry]] garrisoned within a [[BuildingTypes|building]] with {{f|CanBeOccupied|yes|link}} and {{f|MaxNumberOccupants|link}} set to a positive integer greater than 0. These types of special graphics are referred to as "pips". | This flag specifies the graphical representation to use for an [[InfantryTypes|infantry]] garrisoned within a [[BuildingTypes|building]] with {{f|CanBeOccupied|yes|link}} and {{f|MaxNumberOccupants|link}} set to a positive [[Help:Values#Integers|integer]] greater than 0. These types of special graphics are referred to as "pips". | ||
Each value for {{f|OccupyPip|link}} denotes a specific frame of ''pips.shp'' to use for the pip of a garrisoned infantry. Each infantry will only take up one occupant slot regardless of its {{f|Size|link}}. | Each value for {{f|OccupyPip|link}} denotes a specific frame of ''pips.shp'' to use for the pip of a garrisoned infantry. Each infantry will only take up one occupant slot regardless of its {{f|Size|link}}. | ||
==Accepted values== | ==Accepted values== | ||
Line 37: | Line 35: | ||
|style="text-align:center;"|12 | |style="text-align:center;"|12 | ||
|} | |} | ||
==Hardcoded in Red Alert 2== | |||
{{NeedsTesting}} | |||
{{Ra2}} without the {{Yr}} expansion does not have {{f|OccupyPip}} as an infantry-specific control on this pip display. Instead, players controlling any [[Countries|country]] listed under {{f|GDI|link}}{{fnl|1}} are hardcoded to use the eleventh frame of ''pips.shp'' for garrisoned infantry. {{f|Nod|link}}{{fnl|1}} countries use the tenth frame instead. All other countries use the ninth frame. | |||
==Pips representing infantry in other applications== | |||
* The pip graphic to use for an infantry loaded into a building with {{f|PipScale#Passengers|passengers|link}}, {{f|InfantryAbsorb|yes|link}}, and {{f|Passengers|link}} and {{f|SizeLimit|link}} 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 [[VehicleTypes|vehicle]] with {{f|PipScale|passengers}}, and {{f|Passengers}} and {{f|SizeLimit}} each set to positive integers greater than or equal to the {{f|Size}} of the infantry, is specified by {{f|Pip|link}}. | |||
==See also== | ==See also== | ||
* {{f|Pip|link}} | * {{f|Pip|link}} | ||
* [[Pip Distortion Bug]] | * [[Pip Distortion Bug]] | ||
==Notes== | |||
{{fn|1|Note that "GDI" and "Nod" are residual from the {{Ts}} [[engine]] and are treated as the Allied and Soviet sides respectively in {{Ra2}}.}} |
Revision as of 23:17, 4 December 2009
Flag: | OccupyPip |
File(s): | rules(md).ini |
Values: | Strings: Normal text. (Limited to: hardcoded values↓) |
Default: | personwhite |
Applicable to: | InfantryTypes |
This flag specifies the graphical representation to use for an infantry garrisoned within a building with CanBeOccupied=yes and MaxNumberOccupants set to a positive integer greater than 0. These types of special graphics are referred to as "pips".
Each value for OccupyPip denotes a specific frame of pips.shp to use for the pip of a garrisoned infantry. Each infantry will only take up one occupant slot regardless of its Size.
Accepted values
All values are case-insensitive. Any other values will simply be ignored and the default used instead.
Value | Frame of pips.shp |
---|---|
persongreen
|
7 |
personyellow
|
8 |
personwhite
|
9 |
personred
|
10 |
personblue
|
11 |
personpurple
|
12 |
Hardcoded in Red Alert 2
Red Alert 2 without the Yuri's Revenge expansion does not have OccupyPip as an infantry-specific control on this pip display. Instead, players controlling any country listed under GDI1 are hardcoded to use the eleventh frame of pips.shp for garrisoned infantry. Nod1 countries use the tenth frame instead. All other countries use the ninth frame.
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 vehicle with PipScale=passengers, and Passengers and SizeLimit each set to positive integers greater than or equal to the Size of the infantry, is specified by Pip.
See also
Notes
1 ↑ Note that "GDI" and "Nod" are residual from the Tiberian Sun engine and are treated as the Allied and Soviet sides respectively in Red Alert 2.