UseChargeDrain: Difference between revisions
No edit summary |
De-DZ'd |
||
Line 1: | Line 1: | ||
{{ | {{Flag | ||
|values={{values|boolean}} | |||
|types={{Categ|SuperWeaponTypes}} | |||
|default=no | |||
|ts=yes | |||
|fs=yes | |||
|ra2obsolete=yes | |||
}} | |||
This flag indicates that the SuperWeapon has an effect that is applied over time instead of in one burst - after firing, the SuperWeapon gradually discharges to 0 over a short duration of time. As long as it's not empty, it can be fired again to switch its effect off. Once the effect is turned off or drained, it starts recharging again. The SuperWeapon's own {{f|RechargeTime|link}} determines how long it takes this SuperWeapon to charge completely, and {{sl|General|ChargeToDrainRatio}} is a multiplier to the charge time used to calculate how long it will take the SuperWeapon to drain its charge completely. | |||
This flag was designed for the {{f|Type|Firestorm}} SuperWeapon and has a lot of hardcoded behaviour related to it. As such, it is not advised to use this flag on other SuperWeapon Types. |
Revision as of 13:13, 15 May 2010
Flag: | UseChargeDrain |
File(s): | rules(md).ini |
Values: | Boolean values: yes or no, true or false, 1 or 0 |
Default: | no |
Applicable to: | SuperWeaponTypes |
Logic related to UseChargeDrain, as a whole or in part, is obsolete in Red Alert 2 and/or Yuri's Revenge. |
This flag indicates that the SuperWeapon has an effect that is applied over time instead of in one burst - after firing, the SuperWeapon gradually discharges to 0 over a short duration of time. As long as it's not empty, it can be fired again to switch its effect off. Once the effect is turned off or drained, it starts recharging again. The SuperWeapon's own RechargeTime determines how long it takes this SuperWeapon to charge completely, and [General]→ChargeToDrainRatio= is a multiplier to the charge time used to calculate how long it will take the SuperWeapon to drain its charge completely.
This flag was designed for the Type=Firestorm SuperWeapon and has a lot of hardcoded behaviour related to it. As such, it is not advised to use this flag on other SuperWeapon Types.