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

Difference between revisions of "Cell Spots"

From ModEnc
Jump to: navigation, search
(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...")
 
m
Line 5: Line 5:
 
In {{ts}} through {{yr}}, 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.
 
In {{ts}} through {{yr}}, 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 [[TerrainTypes|terrain object]].
+
Because the top corner of the cell has no cell spot, infantry cannot occupy it. They may still freely move through it, provided the adjacent spots are not occupied by [[TerrainTypes|terrain objects]] or other infantry.
  
 
[[File:Cellspots-ts.png|left|frame|The cell spot configuration in {{ts}} through {{yr}}. Note that cell spots 0 and 1 (not shown) overlap at the center.]]
 
[[File:Cellspots-ts.png|left|frame|The cell spot configuration in {{ts}} through {{yr}}. Note that cell spots 0 and 1 (not shown) overlap at the center.]]

Revision as of 00:06, 24 June 2019

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, provided the adjacent spots are not occupied by terrain objects or other infantry.

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