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

Crushable

From ModEnc
Revision as of 04:08, 27 July 2024 by Testid123 (talk | contribs)
Jump to: navigation, 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: Crushable
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: ObjectTypes


Specifies whether or not this object can be crushed by a unit with Crusher=yes. The crushing unit must have a MovementZone that allows it to move onto the crushable object.

This value does not affect OmniCrushers for it will crush anything except units with OmniCrushResistant=yes set.

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

TerrainTypes (e.g. trees) with Crushable=yes can be crushed like any other object, but with some visual bugs/limitations. When crushed, the terrain object becomes passable, but its sprite lingers on the map until the view is "refreshed" (for example by moving the camera away from the object and back, or by changing map lighting). In addition, vehicles do not tilt when crushing TerrainTypes.

This can be used with BuildingTypes with size Foundation=1x1 is possible.

See Also