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

Weight

From ModEnc
Jump to navigation Jump to search
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: Weight
File(s): rules(md).ini
Values: ERROR – No value types set! Please edit this page and fix the Flag template!

This entry was copied from DeeZire's Red Alert 2 and Yuris Revenge INI Editing Guide for the sake of completeness. As it is not our intention to rip off DeeZire's work, this article is subject to a re-write and update with the latest community knowledge.

For further information, please read Inclusion of The Guide.




Specifies the weight of this VehicleType with lower values representing 'light' and higher values representing 'heavy'. This is used for several purposes in the game. Firstly, if this unit is hit by a Warhead= with Rocker=yes set, then the degree of rocking is determined by this value (lighter units rock more dramatically). Secondly, this is used to determine if the unit will break or crack ice if it moves over it (is checked against the IceBreakingWeight= and IceCrackingWeight= statements). Thirdly, if the unit has Naval=yes set (i.e. it is a ship) then this is used to determine if it explodes or sinks when destroyed (is checked against ShipSinkingWeight=).