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

Difference between revisions of "OccupyPip"

From ModEnc
Jump to: navigation, search
 
(De-DZed. Another one bites the dust.)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Specifies the color of the 'pip' which is drawn when this InfantryType occupies a structure with CanBeOccupied=yes set. Can be set to personred, personblue, personpurple, personwhite, persongreen, personyellow.<br />
+
|values={{Values|strings|hardcoded values[[#Accepted values|{{sup|{{arr|d}}}}]]}}
(Yuri's Revenge Only)
+
|default=personwhite
 +
|types={{Categ|InfantryTypes}}
 +
|yr=yes
 +
}}
 +
 
 +
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".
 +
 
 +
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}}.
 +
 
 +
The pip graphic to use for an infantry loaded into a [[VehicleTypes|vehicle]] is specified by {{f|Pip|link}}.
 +
 
 +
==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 of ''pips.shp''
 +
|-
 +
|<code>persongreen</code>
 +
|style="text-align:center;"|7
 +
|-
 +
|<code>personyellow</code>
 +
|style="text-align:center;"|8
 +
|-
 +
|<code>personwhite</code>
 +
|style="text-align:center;"|9
 +
|-
 +
|<code>personred</code>
 +
|style="text-align:center;"|10
 +
|-
 +
|<code>personblue</code>
 +
|style="text-align:center;"|11
 +
|-
 +
|<code>personpurple</code>
 +
|style="text-align:center;"|12
 +
|}
 +
 
 +
==See also==
 +
* {{f|Pip|link}}
 +
* [[Pip Distortion Bug]]

Revision as of 07:07, 4 December 2009

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: 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.

The pip graphic to use for an infantry loaded into a vehicle is specified by Pip.

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

See also