Jump to content

EMP.Cap: Difference between revisions

From ModEnc²
en>Nighthawk200
Created page with '{{Flag |name={{PAGENAME}} |files={{categ|ini=rules}} |types={{categ|Warheads}} |values={{values|unsigned integers}} |extver=<i>All versions</i>. |ares=yes |aresflag=yes }} The E…'
 
Rain-Islet (talk | contribs)
m Replaced content with "{{del}}"
Tag: Replaced
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Flag
{{del}}
|name={{PAGENAME}}
|files={{categ|ini=rules}}
|types={{categ|Warheads}}
|values={{values|unsigned integers}}
|extver=<i>All versions</i>.
|ares=yes
|aresflag=yes
}}
 
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=
This tag, used in conjunction with {{f|EMP.Duration|link}} gives you greater control over how long a unit can be afflicted by an EMP.
 
<pre>[Warhead]
EMP.Cap=<integer>
</pre>
 
== With positive EMP.Cap values ==
If {{f|EMP.Cap}} is set to any value greater than zero, the following effect will be applied:<br />
The EMP outage will be stackable, but only to a point. In other words, the afflicted unit's EMP counter will be increased in amounts specified by {{f|EMP.Duration|link}} until {{f|EMP.Cap}} is reached, then the counter will stop increasing.
 
If the afflicted unit's EMP counter is already greater than the value specified by {{f|EMP.Cap}}, then the counter will stop at its current position, but not be increased.
 
== When EMP.Cap is zero ==
If {{f|EMP.Cap|0}}, the following effect will be applied:<br />
The EMP outage will be stackable, and also uncapped. In other words, the afflicted unit's EMP counter can be increased indefinitely.
 
== With negative EMP.Cap values ==
If {{f|EMP.Cap}} is set to value less than zero, the following effect will be applied:<br />
The EMP outage will not be stackable. Instead, the afflicted unit's EMP counter will be reset to the exact number specified by {{f|EMP.Duration|link}}, unless the unit's EMP counter is already higher than this.
 
== When negative EMP.Duration is used ==
These effects only apply to cases where the warhead's {{f|EMP.Duration|link}} is set to any value less than zero.
 
=== Positive EMP.Cap ===
The afflicted unit's EMP counter will be reduced by the amount specified in {{f|EMP.Duration|link}} until it reaches the amount set by {{f|EMP.Cap}}.
 
=== EMP.Cap=0 ===
The unit's EMP counter will be instantly reset to zero regardless of the value set by {{f|EMP.Duration|link}}, and the unit will reactivate.
 
=== Negative EMP.Cap ===
The afflicted unit's EMP counter will simply be reduced by the amount specified in {{f|EMP.Duration|link}}, and {{f|EMP.Cap}} will have no effect.

Latest revision as of 06:14, 14 April 2025

This article/file was added to the deletion list!