Different announcers for 2 teams

volumebar

L1: Registered
Jun 26, 2024
2
0
i want to make a cp map where the announcer for blu is Gray Mann, and for red is the administrator. i don't want either team to hear the other's announcer.
is there an actual method for this? or a way to play sound cues specifically for one team?
 

Tiftid

the Embodiment of Scarlet Devil
aa
Sep 10, 2016
563
431
The tf_gamerules entity can be sent the PlayVORed and PlayVOBlue inputs, with Parameter Override set to the name of a soundscript or sound file.
This will play a team-specific sound.
Only one channel is used for this, so you can't use it to play multiple sounds for a given team at the same time.

The default announcer will still play on top of this, so you need to pack in a set of overrides for the default announcer soundscripts that changes their sound file to "misc/null.wav", or changes their volume to 0.
This is a major pain in the ass, and I don't want to explain it in full.
In short: Read this to learn what a soundscript is, create a bunch of them with the same names as the default announcer soundscripts (which you can find in Hammer's Sound Browser) and then use CompilePal to pack your map.
In theory, it should then work perfectly when loaded in-game.