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
Converting to .snt
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#7
RE: Converting to .snt

(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. Tongue

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. Smile


Edit: Crap, somebody always has to simplify it, making mine a waste of time. Sad

(This post was last modified: 08-15-2011, 03:20 PM by Kyle.)
08-15-2011, 03:19 PM
Find


Messages In This Thread
Converting to .snt - by ObsidianLegion - 08-15-2011, 03:03 PM
RE: Converting to .snt - by Your Computer - 08-15-2011, 03:06 PM
RE: Converting to .snt - by ObsidianLegion - 08-15-2011, 03:07 PM
RE: Converting to .snt - by Kyle - 08-15-2011, 03:19 PM
RE: Converting to .snt - by ObsidianLegion - 08-15-2011, 05:14 PM
RE: Converting to .snt - by Tanshaydar - 08-15-2011, 03:07 PM
RE: Converting to .snt - by Tanshaydar - 08-15-2011, 03:10 PM
RE: Converting to .snt - by ObsidianLegion - 08-15-2011, 03:18 PM
RE: Converting to .snt - by MrDosht - 10-21-2012, 06:42 PM



Users browsing this thread: 1 Guest(s)