Frictional Games Forum (read-only)
How do I trigger sounds & How do I make my own custom Flashbacks? - 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: How do I trigger sounds & How do I make my own custom Flashbacks? (/thread-17558.html)



How do I trigger sounds & How do I make my own custom Flashbacks? - Melvin - 08-07-2012

How do I trigger custom sounds?

And how do I make my own custom flashbacks?

Thanks in advance, SmokeMelvin.


RE: How do I trigger sounds & How do I make my own custom Flashbacks? - Traggey - 08-07-2012

This belongs in development support, moved.

Please try to post your threads in the correct places in the future.


RE: How do I trigger sounds & How do I make my own custom Flashbacks? - ApeCake - 08-07-2012

For the custom sound, you should google it. Here you go.
http://www.frictionalgames.com/forum/thread-7395.html
Just use PlayGuiSound or PlaySoundAtEntity to test it.

I'm not sure about the flashback, maybe look at the original game files? I'm sure the level editor and the .hps is all you need.


RE: How do I trigger sounds & How do I make my own custom Flashbacks? - i3670 - 08-07-2012

There's quite alot of text when it comes to the voices and subtitles.

You'll need the subtitles in your extra_english.lang file like this:

<CATEGORY Name = "Flashbacks">
<Entry Name="Flashback1_01">Text Here</Entry>
</CATEGORY>

Then you will need your sound files in the lang/eng/voices/flashbacks/NAME-OF-FILE. You can add sound effects with e.g. Audacity. There's a thread on the forum on how to change it.

When all that is done you can make your .flash file. Which can look like this:

<Flashback>
<Voices>
<Voice VoiceSound="flashbacks/F01_01bs.ogg" EffectSound="fb_sfx_03_archivesMODIFIED.ogg" TextCat="" TextEntry="" />
<Voice VoiceSound="flashbacks/F01_01.ogg" EffectSound="" TextCat="Flashbacks" TextEntry="Flashback1_01" />
<Voice VoiceSound="flashbacks/F01_02as.ogg" EffectSound="" TextCat="" TextEntry="" />
</Voices>
</Flashback>

You will haft to time it so that the sounds and subtitles don't start when the screen turns white. That's what the F01_01bs and F01_02as are for.

I hope I've explained it well enough. Any questions just ask.