PlayAmbienceLoop
function · sound · orchestration
- Address
0x4588f0· 10 bytes, up to0x4588f9- Meaning
- Opens a sound id as a 2D ambience loop
- Confidence
- verified, proof one
- Finding
- sound/entries#looped-plays
Finding: Looped plays in sound: sound entries and plays
0x458900(id, ambience, noCategory) opens a definition's file as a 2D loop on bus 0, with flag 0x8
for ambience and 0x10 for noCategory, sets the volume and pitch, and unpauses. 0x4588f0 is the
ambience form; 0x458990 is the cinematic sequence's sound. 0x4589a0(id, pos) opens a 3D loop at a
position. 0x458ab0(object, id, seconds, index) opens a 3D loop at the object, fades it in from 0 to
level 255 over seconds, and makes it follow the object; the fade ends at volume 1.0 whatever the
definition says. The dynamic object code passes 2.0 s.
The derivation is in the doc.
Callers 1
- RefreshZoneAmbience sound
Callees 1
- PlaySoundLoop2D sound
Calls and jumps by a bare address, from tables/calls.tsv.