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

Distance within the iso-CnC engine

From ModEnc
Jump to navigation Jump to search
Tiberian Dawn The Covert Operations Red Alert Counterstrike Aftermath Tiberian Sun Firestorm HyperPatch Red Alert 2 Yuri's Revenge Ares Generals Zero Hour Tiberium Wars Kane's Wrath
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.