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

Lepton

From ModEnc
Revision as of 17:17, 5 January 2019 by Crimsonum (talk | contribs)
Jump to navigation Jump to search

A lepton is a distance measuring unit in Tiberian Sun and Red Alert 2, which equals 1/256th of a map cell's edge. So, a single map cell is 256x256 leptons. Leptons abide by the pseudo-isometric perspective of the game, i.e. the pixel-to-lepton ratio is greater vertically than horizontally.

This unit is used to measure object Firing Offsets, animation draw offsets, and such distances which require a high level of sub-cell precision.

In this example, the ring's diameter equals the length of the cell edge: 256 leptons