Frictional Games Forum (read-only)
Custom Sound Issues - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: Custom Sound Issues (/thread-11682.html)



Custom Sound Issues - triadtimes - 12-05-2011

So, I have a custom sound file for a custom story labeled staticnoise.ogg and I have another file labeled staticnoise.snt which looks like this when opened in N++
This is all inside a new folder in the "sounds" folder of Amnesia.

Now my problem is that when I want to add the sound using "PlaySoundAtEntity("", "staticnoise", "soundarea", 0, false);" it does not play, the script triggers and everything else works but I don't hear a sound. Also, I have tried adding the sound straight into the map using the sound object (the thing that looks like a speaker and plays sound/music when in a certain area around it), it still doesn't work.

At first I thought the volume was too low, but it doesn't seem to be the case. Any help would be appreciated. Thanks.



RE: Custom Sound Issues - Measuring - 12-29-2011

I'm having the exact same problem. What did you do to solve it?



RE: Custom Sound Issues - triadtimes - 12-29-2011

(12-29-2011, 03:50 AM)Measuring Wrote: I'm having the exact same problem. What did you do to solve it?
Well what happened was that I needed to Reload the map (not quick reload) or just restart Amnesia altogether. Not sure about yours but give it a shot.


RE: Custom Sound Issues - Measuring - 12-29-2011

(12-29-2011, 05:06 AM)triadtimes Wrote: Nope, that wont work. Tried that too. Any other ideas? anyone? One of my custom sound plays but only that one. And yes all of them are ogg and have the .snt too.
(12-29-2011, 03:50 AM)Measuring Wrote: I'm having the exact same problem. What did you do to solve it?
Well what happened was that I needed to Reload the map (not quick reload) or just restart Amnesia altogether. Not sure about yours but give it a shot.




RE: Custom Sound Issues - triadtimes - 12-29-2011

If just one of them plays then maybe you did some simple mistake with the second one in the .hps, or maybe the .snt is wrong (though I'm sure you've checked those out many times before, it wouldn't hurt to give them another one-over).


RE: Custom Sound Issues - Measuring - 12-29-2011

(12-29-2011, 05:03 PM)triadtimes Wrote: If just one of them plays then maybe you did some simple mistake with the second one in the .hps, or maybe the .snt is wrong (though I'm sure you've checked those out many times before, it wouldn't hurt to give them another one-over).
For some reason the sound wont play when i set it to play at player. But it works on another entity. Wierd...



RE: Custom Sound Issues - Statyk - 12-29-2011

Check the sound's minimum distance in the .snt... Make sure it's at 1


Neermind, you solved it =P