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

Lepton: Difference between revisions

From ModEnc
Jump to navigation Jump to search
Crimsonum (talk | contribs)
mNo edit summary
Crimsonum (talk | contribs)
mNo edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
A lepton is a distance measuring unit, which equals 1/256th of a map [[cell]]'s edge. So, a single map cell is 256x256 leptons. In other words, if you were to draw a circle (in the game's pseudo-isometric perspective) inside the boundaries of a map cell, the diameter of that circle would be exactly 256 leptons.
A lepton is a distance measuring unit in {{ts}} and {{ra2}}, 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 leptons-per-pixel ratio is greater vertically than horizontally.


This unit is used to measure object [[FLH|Firing Offsets]], animation draw offsets, and such distances which require a high level of sub-cell precision.
This unit is used to measure object [[FLH|Firing Offsets]], animation draw offsets, and such distances which require a high level of sub-cell precision.
[[Image:Leptons.png|frame|In this example, the ring's diameter equals the length of the cell edge: 256 leptons]]


[[Category: General Editing Information]]
[[Category: General Editing Information]]
[[Category: Units of measurement]]
[[Category: Units of measurement]]

Latest revision as of 17:19, 5 January 2019

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 leptons-per-pixel 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