In Divinity’s Reach, any time I’m at the storage and guild storage building, the ambient audio from NPC’s keeps playing the same sound over and over again.
For example:
I will hear a woman yawn/moan like she is stretching her arms.
I will then hear the exact same sound a few seconds later, with a minor randomization in pitch variation (she will moan slightly higher/lower in tone). Then again, and again…and again.
Another example:
I will hear a woman say “Nah. Uh-uh.” as if she’s disagreeing with someone.
I will then hear the same effect a few seconds later, again with minor variation in pitch.
This happens consistently. As in it will always happen 4 times for every sound.
As a modder for other games, I know exactly what’s causing this:
There are multiple placed instances of an ambient sound object. That sound object has a list of sounds which it will play at intervals determined by an integer value and an attached variation range (play a sound every ten seconds, with up to two seconds plus or minus to randomize when it plays). There is also a pitch variation range for each of those sounds (play this sound file, with a pitch of up to -2 to +2 in octave).
But what is MISSING from these placed sound objects is an instruction set to randomize which sound file gets played at each interval. They always play their lists in chronological order with no randomization. In other words, when the first placed object gets on the “lady yawning” sound, the 2nd, 3rd, 4th, and 5th are also all on that same sound file. Not only is this annoying spam, but when the sound file mentioned above is in the list, it sounds like there is an orgy going on at the guild bank.
Solution: For each of the placed sound objects, add a randomization routine to the beginning of each interval. If there are 10 sound files in the sound list, have the computer roll a random integer value between 1 and 10. Then build an if-statement block telling it to set the variable for the sound played to match a sound file in the list according to the number which corresponds to it.
Now. Get down to the programming dungeon and tell those bloody peasants to get crackin’ }:-D
Not affiliated with ArenaNet or NCSOFT. No support is provided.
All assets, page layout, visual style belong to ArenaNet and are used solely to replicate the original design and preserve the original look and feel.
Contact /u/e-scrape-artist on reddit if you encounter a bug.