Jump to content

IsCoreDefender

From ModEnc²
Revision as of 22:51, 20 January 2022 by en>Crimsonum
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: IsCoreDefender
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Applicable to: VehicleTypes



This is a key introduced in Firestorm, and is only usable in said game. It is set to 'yes' on the CABAL Core Defender and has two functions. It applies immunity to EMP, one of the few keys in Tiberian Sun to do so, and also changes the unit's health box to appear bigger. In game, the health box on a vehicle will appear the same way as they do on buildings, and the height of the health box depends on the size/height of the unit.

Bugs/Side-Effects/Unexpected Limitations The value of this flag is reset if the unit's rules section is modified in a map, or some other rules-appending file, like firestrm.ini. For example, suppose that the vehicle type [FOO] has IsCoreDefender=yes. If you add the section [FOO] into a map (e.g. for changing the unit's Name for that map), you must also redeclare IsCoreDefender=yes in that unit section.

See Also