s_missileFadeRatio
global · objectlayer
- Address
0x80c85c· 4 bytes, up to0x80c85f- Type
const float- Meaning
- Holds 0.7, the alpha factor a missile fade uses when flag 0x8 is clear
- Confidence
- verified, proof one
- Finding
- objectlayer/missiles#fading-out
Finding: Fading out in objectlayer: missiles
A missed or deflected missile fades as it nears the destination. Within r yards, r being half
a second of flight for a miss and 0.7 seconds for a deflection, its model alpha is a²(3 − 2a)
with a the remaining distance over r, clamped to [0, 1].
The derivation is in the doc.