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
Level Editor Help ogg isnt working
dragonshield Offline
Junior Member

Posts: 2
Threads: 1
Joined: Jan 2012
Reputation: 0
#1
ogg isnt working

I made the snt file for my custom sounds but something is wrong.

Only the OGG files I made dont work ingame. When I take an already made one and change the snt file, it works perfectly. Is there a specific format for the OGG?

Also, yes when I say OGG I really mea .ogg
01-23-2012, 02:30 AM
Find
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#2
RE: ogg isnt working

There is no specific format for an ogg file, the chances are that you messed up somewhere in the .snt

Open the .snt up and copy and paste the code here so we can take a look at it.

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
01-23-2012, 02:33 AM
Find
dragonshield Offline
Junior Member

Posts: 2
Threads: 1
Joined: Jan 2012
Reputation: 0
#3
RE: ogg isnt working

the file name of the sound is rain.ogg

<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="rain" />
</Main>
</SOUNDS>
<PROPERTIES Volume="0.7" MinDistance="4" MaxDistance="14" FadeEnd="False" FadeStart="False" Loop="True" Use3D="True" Blockable="False" BlockVolumeMul="0.5" Priority="0" />
</SOUNDENTITY>
01-23-2012, 02:47 AM
Find
Tripication Offline
Member

Posts: 172
Threads: 19
Joined: Dec 2011
Reputation: 6
#4
RE: ogg isnt working

hmm, that looks perfectly fine to me...be sure that in your sript you have

PlaySoundAtEntity("Rain", "rain.snt", "ENTITY YOU WANT SOUND TO PLAY AT", 0, true);

If it still doesnt work, zip your .snt and .ogg file up, and put it in here http://www.mediafire.com/
Then give us the link and we'll see if we can help.

[Image: speedart__2___yoshimitsu_by_kamofudge-d4yo6kk.png]
01-23-2012, 02:52 AM
Find




Users browsing this thread: 2 Guest(s)