Frictional Games Forum (read-only)

Full Version: How to make a .snt extension?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey Everyone,

I have got a .ogg extension file of a voice which I'm going to use in the Story but I want to make the voice come from the person himself cause else it sounds weird. And the only way to do that is the command: PlaySoundAtEntity but you can only do it with a .snt extension so how to do it?

the .ogg file name= MathewPrison1.ogg
and this is what I've got till now. But I don't know if that'll be good. Cause I can't play it in the level editor.
Quote:<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="MathewPrison1" />
</Main>
</SOUNDS>
<PROPERTIES Volume="1" MinDistance="1" MaxDistance="10" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="True" Blockable="True" BlockVolumeMul="0.5" Priority="0" />
</SOUNDENTITY>
Please explain me ASAP.

Kind Regards,
Ferry Adams
I thought
PlayGuiSound(string& asSoundFile, float afVolume);
sounds the same way as play sound at entity when using "Player"
Man that is not what I'm asking. I am asking how to make a .snt extension. :S
Save as, make the extension snt instead of txt.
A .SNT is just a small text document containing information about the .ogg you want to play.
Show file extensions, rename - remove the .txt or whatever you have and replace it with .snt.
It is .snt allready and i've fixed it allready myself Wink