ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Pip: Difference between revisions
Jump to navigation
Jump to search
m Adding pip distortion note |
Complete value list from TS to YR, changed numer to index (which OccupyPip page uses) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Flag | {{Flag | ||
|values={{Values|strings|hardcoded values | |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 | ||
}} | }} | ||
This flag specifies the graphical representation to use for an [[ | 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 {{ | 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== | ==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 | ||
!Frame | !Frame index | ||
|- | |||
|<code>empty</code> (TS only) | |||
|style="text-align:center;"|0 | |||
|- | |- | ||
|<code>green</code> | |<code>green</code> | ||
|style="text-align:center;"|1 | |||
|- | |||
|<code>yellow</code> | |||
|style="text-align:center;"|2 | |style="text-align:center;"|2 | ||
|- | |- | ||
|<code> | |<code>white</code> | ||
|style="text-align:center;"|3 | |style="text-align:center;"|3 | ||
|- | |- | ||
|<code> | |<code>red</code> | ||
|style="text-align:center;"|4 | |style="text-align:center;"|4 | ||
|- | |- | ||
|<code> | |<code>blue</code> | ||
|style="text-align:center;"|5 | |style="text-align:center;"|5 | ||
|- | |- | ||
|<code> | |<code>persongreen</code>{{yro}} | ||
|style="text-align:center;"| | |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== | ||
See [[Pip Distortion Bug]] | * 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 17:45, 13 April 2013
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.