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
Sound Help
phatdoggi Offline
Junior Member

Posts: 17
Threads: 4
Joined: Jun 2013
Reputation: 0
#1
Sound Help

Trying to add in one of my sounds, tick.ogg. I made a .snt file for it as well, here's the code:

<SOUNDENTITY>
<SOUNDS>
   <Main>
      <Sound File="tick.ogg" />
       </Main>
   </SOUNDS>
   <PROPERTIES Volume="5" MinDistance="1" MaxDistance="10" Random="1"
   Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="true"
   Use3D="true" Blockable="False" BlockVolumeMul="0.7" Priority="0" />
</SOUNDENTITY>

Yet every time I start the map, it crashes with an error.
I'm trying to add the sound in the actual map file, not the script.
(I've tried the script, but it crashes with same error)
Here's the stack trace:

0023:001B3588 libvorbisfile.dll, ov_read()+0456 byte(s)
0023:005EF91E Amnesia.exe

"Just drink it. How bad could it be?"
Madness - http://www.moddb.com/mods/phatdoggi-madness
(This post was last modified: 06-04-2013, 12:28 AM by phatdoggi.)
06-03-2013, 09:13 PM
Find
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#2
RE: Sound Help

You don't need the .ogg in the name. I don't know if that's the error, but it's definitely not right.
06-03-2013, 09:14 PM
Find
phatdoggi Offline
Junior Member

Posts: 17
Threads: 4
Joined: Jun 2013
Reputation: 0
#3
RE: Sound Help

(06-03-2013, 09:14 PM)Smoke Wrote: You don't need the .ogg in the name. I don't know if that's the error, but it's definitely not right.

No, the name isn't the error. I use other custom sounds with the same naming scheme and they still work.

"Just drink it. How bad could it be?"
Madness - http://www.moddb.com/mods/phatdoggi-madness
06-03-2013, 09:20 PM
Find
Bridge Offline
Posting Freak

Posts: 1,971
Threads: 25
Joined: May 2012
Reputation: 128
#4
RE: Sound Help

Should <Sound> and <PROPERTIES> be closed with a '/>' (as opposed to maybe <Sound></Sound> with nothing in between the tags)? Alternatively, if this is case-sensitive perhaps <Sound> should be <SOUND>.
(This post was last modified: 06-03-2013, 09:33 PM by Bridge.)
06-03-2013, 09:33 PM
Find
phatdoggi Offline
Junior Member

Posts: 17
Threads: 4
Joined: Jun 2013
Reputation: 0
#5
RE: Sound Help

(06-03-2013, 09:33 PM)Bridge Wrote: Should <Sound> and <PROPERTIES> be closed with a '/>' (as opposed to maybe <Sound></Sound> with nothing in between the tags)? Alternatively, if this is case-sensitive perhaps <Sound> should be <SOUND>.

Nope. Same format as TDD. Plus my other sounds with the same format work fine.

"Just drink it. How bad could it be?"
Madness - http://www.moddb.com/mods/phatdoggi-madness
06-03-2013, 09:40 PM
Find
OriginalUsername Offline
Posting Freak

Posts: 896
Threads: 42
Joined: Feb 2013
Reputation: 34
#6
RE: Sound Help

Easiest way is just to copy any .snt file from the game, then just enter your own name. If there's still an error after that, it might not be your sound file.
06-03-2013, 10:19 PM
Find
phatdoggi Offline
Junior Member

Posts: 17
Threads: 4
Joined: Jun 2013
Reputation: 0
#7
RE: Sound Help

(06-03-2013, 10:19 PM)Smoke Wrote: Easiest way is just to copy any .snt file from the game, then just enter your own name. If there's still an error after that, it might not be your sound file.

Works! I don't know why it didn't before...

"Just drink it. How bad could it be?"
Madness - http://www.moddb.com/mods/phatdoggi-madness
06-04-2013, 12:28 AM
Find




Users browsing this thread: 1 Guest(s)