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

Difference between revisions of "TurretCount"

From ModEnc
Jump to: navigation, search
 
(Rewrite)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
The number of different VXL turrets that this VehicleType can have. This is used for two purposes, firstly for VehicleTypes which have Gunner=yes set (thus can change their turret based on the infantry unit they carry) and also for VehicleTypes which have IsChargeTurret= set so that they are 'cycled' as a pseudo-charging effect.
+
|name={{PAGENAME}}
 +
|files={{Categ|Rules(md).ini}}
 +
|values=unsigned integers
 +
|special=None
 +
|default=0
 +
|types={{Categ|VehicleTypes}}, {{Categ|BuildingTypes}}
 +
|games=[[RA2]], [[YR]]
 +
}}
 +
 
 +
Specifies the amount of turrets this object has. Used for special weapon systems, for example, turret-changers ({{TTL|Gunner|yes}}), charge turrets ({{TTL|IsChargeTurret|yes}}), or gattling logic ({{TTL|IsGattling|yes}}).
 +
 
 +
In those cases, the game loads files {{Tt|''objectname''tur''%d''.vxl/hva}}, where ''%d'' represents the number between 1 and {{TTL|TurretCount}}, as opposed to plain {{Tt|''objectname''tur.vxl/hva}} it loads normally.

Revision as of 11:38, 15 August 2006

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: TurretCount
File(s): Rules(md).ini
Values: unsigned integers
Special Values: None
Default: 0
Applicable to: VehicleTypes, BuildingTypes


Specifies the amount of turrets this object has. Used for special weapon systems, for example, turret-changers (Template:TTL), charge turrets (Template:TTL), or gattling logic (Template:TTL).

In those cases, the game loads files objectnametur%d.vxl/hva, where %d represents the number between 1 and Template:TTL, as opposed to plain objectnametur.vxl/hva it loads normally.