s_sprintSpeedThreshold
global · objectlayer
- Address
0x80c484· 4 bytes, up to0x80c487- Type
const float- Meaning
- Holds 11.0, the speed from which the moving animation is Sprint
- Confidence
- verified, proof one
- Finding
- collision/walkmode#moving-animation-choice
Finding: Moving animation choice in collision: walk mode
0x5fd100 picks the moving clip by the speed 0x7c4c90(0) returns, so the walk bit reaches
the Walk clip only by lowering that number. Order: no direction bit declines; swimming; a live
spline with bit 0x200 gives 135 Fly; backward gives 13 (Walkbackwards) for walking and running
alike; stealth 119; speed of 11 or more 143; above twice the walk speed +0xa30 Run (5); else
Walk (4). With the vanilla speeds (walk 2.5, run 7.0) walking gives min(2.5, 7.0) against a
boundary of 5.0.
The derivation is in the doc.