Frictional Games Forum (read-only)
subtitles help - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: subtitles help (/thread-7023.html)



subtitles help - Danny Boy - 03-23-2011

how do i make the subtitles thingy? like wend i try to open a locked door and says something like "its locked... i must find a key"?


RE: subtitles help - Viperdream - 03-23-2011

Code:
SetMessage("Messages", "Entry1", 5.0f); //1st is the Category, 2nd is the subcategory you want and the 3th one is how long the message will be displayed

You'll have to create this in the .lang file
Code:
<CATEGORY Name="Messages">
<Entry Name="Entry1">I am awesomesauce!</Entry>
</CATEGORY>



RE: subtitles help - Danny Boy - 03-23-2011

thank you ^-^


RE: subtitles help - stonecutter - 03-23-2011

but the message will appear in the middle of the screen ?


RE: subtitles help - Nye - 03-23-2011

(03-23-2011, 08:41 PM)stonecutter Wrote: but the message will appear in the middle of the screen ?

You can use [br] in the language file to set a line break (new line)

So, you can always put ...>[br][br][br]Now it's lower down!</entry>