Distance within the iso-CnC engine
| Flag: | Distance within the iso-CnC engine |
| File(s): | rules(md).ini |
| Values: | ERROR – No value types set! Please edit this page and fix the Flag template! |
Red Alert 2 measures distance using pixels, cells and leptons.
Pixels are tied to the display resolution and are used when an effect or image must scale with the player's screen — they ensure visuals keep the same apparent size regardless of resolution.
Cells represent the map grid: place a building on a map to see how many map squares (cells) it occupies. Infantry usually occupy one cell (with special cases allowing more than one infantry per cell). Cells define fixed map space and generally only one object may occupy a cell at a time.
A lepton is a sub-cell unit; one cell equals 256 leptons (numbered 0–255). Thinking of a cell as a 256×256×256 lepton cube helps visualise how leptons are used to fine-tune positions inside a cell — for example turret placement, accuracy and weapon ranges.