Frictional Games Forum (read-only)
.snt n00b - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: .snt n00b (/thread-24064.html)



.snt n00b - Froge - 12-08-2013

What's the relationship between a .snt and its related .ogg files?

For example, in the amnesia "sounds" folder, scare_male_terrified.snt has 5 related scare_male_terrified(1-5).ogg sounds.

Are the .oggs necessary at all when you want to put scare_male_terrified.snt in the game?


RE: .snt n00b - RaideX - 12-08-2013

as far is i've understood it the .snt file is like the option file for the according .ogg file(s).

So you can for instance setup ONE .snt file to randomly play different .ogg files.
That's why sometimes, there is more than one .snt file (soundname_1-9.snt) to be able to pick one out of the random playing ones while still keeping the .snt files that play the random sounds.

Not sure if you've got the point here, just hammering on the keyboard trying to get to say something xD


RE: .snt n00b - ExpectedIdentifier - 12-08-2013

A .snt file tells the engine how to play a sound (loudness, min and max distance, loop etc), It's basically a wrapper for the actual sound file (.ogg). A .snt file can control more than one sound, if you have more than one sound set to a .snt file and try to play it, the engine will pick one of them at random; e.g, step_run_dirt.snt contains step_run_dirt1.ogg - step_run_dirt5.ogg.