Page 1 of 1

local dependant music

Posted: Sat Aug 27, 2005 8:36 pm
by Hell_Soldier
how can i add local dependant music to my map using mp3 files?
i tried doing that with triggers and ambient sound but when somebody trigger the music it changes for everyone on the map and i want it to change for only ppl who trigger it.

is it possible to do?

nope

Posted: Sun Aug 28, 2005 5:46 am
by tltrude
Normally not in multiplayer. However, have a look at "mp_ambient2" on my webpage (click on my signature logo).

Image

Posted: Mon Aug 29, 2005 2:25 am
by Hell_Soldier
can it be done with mp3 files? or only wave files?

yes

Posted: Mon Aug 29, 2005 3:28 am
by tltrude
Yes, it hides the speaker entity, so the file stops playing for the player that is inside the vis_leafgroup.

Posted: Mon Aug 29, 2005 6:16 pm
by Hell_Soldier
yes? what do u mean?
yes it can be done with mp3 files? or yes it can be done only with wave files?

Posted: Mon Aug 29, 2005 6:46 pm
by ViPER
will it work if the vis brushes are scripted?

file

Posted: Tue Aug 30, 2005 2:07 am
by tltrude
What I am saying is it does not matter what type of sound file the speaker entity is playing. Vis_leafgroup brushes will hide the speaker, and a hidden speaker can't play a sound file.

Vis only works after the map has been compiled, so I don't think scripting a vis_leafgroup entity (like a trigger) will work.