Xonotic Forums

Full Version: Multiple announcer soundfiles for the same event
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
H there,

I wounder if it's possible to use multiple announcer soundfiles for the same event, so that the client doesn't repeat the same voiceline over and over again.

Example:
I got 3 different files for the "enemy flag taken" event. Each time the flag get's picked up the client randomly playes one of the 3 files.


I also got a, more unrelated, question:
Is it possible to add announcer voicelines for custom events (such as: "30 seconds left", "2 minutes left", "35 kills"),

Something like:
Code:
"timeleft" "30"
{
"30secondsleft.ogg"
},

"kills" "35"
{
"35killes.ogg"
"35killes2.ogg"
},

"enemyflagtaken"
{
"enemyflagtaken.ogg",
"enemyflagtaken1.ogg"
"enemyflagtaken2.ogg",
}