Xonotic Forums
Multiple announcer soundfiles for the same event - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Configuration Tips (https://forums.xonotic.org/forumdisplay.php?fid=19)
+--- Thread: Multiple announcer soundfiles for the same event (/showthread.php?tid=6141)



Multiple announcer soundfiles for the same event - Zilor - 04-24-2016

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",
}