Frictional Games Forum (read-only)
Note/Journal 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: Note/Journal Help!! (/thread-7553.html)



Note/Journal Help!! - Fictionult - 04-21-2011

Okay so anyway I tried following a tutorial on a old thread a while ago.
It didn't help at all really and messed a few things up. I fixed the problems it messed up but I really need some help.

Here is my .lang file right now.

"<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">text here</Entry>
</CATEGORY>
</LANGUAGE>"

Can someone tell me what to add to the .lang?
I already have a note placed on the floor of my map.
Please Help!!


RE: Note/Journal Help!! - Kyle - 04-22-2011

Alright, if you want to add to your .lang file for a note, first you need to go in the editor and click on the note you placed in the game. Go to it's "Entity" column and at the bottom of the things you can add, it will say "NoteText". At that blank next to it, type in whatever you want. For this example, we'll use "Note01".

Now go to your .lang file and make it look like this:
Code:
<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">[insert text here]</Entry>
</CATEGORY>
<CATEGORY Name="Journal">
<Entry Name="Note_Note01_Name">[insert title here]</Entry>
<Entry Name="Note_Note01_Text">[insert text here]</Entry>
</CATEGORY>
</LANGUAGE>

Remember that you can swap out "Note01" and call it whatever you want, for example, having "Note_Note02_Name" and "Note_Note02_Text". You also have to make sure that both text and title match up with the same thing or else when you call for that text for the note, it wouldn't pop up the stuff you wanted for it.

I also want to say that you truely don't need to use "<RESOURCES>" and "</RESOURCES>" unless if you plan to use it, which in this case, you don't need it like I said.