EMP.Duration
Flag: | EMP.Duration |
File(s): | rules(md).ini |
Values: | Signed integers: All whole numbers from -2147483648 to 2147483647; in rare cases, only from -32768 to 32767. |
Extension Version: | All versions. |
Applicable to: | Warhead |
This flag is part of Ares. Do not use it without Ares installed. |
The EMP logic is something that was used several times in Tiberian Sun, but no longer had any function in RA2. Ares restores the EMP logic with a few more controls than it had in Tiberian Sun.
Usage
In Tiberian Sun, the duration of an EMP outage was controlled through the affecting weapon's Damage flag. However, this meant that any EMP weapons could not cause damage themselves.
In Ares, EMP is no longer controlled through the weapon's Damage. Instead, this flag is used on the weapon's warhead. EMP.Duration sets the length of time in frames that a unit should be disabled for. This means that you can now create EMP weapons that also deal damage.
[Warhead] EMP.Duration=<integer>
Remember, 1 second is equal to 15 frames, so adjust your values accordingly.
Negative values can also be used. These will have a "reverse-EMP" effect on the unit, reducing the amount of time a unit will be afflicted by EMP.
Use in conjunction with EMP.Cap to have greater control over the ability for the EMP effect to stack.