s_footprintFadePerMs
global · terrain
- Address
0x8106dc· 4 bytes, up to0x8106df- Type
float- Meaning
- Holds 1/6000, a footprint's fade per millisecond
- Confidence
- verified, proof one
- Finding
- terrain/footprints#fade-and-draw
Finding: Fade and draw in terrain: footprints
0x69a3e0 runs only while 0xc7b2a4 has bit 0x400 (the showfootprints console command,
0x6892e0). Each live record's alpha is 1 − age/6000 with the age in ms; a record
below 0 is freed (its count zeroed) and one at 0 or above gets the byte min(round(alpha × 255 −
0.5), 127), so the footprint is at most half opaque. Live records are bucketed by texture and
drawn blended, alpha only, below the ground by a depth bias.
The derivation is in the doc.