Jump to content

CellSpread

From ModEnc²
Revision as of 16:09, 7 April 2008 by en>DCoder (Added visual aids)
Tiberian Dawn Red Alert Tiberian Sun Firestorm Red Alert 2 Yuri's Revenge
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