PlaceWaterLoop
function · sound · primitive
- Address
0x462960· 223 bytes, up to0x462a3e- Meaning
- Moves a water loop toward the liquid's offset by at most 1/6 yard per frame
- Confidence
- verified, proof one
- Finding
- sound/ambience#water-sound-placement
- Test
sound::source_pos_compose,sound::source_slew
Finding: Water sound placement in sound: ambience and reverb
A water loop is placed at the player plus an offset that moves toward the liquid's reported offset by at most 1/6 yard per frame, snapping when within 1/6. A liquid closer than 5.8926 yards puts the target straight above the player at that height instead. Going under water destroys the loops at once; coming back up starts them at full volume without the fade, once.
The derivation is in the doc.
Callers 1
- StartWaterLoop sound
Callees 0
None by a direct call or jump.
Calls and jumps by a bare address, from tables/calls.tsv.