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 problem
Shives Offline
Member

Posts: 154
Threads: 41
Joined: Jan 2012
Reputation: 1
#1
Custom sound problem

I have got a problem with custom sounds
I've created a sound folder in the folder of the custom story
In this sound folder i've created a ogg file with the name Ghost.ogg. In the script I've written
PlaySoundAtEntity("", "Ghost.ogg", "Player_1",0,false);
But in the game nothing happens. Whith other sounds from the game it works.

My Custom Story
http://www.frictionalgames.com/forum/thread-12587.html

Sorry for bad English


01-24-2012, 03:04 PM
Find
trollox Offline
Member

Posts: 215
Threads: 16
Joined: Dec 2011
Reputation: 3
#2
RE: Custom sound problem

Have You created a .snt file inside of the sound folder where the .ogg file should be saved?
01-24-2012, 03:24 PM
Find
Shives Offline
Member

Posts: 154
Threads: 41
Joined: Jan 2012
Reputation: 1
#3
RE: Custom sound problem

(01-24-2012, 03:24 PM)trollox Wrote: Have You created a .snt file inside of the sound folder where the .ogg file should be saved?
Now i have tried it but it doesn't work too.
Maybe i transformed the ogg file to snt wrong. I just changed the name
of the file from Ghost.ogg to Ghost.snt

My Custom Story
http://www.frictionalgames.com/forum/thread-12587.html

Sorry for bad English


01-25-2012, 01:03 PM
Find
flamez3 Offline
Posting Freak

Posts: 1,281
Threads: 48
Joined: Apr 2011
Reputation: 57
#4
RE: Custom sound problem

Make a text document. Then change it to .txt to .snt. Now add this:


Quote:<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="Ghost.ogg" />
</Main>
</SOUNDS>
<PROPERTIES Volume="1" MinDistance="12" MaxDistance="50" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="True" Blockable="False" BlockVolumeMul="0.7" Priority="0" />
</SOUNDENTITY>
Make sure they are the same name.

01-25-2012, 01:23 PM
Find




Users browsing this thread: 1 Guest(s)