Frictional Games Forum (read-only)

Full Version: Subtitles?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello peoples.
I am making a custom story and how do you add subtitles - not messages, subtitles - eg when you have a flashback in the main game.
There are TextCat="" and TextEntry="" in flashback files, that determine what text in your LANG file will be used for that flashback event. Example:

Code:
<CATEGORY Name="FlashbackStuff">
<Entry Name="ThisEntry">Subtitles, yeah</Entry>
</CATEGORY>

to display that, have

Code:
<Flashback>
    <Voices>
        <Voice VoiceSound="flashbacks/flashback_whatever.ogg" EffectSound="" TextCat="FlashbackStuff" TextEntry="ThisEntry" />
    </Voices>
</Flashback>

In your flashback's .FLASH file.