SndInterfacePlayVocalUISound
function · sound · primitive
- Address
0x458250· 290 bytes, up to0x458371- Meaning
- Plays the spoken error line for a gender and error, switching to the fed-up line on repeats
- Confidence
- verified, proof one
- Name from
- the community database (idb)
- 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
Callees 2
- InternalPlaySound sound
- CVar::Lookup cvar
Calls and jumps by a bare address, from tables/calls.tsv.