Frictional Games Forum (read-only)

Full Version: How do i add Sounds/Voices to my Custom Story
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have been looking around the forums to find tutorials on how to add sounds/voices to my custom story and I have found a bunch but none that have worked for me. I have written the text file like so:


<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="Doctor1.ogg" />
</Main>
</SOUNDS>
<PROPERTIES Volume="5" MinDistance="1" MaxDistance="50" Random="0" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="false" Blockable="False" BlockVolumeMul="0.7" Priority="5" />
</SOUNDENTITY>

What i haven't been able to find is what i save this as and where do i store the .snt and .ogg file for the game to be able to read it?
You save it as a .snt file. Then you make a folder in your CS folder and name it "sounds".
Where do i store the originally made .ogg files?
(03-26-2012, 08:16 PM)Southlaguna Wrote: [ -> ]Where do i store the originally made .ogg files?
Put the .ogg files and .snt files in the same folder "sounds" .
Then when you have a script play the .snt file the .snt file will load the .ogg file.
The whole point in the .snt file is to have the sound edited or for it to play different sounds each time.
I don't know if you made it work but I need to ask how did you make the ogg file? did you actually export it as a .ogg file or you just renamed a .mp3 or something like that?
(03-26-2012, 09:47 PM)SilentStriker Wrote: [ -> ]I don't know if you made it work but I need to ask how did you make the ogg file? did you actually export it as a .ogg file or you just renamed a .mp3 or something like that?
You have to convert it through a audio converter like sonyvegaspro, Audacity thingy, Free audio converter.
I have a problem with this too. I can see in the audio converters that .ogg is there clear as bright day, but what about the .snt files? How do those work?
(03-27-2012, 06:18 PM)Kreekakon Wrote: [ -> ]I have a problem with this too. I can see in the audio converters that .ogg is there clear as bright day, but what about the .snt files? How do those work?
.snt is a notepad file.

They can do various changes without an editor, just text.

Instructions.
1.) Make .ogg file
2.) Create a new notepad file
3.) Rename the Notepad file to this
"NameOfOggSoundFile".snt
4.) open it and type following
====

<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="Enter you ogg file to play here.ogg" />
</Main>
</SOUNDS>
<PROPERTIES Volume="5" MinDistance="1" MaxDistance="50" Random="0" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="false" Blockable="False" BlockVolumeMul="0.7" Priority="5" />
</SOUNDENTITY>
=====
5.) save
6.) Enjoy Tongue

ALL CREDITS GO TO flamez3 FOR THIS
Alright thanks guys I will test this out in the near future for I am still in the mapping stage of my second and final demo before full release.
I've got the jist of what is being explained here. I know that for custom made sounds/voices/music, they need to go through an audio converter and so on. However, do I need to do the same thing for the original Amnesia sounds/music?
Pages: 1 2