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

CellSpread.MaxAffect

From ModEnc
Jump to: navigation, 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: CellSpread.MaxAffect
File(s): rules(md).ini
Values: Unsigned integers: All non-negative whole numbers from 0 to either 32767, 2147483647 or 4294967295.
Default: -1
Applicable to: Warheads

Game ares yes.pngThis flag is part of Ares. Do not use it without Ares installed.



The number of times an object can be affected at most when hit by a warhead using CellSpread. Set this to 1 to make the same object not be hit not more than once. Defaults to -1 (infinite).

The CellSpread logic iterates all cells in range, and affects all objects on these cells. If an object occupies more than one cell like buildings with a Foundation larger than 1x1, it could be encountered multiple times and thus would take multiple hits (potentially one for each cell of its foundation).

This tag limits the number of times the same object can be hit by the same cause. If an object is hit more often than allowed, the hits closest to the impact site are used, all others are discarded.

Special Values

A value of -1 (the default value), causes the warhead to damage structures once for each cell in their Foundation, if it is within the warhead's CellSpread.