ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Turret: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
If Turret is set to yes and unittur doesn't exist, you get an IE |
||
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 {{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. | :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. |
Revision as of 13:52, 30 August 2015
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.