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
m (Template Updated)
m
(6 intermediate revisions by 4 users not shown)
Line 15: Line 15:
 
Specifies whether this object has a turret.  
 
Specifies whether this object has a turret.  
 
;On VehicleTypes
 
;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]].
+
: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
 
;On BuildingTypes
:The turret filename is specified by {{TTL|TurretAnim}}, should be the same as on VehicleTypes, and its format is specified by {{TTL|TurretAnimIsVoxel}}.
+
: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.
  
{{NeedTesting}}
+
{{Bugs}}
Whether {{TTL|TurretAnim}} works or not, since
+
 
[GTGCAN]
+
*Makes the vehicle [[SHP]] shadowed from the [[SHP]] image when it floats above the ground With any action
TurretAnim=GTGCANTUR
+
 
In theory all animations should be defined in art(md).ini and listed in [Animations], and both of these rules are violated by this entry, yet it still works.
+
*If Buildings that infantry canable occupy '''({{f|CanBeOccupied|yes|Link}})''' have '''{{f|Turret|yes|Link}}''' after infantry leaves the building. Will not be able to go back in again.

Revision as of 14:00, 27 June 2024

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.

Cc alert.png Bugs/Side-Effects/Unexpected Limitations

  • Makes the vehicle SHP shadowed from the SHP image when it floats above the ground With any action
  • If Buildings that infantry canable occupy (CanBeOccupied=yes) have Turret=yes after infantry leaves the building. Will not be able to go back in again.