s_missileSpeedCap
global · objectlayer
- Address
0x80c854· 4 bytes, up to0x80c857- Type
const float- Meaning
- Holds 100.0, the cap the missile launch applies to the distance over time quotient
- Confidence
- verified, proof one
- Finding
- objectlayer/missiles#launch-and-flight-time
Finding: Launch and flight time in objectlayer: missiles
0x61ceb0(start) launches a missile, and relaunches a reflected one: it sets the outcome flags,
places the missile at start, moves it to the flying list, settles the target attachment and aims.
For a positive speed it then fits the speed so that the flight ends on schedule: with d the
distance and q the seconds spent in the caster's release queue, t = d/speed − q; for t > 0 the speed becomes
min(d/t, 100), otherwise 100 with t = 0. A blocked or deflected missile at a unit makes the
target play 24 ShieldBlock or 30 Dodge so that half the sequence has run at impact. The model plays
144 InFlight, its loop stretched over t, or 0 Stand.
The derivation is in the doc.