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

EligibleForDelayKill

From ModEnc
Jump to navigation Jump to search
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: EligibleForDelayKill
File(s): rules(md).ini
Values: Boolean values: yes or no, true or false, 1 or 0
Default: no
Applicable to: BuildingTypes


Determines whether the building's detonation is delayed when it is killed by the warhead tagged with CausesDelayKill=yes.

Notes

The detonation delay for a building killed by this warhead varies linearly across the affected area. At the warhead's center, the delay is DelayKillFrames. At the maximum range (defined by CellSpread), the delay becomes DelayKillFrames × DelayKillAtMax.

This means that for a building at a distance of Distance (in leptons) from the center, the delay length is:

DelayFrames = DelayKillFrames + (DelayKillFrames × (DelayKillAtMax - 1) × Distance) ÷ (CellSpread × 256)

If the building already has C4 planted (another logic that detonates the entire building after a period of time), this delay will be compared with the remaining delay of the C4. If this delay is shorter, it will override the C4 timer.

See Also