s_lodDistMax
global · terrain
- Address
0x80fed0· 4 bytes, up to0x80fed3- Type
float- Meaning
- Holds 250.0, the largest lodDist the console accepts
- Confidence
- verified, proof one
- Finding
- terrain/lod#chunk-levels
Finding: Chunk levels in terrain: lod
A chunk takes the near level 3 (0x867964), or the far level 2 (0x867968) when the lod option
(world flag 4) is on and its view depth is above lodDist (0x867960); levels 0 and 1 are never
stored. The depth is that of the chunk's bounding sphere along the view axis, f·(centre − eye) − radius, taken
from the plane 0xc7bcb0 to 0xc7bcbc and compared strictly (equal and NaN stay near). lod (default
- sets or clears the flag;
lodDist(default string 100.0) accepts 50.0 to 250.0 inclusive and a NaN, else it says the range and uses 77.0;maxLODstores 2 or 3, 2 for 0 and 1, and 3 for a value above 3 or negative.
The derivation is in the doc.