ObsidianLegion
Member
Posts: 173
Threads: 53
Joined: Jun 2011
Reputation:
0
|
RE: Converting to .snt
(08-15-2011, 03:19 PM)Kyle Wrote: (08-15-2011, 03:07 PM)Lolnesia09 Wrote: (08-15-2011, 03:06 PM)Your Computer Wrote: .snt is just a text file. Open it up and see their format.
Thanks but I don't get it :/
Ha, I looked at this thread easily and found out how to use ".snt" extension files and made my own custom sounds that can be used by the PlaySoundAtEntity command function.
So I'll make an example on how to make a ".snt" file. In this example, I'll call the sound "Example.ogg". A sound that has a ".snt" file can be used to edit the original sound, and set up certain properties to it, like a fade in and fade out and looping it for example. Where you would have this "Example.ogg" file, create a text document of some sort that can be opened with something like Notepad++. Name it "Example.snt", and also make sure that extensions are visible or else it would be called "Example.snt.txt" and we don't want that.
Now in "Example.snt", paste this into it:
<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="Example" />
</Main>
</SOUNDS>
<PROPERTIES Volume="1" MinDistance="1" MaxDistance="10" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="True" Loop="True" Use3D="True" Blockable="False" BlockVolumeMul="1" Priority="0" />
</SOUNDENTITY>
You can open any ".snt" file with a text editor and you'll see something like this. You can also have there be multiple ".ogg" files and then have the ".snt" play a random one. You can look at one that uses multiple ".ogg"s in Amnesia's "sounds" folder.
Hope this helps.
Edit: Crap, somebody always has to simplify it, making mine a waste of time.
Haha. You still helped, Kyle
"Good men mean well; they just don't always end up doing well." -Isaac Clarke, Dead Space 2, Chapter 12
|
|
08-15-2011, 05:14 PM |
|