ModEnc is currently in Maintenance Mode: Changes could occur at any given moment, without advance warning.

ChainReaction: Difference between revisions

From ModEnc
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
{{DeeZireInclusion}}<br />
{{Flag
Can be set to 'yes' or 'no' and specifies whether or not this overlay causes a chain reaction if Explodes=yes is also set, the effect being that other overlay of the same type also explodes if it occupies an adjacent cell. When exploding, the overlay causes the amount of damage specified by TiberiumExplosionDamage=.
|name={{PAGENAME}}
|files={{Categ|art(md).ini}}
|types={{Categ|Overlays}}
|values={{Values|boolean}}
|default=no
|ts=yes
|fs=yes
|ra2=yes
|yr=yes
}}
 
Whether this overlay explodes violently when being damaged. This is not to be confused with {{f|TiberiumChainReaction|link}} on Animations.
 
The chain reaction effect described below is not working in {{ra2}} and {{yr}}, because the functions have been removed. Only minor parts of the logic remain.
 
The effect is triggered in the following three cases:
* Terrain objects with {{f|SpawnsTiberium|yes|link}} are destroyed
* Wave weapons deal ambient damage
* A warhead deals damage to the cell. If the overlay has {{f|Tiberium|yes|link}} set, the warhead also must have {{f|Tiberium|yes}} set.
 
In the latter case, the cell's Tiberium grow stage is also reduced by <tt>Damage/10</tt> after the effect. This is the only effect {{f|ChainReaction}} has in {{ra2}} and later.
 
=== The Effect ===
If the cell's Tiberium grow stage is larger than 1 (of 12 grow steps for the three growing Tiberium types), there's a <tt>Grow Stage * 5%</tt> chance that it will react. Otherwise, none of the following happens.
 
The cell's Tiberium grow stage is halved. The number of grow stages removed by this (the other half) is multiplied by the Tiberium's {{f|Power}}, which constitutes the damage to deal. {{f|C4Warhead|link}} is used to select an appropriate animation and to deliver the damage to the cell.
 
Each of the cell's eight surrounding cells that have any Tiberium type on them with a growth stage of more than 2 has an 80% probability to get hit with an animation of type <tt>INVISO</tt>, with a random delay between 15 and 120 frames (1 to 8 seconds).

Revision as of 14:36, 6 October 2013

Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
Flag: ChainReaction
File(s): art(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: Overlays


Whether this overlay explodes violently when being damaged. This is not to be confused with TiberiumChainReaction on Animations.

The chain reaction effect described below is not working in Red Alert 2 and Yuri's Revenge, because the functions have been removed. Only minor parts of the logic remain.

The effect is triggered in the following three cases:

  • Terrain objects with SpawnsTiberium=yes are destroyed
  • Wave weapons deal ambient damage
  • A warhead deals damage to the cell. If the overlay has Tiberium=yes set, the warhead also must have Tiberium=yes set.

In the latter case, the cell's Tiberium grow stage is also reduced by Damage/10 after the effect. This is the only effect ChainReaction has in Red Alert 2 and later.

The Effect

If the cell's Tiberium grow stage is larger than 1 (of 12 grow steps for the three growing Tiberium types), there's a Grow Stage * 5% chance that it will react. Otherwise, none of the following happens.

The cell's Tiberium grow stage is halved. The number of grow stages removed by this (the other half) is multiplied by the Tiberium's Power, which constitutes the damage to deal. C4Warhead is used to select an appropriate animation and to deliver the damage to the cell.

Each of the cell's eight surrounding cells that have any Tiberium type on them with a growth stage of more than 2 has an 80% probability to get hit with an animation of type INVISO, with a random delay between 15 and 120 frames (1 to 8 seconds).