musick modding
of course we can add our own mp3 tracks in mods.
how to add music to game and how to play this music?
no i mean another.
for example i want to play music when player was killed so i made a thread. the code in it is
[php]if ( self.health==0 )
{
self playLocalSound( game["music"]["defeat_allies"], "allies" );
}[/php]
the question is:
i want to play my own sound which i include in my mod.
for example the file is sound\music\kill.mp3
how to play exectly this file?