Soundscape Not Working

Discussion in 'Mapping Questions & Discussion' started by CyanideNoodles, Apr 3, 2016.

  1. CyanideNoodles

    CyanideNoodles L2: Junior Member

    Messages:
    70
    Positive Ratings:
    6
    Having trouble with my soundscapes not working correctly. I have my env_soundscape_triggerable and my trigger_soundscape set up as so:

    [​IMG]

    [​IMG]

    My soundscape text, which is saved in the scripts folder and has the same name as my map looks like this:

    I can't figure out why its working. When I use soundscape_debug, the soundscapes are being triggered but the music does not play. I copied and pasted the script text and the soundscapes from my previous map that worked, I just changed the file name and the music.
     
  2. Izotope

    aa Izotope Never releases maps

    Messages:
    626
    Positive Ratings:
    599
    Make sure your file's sample rate is 44100 Hz, otherwise it won't work.
    Now I've never used the triggerable soundscapes before, but I think you need to stay within the trigger volume for it to play,
    or maybe you need to increase the soundscape radius, too.
    There's certainly no harm in trying!
     
  3. Dr. Orange

    Dr. Orange L6: Sharp Member

    Messages:
    369
    Positive Ratings:
    278
    It appears as if you have multiple env_soundscape_triggerables with the same name. You only need one env_soundscape_triggerable for a particular soundscape, as multiple trigger_soundscapes can use the same env_soundscape_triggerable.
     
  4. Nicky

    aa Nicky Lets try something new!

    Messages:
    912
    Positive Ratings:
    1,699
    Also make the radius for the env_soundscape_triggerable 0 so that it only triggers from the trigger brushes.
     
  5. CyanideNoodles

    CyanideNoodles L2: Junior Member

    Messages:
    70
    Positive Ratings:
    6
    None of the suggestions seemed to work. When I type "play bgm_birds" the sound plays. I am so lost on how this isn't working at all.
     
  6. Dr. Orange

    Dr. Orange L6: Sharp Member

    Messages:
    369
    Positive Ratings:
    278
    Might also be becuase you named the trigger_soundscape the same as the env_soundscape_triggerable, making it loop back to itself and not working. Try to name them differently from each other.
     
  7. CyanideNoodles

    CyanideNoodles L2: Junior Member

    Messages:
    70
    Positive Ratings:
    6
    I've had them work with it like that. All the stuff I have in my map, I copied it from another map that had the soundscapes working.
     
  8. CyanideNoodles

    CyanideNoodles L2: Junior Member

    Messages:
    70
    Positive Ratings:
    6
    I really don't know what to do, I've spent hours working on trying to fix it, even talked to way more experienced people..
     
  9. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,072
    Positive Ratings:
    836
    You don't need to name your trigger_soundscape. Try removing its targetname.

    Make sure you don't have any other env_soundscape visible to/touching (-1 radius/finite radius) the player.

    Check your map is definitely compiling with your changes. If you have a discrete leak or other problem that is preventing the BSP from being overwritten, you might be testing the same flawed BSP over and over.
     
  10. CyanideNoodles

    CyanideNoodles L2: Junior Member

    Messages:
    70
    Positive Ratings:
    6
    My map wasn't the issue. I have a guy who does really well with compressing songs without really any noticeable quality loss who I've used for years for my maps. The song he gave me wasn't working. I wanted to use an old song he did for me as well for ambient sounds and it wasn't working which is why I thought it was my mapping..or scripts. Well then I tried different songs he's done before and they were fine. He changed the song to 320kps and BAM. Everything worked. Including the old song I was using for ambient. Honestly the reason why the old song didn't work because of the new one confuses me but oh well.
     
  11. worMatty

    aa worMatty Repacking Evangelist

    Messages:
    1,072
    Positive Ratings:
    836
    Interesting. Would you be willing to upload the old and new sounds so we can have a look at them and gain better understanding of the game's limits and capabilities?