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

Cell Spots: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Crimsonum (talk | contribs)
mNo edit summary
Crimsonum (talk | contribs)
No edit summary
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
== Broken Spots ==
== Broken Spots ==


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.
[[File:Cellspots-ts.png|left|frame|Cell spots in TS to YR. Spots 0 and 1 (not shown) overlap at the center.]] 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, ejected from a transport or placed by the map editors, 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 [[TerrainTypes|terrain objects]] or other infantry.
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.]]
{{bugs}}
The [[FinalAlert]] map editor (and its derivatives, like FinalSun) cannot display [[Infantry_(maps)|infantry]] that are preplaced at spot 4. Care should be taken when editing vanilla maps, as they may contain infantry on that spot.


== See Also ==
== See Also ==

Latest revision as of 09:47, 28 September 2022

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

Cell spots in TS to YR. Spots 0 and 1 (not shown) overlap at the center.

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, ejected from a transport or placed by the map editors, 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.

Bugs/Side-Effects/Unexpected Limitations

The FinalAlert map editor (and its derivatives, like FinalSun) cannot display infantry that are preplaced at spot 4. Care should be taken when editing vanilla maps, as they may contain infantry on that spot.

See Also