IsCoreDefender: Difference between revisions
Created page with "{{Flag |name={{PAGENAME}} |files={{Categ|ini=rules}} |types={{Categ|VehicleTypes}} |values={{values|boolean}} |fs=yes }}<br /> This is a key introduced in TS:Firestorm, and i..." |
No edit summary |
||
Line 7: | Line 7: | ||
}}<br /> | }}<br /> | ||
This is a key introduced in | This is a key introduced in {{fs}}, 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}} | |||
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 [[VehicleTypes|vehicle type]] {{s|FOO}} has {{f|IsCoreDefender|yes}}. If you add the section {{s|FOO}} into a [[map]] (e.g. for changing the unit's {{f|Name|link}} for that map), you must also redeclare {{f|IsCoreDefender|yes}} in that unit section. | |||
==See Also== | ==See Also== | ||
* {{f|EMEffect|link}} | * {{f|EMEffect|link}} | ||
* {{f|PixelSelectionBracketDelta|link}} | * {{f|PixelSelectionBracketDelta|link}} |
Revision as of 20:51, 20 January 2022
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.