Jump to content

OmniCrusher

From ModEnc²
Revision as of 09:45, 20 July 2024 by en>DeathFish (OmniCrusher must Crusher=yes)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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 Although the operation of the two compaction methods is separate as shown in the example, but OmniCrusher=yes only takes effect when Crusher=yes, which means it cannot be used alone.

See also