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 Minor revisions. Added note about OccupyPip. |
Is there such a thing as being ''too'' thorough? |
||
Line 10: | Line 10: | ||
}} | }} | ||
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". | 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 | 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== | ||
Line 38: | Line 36: | ||
|style="text-align:center;"|6 | |style="text-align:center;"|6 | ||
|} | |} | ||
==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== | ==See also== | ||
* {{f|OccupyPip|link}} | * {{f|OccupyPip|link}} | ||
* [[Pip Distortion Bug]] | * [[Pip Distortion Bug]] |
Revision as of 22:17, 4 December 2009
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 of pips2.shp |
---|---|
green
|
2 |
yellow
|
3 |
white
|
4 |
red
|
5 |
blue
|
6 |
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.