Frictional Games Forum (read-only)

Full Version: PlaySoundAtEntity not working :( (Help Needed!)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
A .ogg is an audio file. It is what you hear.

A .snt is a text file that organizes variables for the sound, such as volume, loop, sound distance, and what list of sounds can be played.
(10-17-2012, 09:43 PM)Statyk Wrote: [ -> ]A .ogg is an audio file. It is what you hear.

A .snt is a text file that organizes variables for the sound, such as volume, loop, sound distance, and what list of sounds can be played.
And what about if I want one specific sound from the .snt? What can I do?
I would create a new sound.
Take the .ogg file you want.
Call it something else, and then take any .snt file, and edit it so it works with the new .ogg file.
Put the 2 files in the same folder with your custom story.
(10-17-2012, 09:57 PM)beecake Wrote: [ -> ]I would create a new sound.
Take the .ogg file you want.
Call it something else, and then take any .snt file, and edit it so it works with the new .ogg file.
Put the 2 files in the same folder with your custom story.
Do I have to specify the folder where the 2 files are in the script?
I'm not quite sure about that... It makes no harm doing it i guess...

Now i've got the exact same question as 4WalledKid...
PlaySoundAtEntity("ThrowUpSound", "16_water_stream_low.snt", "Player", 0, false);

This won't play in my map. The scripts work fine. I get no errors, but this sound won't play. Really driving me nuts, since throwing up without sound is pretty.... boring...
(10-17-2012, 11:22 PM)beecake Wrote: [ -> ]I'm not quite sure about that... It makes no harm doing it i guess...

Now i've got the exact same question as 4WalledKid...
PlaySoundAtEntity("ThrowUpSound", "16_water_stream_low.snt", "Player", 0, false);

This won't play in my map. The scripts work fine. I get no errors, but this sound won't play. Really driving me nuts, since throwing up without sound is pretty.... boring...
1) Be careful, that sound loops.
2) Does anything else in that part of the script work?
Yep anything else works Wink As you can see i am making a "Throw up cutscene".
Thats why i named the sounds, so i could remove it again. It just aint playing at all..

EDIT: I found something... It seems that i don't have the .ogg file... only the .snt..
Pages: 1 2