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

OmniCrusher

From ModEnc
Revision as of 07:34, 20 July 2024 by DeathFish (talk | contribs)
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: OmniCrusher
File(s): Rulesmd.ini
Values: boolean
Special Values: None
Default: no
Applicable to: VehicleTypes


Specifies whether this VehicleType can crush other objects, including those labeled Crushable=no. Also apparently makes the vehicle approach mobile targets while firing its weapons at them in an attempt to crush them, rather than fire from stand-off range as normal units do, when ordered to attack.

This OmniCrusher should best have the tag OmniCrushResistant=yes set, to prevent two of the same type trying to crush each other.

In fact, the reason why it can ignore Crushable=no is because it only follows the setting of OmniCrushResistant=yes, rather than having a "higher-level crush"
for example:
Crusher=yes & OmniCrusher=yes vehicles can take effect on a Crushable=yes & OmniCrushResistant=yes vehicle

Bugs/Side-Effects/Unexpected Limitations

It should be noted that OmniCrushResistant=yes can only be used for VehicleType, so for InfantryType, it is equivalent to always being OmniCrushResistant=no, which means it will always be crushed by OmniCrusher=yes vehicles.

See also