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
Voice in amnesia
Acies Offline
Posting Freak

Posts: 1,643
Threads: 60
Joined: Feb 2011
Reputation: 73
#12
RE: Voice in amnesia

Okay. Here is the steps for creating a localized sound in amnesia:
1. Record your sound
2. When rendering it; Make sure you render it in mono and not stereo (ogg. file of course). If it's a stereo sound it cannot be played at a specific point.
3. place the .ogg file in custom_stories/yourstory/sounds
4. create an .snt file for that sound (an .snt is a text-file which points to your soundfile)
here's an example:
Spoiler below!

<SOUNDENTITY>
<SOUNDS>
<Main>
<Sound File="Alexandria_Hush" />
</Main>
</SOUNDS>
<PROPERTIES Volume="0.5" MinDistance="12" MaxDistance="50" Random="1" Interval="0" FadeEnd="False" FadeStart="False" Stream="False" Loop="False" Use3D="True" Blockable="False" BlockVolumeMul="0.7" Priority="0" />
</SOUNDENTITY>

Notice that when pointing to the sound:
<Sound File="Alexandria_Hush" />

No extension should be included.
In order (as I have understood it):
1. The volume
2. The distance at which the volume starts fading
3. The distance at which your hear nothing

Place the .snt file in your sound folder. Then play it using:
PlaySoundAtEntity(string& asSoundName, string& asSoundFile, string& asEntity, float afFadeTime, bool abSaveSound);

If you want subtitles use:
AddEffectVoice(string& asVoiceFile, string& asEffectFile, string& asTextCat, string& asTextEntry,
bool abUsePosition, string& asPosEntity, float afMinDistance, float afMaxDistance);

[Image: mZiYnxe.png]


(This post was last modified: 10-01-2011, 03:03 PM by Acies.)
10-01-2011, 03:01 PM
Find


Messages In This Thread
Voice in amnesia - by Gamemakingdude - 10-01-2011, 05:40 AM
RE: Voice in amnesia - by Tanshaydar - 10-01-2011, 05:55 AM
RE: Voice in amnesia - by Gamemakingdude - 10-01-2011, 06:01 AM
RE: Voice in amnesia - by DarkSnowman - 10-01-2011, 06:11 AM
RE: Voice in amnesia - by Gamemakingdude - 10-01-2011, 06:19 AM
RE: Voice in amnesia - by DarkSnowman - 10-01-2011, 06:22 AM
RE: Voice in amnesia - by Obliviator27 - 10-01-2011, 06:23 AM
RE: Voice in amnesia - by Gamemakingdude - 10-01-2011, 06:24 AM
RE: Voice in amnesia - by Your Computer - 10-01-2011, 07:47 AM
RE: Voice in amnesia - by Gamemakingdude - 10-01-2011, 08:37 AM
RE: Voice in amnesia - by Gamemakingdude - 10-01-2011, 12:33 PM
RE: Voice in amnesia - by Acies - 10-01-2011, 03:01 PM



Users browsing this thread: 1 Guest(s)