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

Difference between revisions of "Turret"

From ModEnc
Jump to: navigation, search
 
(If Turret is set to yes and unittur doesn't exist, you get an IE)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{DeeZireInclusion}}<br />
+
{{Flag
Can be set to 'yes' or 'no' and determines whether or not this VehicleType or BuildingType has a turret. In the case of structures, you should also specify the ART.INI reference (which should match the filename) of the turret.
+
|name={{PAGENAME}}
 +
|files={{Categ|Rules(md).ini}}
 +
|values=boolean
 +
|default=no
 +
|types={{Categ|VehicleTypes}}, {{Categ|BuildingTypes}}
 +
|ts=yes
 +
|fs=yes
 +
|ets=yes
 +
|ra2=yes
 +
|yr=yes
 +
|rp=yes
 +
}}
 +
 
 +
Specifies whether this object has a turret.  
 +
;On VehicleTypes
 +
:The turret filename has to be the same as the object's, with the suffix {{Tt|tur}}, and be in [[VXL]] format, with an accompanying [[HVA]]. Should [UNIT] have Turret=yes set but no file with the name unittur exist, the game will crash.
 +
;On BuildingTypes
 +
:The turret filename is specified by {{f|TurretAnim|link}}, should be the same as on VehicleTypes, and its format is specified by {{f|TurretAnimIsVoxel|link}}. If the turret is in [[SHP]] format, it should be defined in art(md).ini and listed in [Animations] in order to be loaded by the game. If the turret is in VXL format, this is not necessary.

Latest revision as of 15:52, 30 August 2015

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: Turret
File(s): Rules(md).ini
Values: boolean
Default: no
Applicable to: VehicleTypes, BuildingTypes


Specifies whether this object has a turret.

On VehicleTypes
The turret filename has to be the same as the object's, with the suffix tur, and be in VXL format, with an accompanying HVA. Should [UNIT] have Turret=yes set but no file with the name unittur exist, the game will crash.
On BuildingTypes
The turret filename is specified by TurretAnim, should be the same as on VehicleTypes, and its format is specified by TurretAnimIsVoxel. If the turret is in SHP format, it should be defined in art(md).ini and listed in [Animations] in order to be loaded by the game. If the turret is in VXL format, this is not necessary.