The game doesn't find the sound. If I do PrintLn(SoundExists("mus_defeat"))
it show a 0 (false). I don't know why. I tried with other sounds and it shows me 0 again. I don't know if there is something wrong with my game (it's from plutonium).

javierosky1
@javierosky1
Posts
-
MP/ZM sounds file name and playSound function -
MP/ZM sounds file name and playSound functionI tried with the following examples in tdm and it does play nothing:
level PlaySound("mus_defeat"); player PlaySound("mus_defeat");
The name is from https://github.com/plutoniummod/t6-scripts/blob/main/MP/Core/maps/mp/gametypes/_globallogic_audio.gsc
-
MP/ZM sounds file name and playSound functionI've been investigating about this things for the past few days and I haven't found anything yet.
I'm looking for the file names (or the names that you pass to the PlaySound function) of the mp and zm modes, especially the names of the songs, like the mp main menu music or the music easter eggs from zm.
Also I'm not sure how the PlaySound function works. Do I have to put it after an entity like self, player or level? What parameters does the function accepts?