Getting Ambient Sounds to Work

Post » Wed Nov 07, 2012 2:24 pm

The only sound files I can get to work are:

1. Ones set to Loop. There are many ambient sounds that point to a directory of wav files and are not set to loop. I can't hear any of them in-game. If I check the Loop button they work, but I can't get them to play randomly and/or at random locations.

2. Use PlaySound[3D] in a script. I have written scripts to play a sound once or to play one randomly every 2-12 seconds when the player is within a certain distance. In these cases, I must ensure that one sound I play is done before doing the next, or it won't play.

So, tonight I am trying to get the AMBRBirdsGeneric01 to work. It points to a directory with quite a few wav files for various birds. It is not set to Loop. I tried it and can't hear anything in-game again. I set it to Loop, and it picks one of the wav files and plays it repeatedly, way too fast and monotonous for me. That's the only way I can hear it though.

Is that how it's supposed to be? Do the Play At Random or Random Location options work at all? I can just copy the code from my other quest script to play this one too, but it feels wrong that I have to do this.

Am I missing something? THanks.
User avatar
Jon O
 
Posts: 3270
Joined: Wed Nov 28, 2007 9:48 pm

Return to IV - Oblivion