Source SDK

Source SDK

Prosch Apr 11, 2015 @ 1:26pm
Abient_generic, sound help
Hello!
So i'm trying to make a horror map, using the hammer.exe from the Garry's Mod if that make a big difference.
And I've come across this problem were i CAN'T use sound within a area.
Basicly i have to tick the 'play everywhere' to make things play.

Example:
You walk into a room, the mirror break, a mirror breaking sound plays, but i have to tick play everywhere which kinda make no sense


So is there an other way to play sounds within a selected radius and by trigger_once.

Thanks for any Ideas and Solutions


Edit:
I never liked the way soundscapes works, if that's the only thing to compensate just let me know
Last edited by Prosch; Apr 11, 2015 @ 1:29pm
< >
Showing 1-5 of 5 comments
Moltard Apr 11, 2015 @ 1:42pm 
http://css.gamebanana.com/tuts/11780

Use a point clientcommand with "play thesound" to play it to the player who enter in the room.
Using this in all your map, you will economise many entities.

Ps: what you write after the play is the directory of the sound like in the ambient_generic.
Example: ambient/rain.wav is displayed in the ambient_generic so you do:

OnStartTouch client,Command,play ambient/rain.wav,0,-1
(If you named the point_clientcommand: client ofc ^^ )

Prosch Apr 11, 2015 @ 1:51pm 
Originally posted by Moltard:
http://css.gamebanana.com/tuts/11780

Use a point clientcommand with "play thesound" to play it to the player who enter in the room.
Using this in all your map, you will economise many entities.

Ps: what you write after the play is the directory of the sound like in the ambient_generic.
Example: ambient/rain.wav is displayed in the ambient_generic so you do:

OnStartTouch client,Command,play ambient/rain.wav,0,-1
(If you named the point_clientcommand: client ofc ^^ )

I'm gonna try this out, thank you veyr much for such quick answer and my brain thanks you ^^
Moltard Apr 11, 2015 @ 1:55pm 
^^ i hope it will work the same in garrys mod. But i dont see any reason it wont ;)

In case it don't, type the command i gave in the tutorial, it should display a list of usable commands, and maybe an alternative to the "play" command.
Last edited by Moltard; Apr 11, 2015 @ 2:36pm
Wazanator Apr 11, 2015 @ 2:09pm 
Ambient_generics are broken in Gmod right now, here's the workaround: http://facepunch.com/showthread.php?t=1457268
Mystic Monkey Feb 1, 2017 @ 9:59am 
Sorry for bumping this thread. I did had a related issue but the matter is resolved now.
Last edited by Mystic Monkey; Feb 1, 2017 @ 1:05pm
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Apr 11, 2015 @ 1:26pm
Posts: 5