Classic view?

IRWhiteGuy

L1: Registered
Oct 2, 2014
8
0
I've been having a problem with stopping sounds that started playing, I googled around and found this, not exactly sure how to do it properly though.
Any help is appreciated, thanks.
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
That link is for fixing the ambient_generic bug when making your own mod, when you have access to the game's source code (aka not tf2). Ambient_generics can't be stopped once they've been started; that's been in game for a long time (maybe since release). The only way you can 'turn them off' is to mute them.
 

IRWhiteGuy

L1: Registered
Oct 2, 2014
8
0
That link is for fixing the ambient_generic bug when making your own mod, when you have access to the game's source code (aka not tf2). Ambient_generics can't be stopped once they've been started; that's been in game for a long time (maybe since release). The only way you can 'turn them off' is to mute them.

How would I mute them though?
 

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
Volume 0 input

They might not be able to be started once started and stopped; I don't remember the problem exactly but it's dumb and it sucks
 

xzzy

aa
Jan 30, 2010
815
531
Volume 0 input

They might not be able to be started once started and stopped; I don't remember the problem exactly but it's dumb and it sucks

I think most of it comes from confusion about what the "is NOT looped" checkbox in the ambient_generic flags does. That flag has some major influence on how Source deals with sound files and those effects are poorly explained.

Basically the checkbox should be left turned on for all normal wav or mp3 files and when you do that, things generally work as expected. But if you turn it off (and if you google around, a lot of people suggest this) things start to go haywire.

Basically the "is NOT looped" box should ONLY be cleared if you're using a wav file that has looping markers encoded in it. For example:

https://developer.valvesoftware.com/wiki/Looping_a_Sound
 

IRWhiteGuy

L1: Registered
Oct 2, 2014
8
0
I think most of it comes from confusion about what the "is NOT looped" checkbox in the ambient_generic flags does. That flag has some major influence on how Source deals with sound files and those effects are poorly explained.

Basically the checkbox should be left turned on for all normal wav or mp3 files and when you do that, things generally work as expected. But if you turn it off (and if you google around, a lot of people suggest this) things start to go haywire.

Basically the "is NOT looped" box should ONLY be cleared if you're using a wav file that has looping markers encoded in it. For example:

https://developer.valvesoftware.com/wiki/Looping_a_Sound

I've had mine checked.

Well I will try as many suggestions as possible and let you guys know. Thanks.
 

IRWhiteGuy

L1: Registered
Oct 2, 2014
8
0
Volume 0 input

They might not be able to be started once started and stopped; I don't remember the problem exactly but it's dumb and it sucks

This worked just fine, I actually wanted it to be played once anyways, thanks alot.