ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.
Weight: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|values={{Values|integer}} | |values={{Values|integer}} | ||
|default=0 | |default=0 | ||
|special=-1 | |||
|types={{categ|VehicleTypes}} (Voxel Only) | |types={{categ|VehicleTypes}} (Voxel Only) | ||
|ts=yes | |ts=yes | ||
Line 12: | Line 13: | ||
}} | }} | ||
Specifies the weight of this [[VehicleTypes]] 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 {{f|Warhead||link}} with {{f|Rocker|yes|link}} 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 {{f|IceBreakingWeight||link}} and {{f|IceCrackingWeight||link}} statements). Thirdly, if the unit has {{f|Naval|yes|link}} set (i.e. it is a ship) then this is used to determine if it explodes or sinks when destroyed (is checked against {{f|ShipSinkingWeight||link}}). | Specifies the weight of this [[VehicleTypes]] 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 {{f|Warhead||link}} with {{f|Rocker|yes|link}} 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 {{f|IceBreakingWeight||link}} and {{f|IceCrackingWeight||link}} statements). Thirdly, if the unit has {{f|Naval|yes|link}} set (i.e. it is a ship) then this is used to determine if it explodes or sinks when destroyed (is checked against {{f|ShipSinkingWeight||link}}). | ||
==Note== | |||
'''-1''' means turn off the rocking effect of any vehicle. |
Latest revision as of 14:47, 20 December 2024
Flag: | Weight |
File(s): | Rules(md).ini |
Values: | Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. |
Special Values: | -1 |
Default: | 0 |
Applicable to: | VehicleTypes (Voxel Only) |
Specifies the weight of this VehicleTypes 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=).
Note
-1 means turn off the rocking effect of any vehicle.