BuildVocalErrorSounds
function · sound · primitive
- Address
0x4580f0· 266 bytes, up to0x4581f9- Meaning
- Fills the error speech table from VocalUISounds rows of a race and gender
- Confidence
- verified, proof one
- Finding
- sound/interface#error-speech
Finding: Error speech in sound: the interface
0x4580f0(race, gender), run when the active player arrives, fills a table of VocalUISounds rows
for that race and gender: per error 0 to 67 a normal sound, a fed-up sound and the fed-up sound's
file count. 0x458250(gender, error) plays it on bus 1 (cap 1) when MasterSoundEffects and
EnableErrorSpeech are on. Repeats of one error play the normal sound; after four that started it
switches to the fed-up sound, one of its files per repeat in order, and back once they run out. Each
call also tries the normal sound, which the bus cap refuses while a fed-up line plays. A different
error starts over.
The derivation is in the doc.
Callers 1
- CGPlayer_C::OnActiveArrival objectlayer
Callees 1
- GetSoundDefinition sound
Calls and jumps by a bare address, from tables/calls.tsv.