Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: PlaySoundAtEntity not working :( I need HELP!
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 |
|
4WalledKid
Member
Posts: 107
Threads: 23
Joined: Oct 2012
Reputation:
1
|
RE: PlaySoundAtEntity not working :( I need HELP!
(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?
|
|
10-17-2012, 09:52 PM |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
RE: PlaySoundAtEntity not working :( I need HELP!
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.
Trying is the first step to success.
|
|
10-17-2012, 09:57 PM |
|
4WalledKid
Member
Posts: 107
Threads: 23
Joined: Oct 2012
Reputation:
1
|
RE: PlaySoundAtEntity not working :( I need HELP!
(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?
|
|
10-17-2012, 10:21 PM |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
RE: PlaySoundAtEntity not working :( (Help Needed!)
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...
Trying is the first step to success.
|
|
10-17-2012, 11:22 PM |
|
Statyk
Schrödinger's Mod
Posts: 4,390
Threads: 72
Joined: Sep 2011
Reputation:
241
|
RE: PlaySoundAtEntity not working :( (Help Needed!)
(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?
|
|
10-18-2012, 01:15 AM |
|
FlawlessHappiness
Posting Freak
Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation:
171
|
RE: PlaySoundAtEntity not working :( (Help Needed!)
Yep anything else works 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..
Trying is the first step to success.
|
|
10-18-2012, 09:33 AM |
|
|