(07-22-2011, 02:06 AM)Juby Wrote: (07-21-2011, 08:32 PM)JoeBradleyUK Wrote: How are where do I create .flash files? And can someone explain the file to me?
Thanks in advance.
First, make a .txt file and change it's extenstion to .flash. (Example: Daflash.flash)Then, open it with any text editor, I find notepad to be a good one to use. I am just going to breakdown what the stuff below means.
<Flashback>
<Voices>
<Voice VoiceSound="flashbacks/Narration_01.ogg" EffectSound="Ambience.ogg" TextCat="Flashbacks" TextEntry="Sample_01" />
</Voices>
</Flashback>
VoiceSound is the voice that talks in the flashback, the sound is found in the folder lang/eng/voices/flashbacks.
EffectSound is the sound file that will play in the background, think of like chains rattling or footsteps.
TextCat is the category your subtitles will be in.
TextEntry is the subtitles shown.
Remember you can have multiple of these <Voice/> lines like shown in one of the real Amnesia flashbacks; they will play in order with no pauses in between I believe. The .flash file is to be saved in the "flashbacks" folder, which you will have to create inside your custom story and you also need to create the lang/eng/voices/flashbacks folders.
Then, you need to have a flashback area in your .map file that plays the .flash file.
<Flashback>
<Voices>
<Voice VoiceSound="flashbacks/CH02L15_GirlEscapebs_01.ogg" EffectSound="fb_sfx_15_girl_hole.ogg" TextCat="" TextEntry="" />
<Voice VoiceSound="flashbacks/CH02L15_GirlEscape_01.ogg" EffectSound="" TextCat="Flashbacks" TextEntry="CH02L15_GirlEscape_01" />
<Voice VoiceSound="flashbacks/CH02L15_GirlEscape_02.ogg" EffectSound="" TextCat="Flashbacks" TextEntry="CH02L15_GirlEscape_02" />
<Voice VoiceSound="flashbacks/CH02L15_GirlEscape_03.ogg" EffectSound="" TextCat="Flashbacks" TextEntry="CH02L15_GirlEscape_03" />
<Voice VoiceSound="flashbacks/CH02L15_GirlEscape_04.ogg" EffectSound="" TextCat="Flashbacks" TextEntry="CH02L15_GirlEscape_04" />
<Voice VoiceSound="flashbacks/CH02L15_GirlEscape_05.ogg" EffectSound="" TextCat="Flashbacks" TextEntry="CH02L15_GirlEscape_05" />
<Voice VoiceSound="flashbacks/CH02L15_GirlEscape_06.ogg" EffectSound="" TextCat="Flashbacks" TextEntry="CH02L15_GirlEscape_06" />
<Voice VoiceSound="flashbacks/CH02L15_GirlEscapeas_06.ogg" EffectSound="fb_sfx_15_girl_hole.ogg" TextCat="" TextEntry="" />
</Voices>
</Flashback>
P.S sorry if I'm not a good teacher, because I'm really not :/
Ok, I understood it well, the only thing i don't understand is the Textcat and Entry thing, is that in the lang file? Like:
<CATEGORY Name="Journal">
<Entry Name="Diary_ndiaryone_Name1">Note To Self</Entry>
<Entry Name="Diary_ndiaryone_Text1">[voice Diary_NoteToSelf_01.ogg][br] Hello Nathaniel, [br][br]At the moment you're most likely reading this full of sweat and fear.[br]You cannot remember what you are doing here, which is a good thing, as it will only make you stronger. [br]At the moment, all you ever need to know is that you have to get out of here, anyway you can. [br]Also, there is a plague broken out in the castle, and you are the last known survivor, but there may be more. [br]One last thing, there are these...things. These monsterous creatures of the dark, lurking in the shadows. [br] [br] Your former self, [br] [br]Nathaniel. </Entry>
Kinda like that style ^^^^^?