Page 1 of 1
multiple zombie_undead_sound
Posted: Sat Aug 12, 2006 5:43 am
by eXaXXion
Would it be possible to play different "zombie_undead_sound" per map?
well maybe not per map but I want to have at least 5 different music and let them
play randomly on each map
users will download music files through sv_downloadurl link
Posted: Sat Aug 12, 2006 7:29 am
by Games
Well i tried it, but couldn't get it to work.
Just put this in the map specific .cfg
zombie_undead_sound "ambient/zombiemod/zombie_ambient.mp3"
And change it to a other ambient sound.
Posted: Sat Aug 12, 2006 7:33 am
by eXaXXion
thank you that's what I thought I should do
but now I'm having a problem...
http://zombiemod.com/forums/viewtopic.php?t=475
I can't get the zombie_ambient.mp3 to play on the server.
Basically some mp3's work and some don't and I don't know why
zombie_ambient.mp3 doesn't work since it came with the installation zip
Posted: Thu Aug 24, 2006 3:55 pm
by icepick66
use mattie event scripts, and code this:
Code: Select all
on round start:
es_xsetinfo song 0
es_rdm song 1 5
if (server_var(song) = 1) then ma_play 1
if (server_var(song) = 2) then ma_play 2
and so on...
easy