How to set the sound-name for Ambient_Generic?
this is my first post and I couldn't find a good tutorial for my problem.
I want to build a func_instance with a logic chain for my dynamic music function. The chain itself works really fine but I want to capsule the whole thing and just want to set some parameters through the func_proxy instance.
The main thing is that I want to SET the sound-name for an ambient_generic later in my map. How can I accomplish that? Because I can't find a way to use a soundscript or a "maps/<mapname>_level_sounds.txt" to play this sound instead of a directly wave-file.
Thanks in advance. =)
If you want to just configure what the sound name is per-instance use then you could use a func_instance_params. Put one in your instance, set the sound name in the ambient_generic to a name beginning with a dollar sign (like "$soundName") and that will appear in the func_instance menu to allow you to change the sound name.
Any advice?
EDIT: Okay I solved the problem. I followed this tutorial: http://www.youtube.com/watch?v=iK12GRu5EFU
Now it works if I use "logic_relays" to trigger the needed cases. Now I'am able to set dynamic music changes with just a few parameters in my func_instance. Thank you very much @TeamSpen210!
; )