Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom Sound Issues
triadtimes Offline
Senior Member

Posts: 508
Threads: 16
Joined: Jan 2011
Reputation: 21
#1
Custom Sound Issues

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.

(This post was last modified: 12-29-2011, 05:06 AM by triadtimes.)
12-05-2011, 03:07 AM
Find
Measuring Offline
Member

Posts: 130
Threads: 16
Joined: Dec 2011
Reputation: 15
#2
RE: Custom Sound Issues

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

The Facility
Tenebris Lake
Killings In Altstadt
12-29-2011, 03:50 AM
Find
triadtimes Offline
Senior Member

Posts: 508
Threads: 16
Joined: Jan 2011
Reputation: 21
#3
RE: Custom Sound Issues

(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.

(This post was last modified: 12-29-2011, 05:07 AM by triadtimes.)
12-29-2011, 05:06 AM
Find
Measuring Offline
Member

Posts: 130
Threads: 16
Joined: Dec 2011
Reputation: 15
#4
RE: Custom Sound Issues

(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.


The Facility
Tenebris Lake
Killings In Altstadt
12-29-2011, 02:33 PM
Find
triadtimes Offline
Senior Member

Posts: 508
Threads: 16
Joined: Jan 2011
Reputation: 21
#5
RE: Custom Sound Issues

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).

12-29-2011, 05:03 PM
Find
Measuring Offline
Member

Posts: 130
Threads: 16
Joined: Dec 2011
Reputation: 15
#6
RE: Custom Sound Issues

(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...

The Facility
Tenebris Lake
Killings In Altstadt
12-29-2011, 08:44 PM
Find
Statyk Offline
Schrödinger's Mod

Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation: 241
#7
RE: Custom Sound Issues

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


Neermind, you solved it =P
(This post was last modified: 12-29-2011, 08:52 PM by Statyk.)
12-29-2011, 08:52 PM
Find




Users browsing this thread: 1 Guest(s)