View Full Version : Triggerable Target_Speakers
03-02-2003, 03:42 PM
I'm trying to get a target_speaker to work in the same way that a soundeset works. Only problem is, if the player stays inside the trigger for more than the "wait" time, it'll be re-triggered and you can have the target_speaker playing outside the area that you want it to.
It'll all be so much easier if you could change the radius of a target_speaker.
03-02-2003, 03:53 PM
I've just had another idea.
Is there anyway to block the sound of a "target_speaker" with a brush? I was thinking maybe a brush with a special texture that blocks sound. What I could do is have it looped on but build a perimeter of these special brushes around them to restrict where you can hear it from.
No, blocking it won't work.
If you can't said the radius of a target_speaker, then what did Raven use in the Nar cantine? The sound definatly fades as you go away from it, and if you shoot them, they get fried and don't output sound anymore.
03-02-2003, 04:35 PM
The entity description says that looped sounds can be toggled by use functions. That means triggering too probably. Or not?
And what about Activator? Maybe it fades away faster with this spawnflag. Or not? :)
03-02-2003, 05:02 PM
I managed to do it. I basically had to place triggers attached to scripts that play / stop the sound as well as activate / deactivate the triggers. You'd never think something so simple would need such elaborate implementation.
03-03-2003, 07:16 PM
Here's what I post to Lord_Frieza's thread:
Take a look at this: :D
timeBetweenWaves 0 0
volRange 200 250
What do you see? :D Volume range? Volume radius? Hmm...
This is from the base/sound/sound.txt where the soundsets are defined. And target_speakers can have soundSet key. I know that the entity description doesn't mention it, but there are other things it doesn't mention. I took a look in ns_streets.bsp and there soundSet is used. Actually not for the cantina music but for some consoles as you can see.
Maybe this is the solution for your problem. I hope so. :)
03-04-2003, 06:15 AM
Interesting piece of info, I'll have to try it sometime.
vBulletin®, Copyright ©2000-2016, Jelsoft Enterprises Ltd.