trigering sounds by walking to a point or area -1 reply

  • 1
  • 2

Please wait...

leonkennedy4011

the-pink-herb-side

50 XP

18th October 2007

0 Uploads

114 Posts

0 Threads

#1 10 years ago

hello I am making a map based in the woods and I was woundering how would you make it so that when you walk to a certain area that a sound plays but only plays once? is this done with scripting? if anyone knows how to do this plz explain in detail to me how to thank you for your time.




iswer

Mapper, Modeller, Musician

50 XP

18th April 2004

0 Uploads

1,601 Posts

0 Threads

#2 10 years ago

This is one way of doing it in radiant:

*make a brush. When the player walks inside this, it will trigger the sound. *texture it with system/trigger *with only the newly created brush selected, in the 2dview, right click and choose trigger/trigger_once *with only the brush selected, press 'N'. *write noise as "Key": *write the path of the soundfile as "value". Press enter.

That should do! ;)




leonkennedy4011

the-pink-herb-side

50 XP

18th October 2007

0 Uploads

114 Posts

0 Threads

#3 10 years ago

thank you so much for that oh and can I just click sound on the bottom of the entity window and go through my files and just set it up that way?




leonkennedy4011

the-pink-herb-side

50 XP

18th October 2007

0 Uploads

114 Posts

0 Threads

#4 10 years ago

wait im trying to triger a sound from what your character says in the game like when jaden says "what is this place" but after putting a triger brush and triger once then aplying the sound. in the game when I walked throgh it nothing happend so how do I fix this? I tryed converting it to a wav but nothing happened after that eaither




Guest

I didn't make it!

0 XP

 
#5 10 years ago

Check in the console if you find any error message about that the sound is missing or similar.




iswer

Mapper, Modeller, Musician

50 XP

18th April 2004

0 Uploads

1,601 Posts

0 Threads

#6 10 years ago

Your path might be wrong. What have you written as 'value'?




leonkennedy4011

the-pink-herb-side

50 XP

18th October 2007

0 Uploads

114 Posts

0 Threads

#7 10 years ago

I put key-noise sound/chars/jaden_fmle/06jk003.wav but it dosent play when I walk into the trigger




MagnaDoodle

Fear teh kittens!!!

50 XP

26th February 2008

0 Uploads

104 Posts

0 Threads

#8 10 years ago

I have sound/chars/jaden_fmle/06jk003.mp3 here (mac version). :lookaround:




leonkennedy4011

the-pink-herb-side

50 XP

18th October 2007

0 Uploads

114 Posts

0 Threads

#9 10 years ago

I have the sound but I converted it to a wav cause I dont think you can trigger a mp3 can you?




Guest

I didn't make it!

0 XP

 
#10 10 years ago

U sure you did like this?

Key: Noise value: sound/chars/jaden_fmle/06jk003.wav

If that doesnt work try to remove "sound/" and just start with Char.




  • 1
  • 2