How to add a sound when you go through teleporter

How to add a sound when you go through teleporter

Re: How to add a sound when you go through teleporter Posted by twitch-hl on Thu Sep 13th 2007 at 11:44pm
twitch-hl
10 posts
Posted 2007-09-13 11:44pm
10 posts 41 snarkmarks Registered: Mar 1st 2007
I am curious how to make the teleporter play a simple sound when I step into it and when I arrive at the destination. Damn, wrong forum! Supposed to be in the HL1 forum.
Re: How to add a sound when you go through teleporter Posted by m82sniper on Fri Sep 14th 2007 at 10:58pm
m82sniper
30 posts
Posted 2007-09-14 10:58pm
30 posts 3 snarkmarks Registered: Aug 25th 2007 Occupation: Part time firefighter Location: US
Well, i guess this is the simplist way you can do it:

Make an ambient_generic entity with whatever sound you want. Make it so that the sound plays everywhere and doesnt loop. Name it whatever you like. Then, make a trigger_once (unless you plan on using the teleport many times) and put it over the spot you step on to teleport. Name that whatever you like to. In the outputs tab for the trigger, make a new trigger and put:

OnTrigger
(target entitys name)
Play sound

Sorry if this isnt clear or doesnt help you.
Re: How to add a sound when you go through teleporter Posted by twitch-hl on Fri Sep 14th 2007 at 11:08pm
twitch-hl
10 posts
Posted 2007-09-14 11:08pm
10 posts 41 snarkmarks Registered: Mar 1st 2007
Yeah, I plan to use the teleporter over and over. Should I still do it this way? Thanks
Re: How to add a sound when you go through teleporter Posted by fishy on Sat Sep 15th 2007 at 12:48am
fishy
2623 posts
Posted 2007-09-15 12:48am
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
moved from hl2 forum
i eat paint
Re: How to add a sound when you go through teleporter Posted by m82sniper on Sat Sep 15th 2007 at 3:05am
m82sniper
30 posts
Posted 2007-09-15 3:05am
30 posts 3 snarkmarks Registered: Aug 25th 2007 Occupation: Part time firefighter Location: US
No, you should use a trigger_multiple and uncheck anything that says once only.
Re: How to add a sound when you go through teleporter Posted by twitch-hl on Sat Sep 15th 2007 at 4:05am
twitch-hl
10 posts
Posted 2007-09-15 4:05am
10 posts 41 snarkmarks Registered: Mar 1st 2007
Thanks for all of the info. What exactly do I put in the trigger multiple? Thanks for all the help.
Re: How to add a sound when you go through teleporter Posted by Le Chief on Sat Sep 15th 2007 at 4:19am
Le Chief
2605 posts
Posted 2007-09-15 4:19am
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
Because, with trigger multiple, when you run into it it triggers things and because its a multiple, it resets after a certain amount of time, which you specify.
Aaron's Stuff
Re: How to add a sound when you go through teleporter Posted by m82sniper on Sat Sep 15th 2007 at 1:31pm
m82sniper
30 posts
Posted 2007-09-15 1:31pm
30 posts 3 snarkmarks Registered: Aug 25th 2007 Occupation: Part time firefighter Location: US
Ok first make sure you named both the ambient_generic and the trigger.

Here is how i would do it:

My output named: OnTrigger
Target Entitys name: (whatever you named the ambient_generic)
Via this input: Play sound
Parameter overide of: None
Delay in seconds: (Whatever you want)
Fire once only: UNCHECK!!!

And thats how it should look like. :smile:
Ready to Fight since 1917
Re: How to add a sound when you go through teleporter Posted by fishy on Sat Sep 15th 2007 at 1:51pm
fishy
2623 posts
Posted 2007-09-15 1:51pm
fishy
member
2623 posts 1476 snarkmarks Registered: Sep 7th 2003 Location: glasgow
m82, this is for hl, not hl2.
i eat paint
Re: How to add a sound when you go through teleporter Posted by twitch-hl on Mon Sep 24th 2007 at 10:34pm
twitch-hl
10 posts
Posted 2007-09-24 10:34pm
10 posts 41 snarkmarks Registered: Mar 1st 2007
anyone know the settins for this
Re: How to add a sound when you go through teleporter Posted by Le Chief on Tue Sep 25th 2007 at 8:46pm
Le Chief
2605 posts
Posted 2007-09-25 8:46pm
Le Chief
member
2605 posts 937 snarkmarks Registered: Jul 28th 2006 Location: Sydney, Australia
settins for what?
Aaron's Stuff