Jump to content

IsPowered

From ModEnc²
Revision as of 08:12, 9 April 2008 by en>Marshall (added note on powered buildings)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
Flag: IsPowered
File(s): Rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: yes
Applicable to: SuperWeaponTypes


Specifies whether this SuperWeaponType should be disabled and pause its charge timer when the player enters a low power situation. Unless specifically set to 'no', the super weapon will go on hold regardless of whether the BuildingType that provides the superweapon drains power or not.

However, if the BuildingType that provides the superweapon has Template:TTL set, then the superweapon will still be disabled/pause recharging during low power situations (as if the SuperWeaponType had Template:TTL set) (case in point: The Spy Plane superweapon is still powered in the unmodded game despite having Template:TTL set, because the Radar Tower has Template:TTL set).