Jump to content

Crushable: Difference between revisions

From ModEnc²
No edit summary
Rain-Islet (talk | contribs)
m [bot] Batch update {{Bugs}} templates.
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Flag
{{Flag
|values={{Values|boolean}}
|values={{Values|boolean}}
|default=yes
|default=no
|types={{Categ|ObjectTypes}}
|types={{Categ|OverlayTypes}}, {{Categ|BuildingTypes}}
|ts=yes
|ts=yes
|fs=yes
|fs=yes
|ets=yes
|hp=yes
|ra2=yes
|ra2=yes
|yr=yes
|yr=yes
|rp=yes
|ares=yes
}}
}}


Specifies whether or not an object can be crushed by a unit with {{f|Crusher|yes|link}}. The crushing unit must have a [[MovementZone]] that allows it to move onto the crushable unit.
Specifies whether or not this object can be crushed by a unit with {{f|Crusher|yes|link}}. The crushing unit must have a [[MovementZone]] that allows it to move onto the crushable object.


This value does not affect {{f|OmniCrusher|link}}s for it will crush anything except units with {{f|OmniCrushResistant|yes|link}} set.
This value does not affect {{f|OmniCrusher|link}}s for it will crush anything except units with {{f|OmniCrushResistant|yes|link}} set.


This can be used with [[BuildingTypes]] with size {{f|Foundation|1x1|Link}} is possible.


=={{Bugs}}==
[[TerrainTypes]] (e.g. trees) with {{f|Crushable|yes}} can be crushed like any other object, but with some visual bugs/limitations. When crushed, the terrain object becomes passable, but its [[SHP|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 [[IsTilter|tilt]] when crushing TerrainTypes.


==See Also==
==See Also==
* [[who crushes whom]]
* [[who crushes whom]]

Latest revision as of 17:17, 2 July 2025

Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: Crushable
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: OverlayTypes, BuildingTypes


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.

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

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.

See Also