Classic view?

Discussion in 'Mapping Questions & Discussion' started by IRWhiteGuy, Oct 6, 2014.

  1. IRWhiteGuy

    IRWhiteGuy L1: Registered

    Messages:
    8
    Positive Ratings:
    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.
     
  2. Crash

    aa Crash func_nerd

    Messages:
    3,182
    Positive Ratings:
    4,879
  3. IRWhiteGuy

    IRWhiteGuy L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    wav, I have an mp3 version though.
     
  4. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    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.
     
  5. IRWhiteGuy

    IRWhiteGuy L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    How would I mute them though?
     
  6. Izotope

    aa Izotope Never releases maps

    Messages:
    620
    Positive Ratings:
    585
    What.
    Works just fine for me :eek:
     
  7. Seba

    aa Seba DR. BIG FUCKER, PHD

    Messages:
    2,363
    Positive Ratings:
    2,365
    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
     
    • Thanks Thanks x 1
  8. xzzy

    aa xzzy

    Messages:
    815
    Positive Ratings:
    393
    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
     
  9. IRWhiteGuy

    IRWhiteGuy L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    I've had mine checked.

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

    IRWhiteGuy L1: Registered

    Messages:
    8
    Positive Ratings:
    0
    This worked just fine, I actually wanted it to be played once anyways, thanks alot.