getting custom sounds to loop

gokumike

Newbie
Joined
Aug 7, 2004
Messages
164
Reaction score
0
how do you get custom sounds to loop in ambient generic?

and has anyone figured out how to make a mine, like when a npc walks over a certain area(trigger?) and it explodes?
 
There's a flag with ambient_generic that you can check to make it looped. Should work with any sound, custom or not.

As for the second: make an env_explosion that is triggered by a trigger_once. Make the trigger sensitive not only to clients (player) but all npc's (and possible 'everything' so you can use objects to trigger the mine and disable it).
You could also use a model or brush as a mesh for the mine, that is destroyed (use kill) as soon as you enter the trigger. I'm not sure if you can have moving triggers, but try parenting the trigger to the brush, so you can move the mine around.
 
i couldn't figure out in the env_explosion properties how to make a trigger it triggered?
 
Back
Top