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

Cell Spots

From ModEnc
Revision as of 21:25, 23 June 2019 by Crimsonum (talk | contribs) (Created page with "Cell spots, also known as sub-cells, are sub-units of a map cell used in infantry pathfinding, and in {{ts}}, warhead Spread calculations. A ce...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Cell spots, also known as sub-cells, are sub-units of a map cell used in infantry pathfinding, and in Tiberian Sun, warhead Spread calculations. A cell constitutes of five cell spots, one for the center and one for each corner. Infantry may occupy and move freely between cell spots, allowing for multiple infantry units to fit into one cell. In Tiberian Dawn and Red Alert all five spots are used.

Broken Spots

In Tiberian Sun through Yuri's Revenge, the first two spots (0 and 1) appear unused, overlapping at the center of the cell. Infantry can normally only occupy the last three cell spots (2-4), i.e. the east, west, and south corners of the cell. However, infantry may sometimes appear at the center of the cell, for example when spawned on the map or ejected from a transport, but they are unable to move back to that spot.

Because the top corner of the cell has no cell spot, infantry cannot occupy it. They may still freely move through it, unless the spot is occupied by a terrain object.

The cell spot configuration in Tiberian Sun through Yuri's Revenge. Note that cell spots 0 and 1 (not shown) overlap at the center.

See Also