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

CellSpread

From ModEnc
Revision as of 14:09, 7 April 2008 by DCoder (talk | contribs) (Added visual aids)
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: CellSpread
File(s): Rules(md).ini
Values: float
Default: 0
Applicable to: Warheads


This flag defines the cell spread of the warhead, in other words, if you imagine the warhead impact point as the center of a circle, the CellSpread (measured in cells) would be the radius, and the circle would indicate the area that feels the impact of this warhead. See PercentAtMax for details on how the amount of damage is calculated.

Note: setting this to values over 11 will cause Internal Errors when the warhead is supposed to detonate.

Bugs

CellSpread=11 is broken. It does not extend outwards properly, and it affects one cell twice! (See "The order in which..." below.)

Visual aids

Which cells are affected by a certain CellSpread?

See the image on the right for a graph.

The order in which the cells are affected

Note: Close inspection will show that cell 322 does not appear on the graph. That is not an error - it is the same cell as cell 319, which gets affected twice.

See also

CellSpread/AffectedCells