Frictional Games Forum (read-only)
Getting notes/diaries to appear in the correct order [RESOLVED] - 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: Getting notes/diaries to appear in the correct order [RESOLVED] (/thread-8287.html)



Getting notes/diaries to appear in the correct order [RESOLVED] - Kraggdog - 05-27-2011

Alright so I'm now putting text into the game and I have a question.

Diaries/notes.. whats the difference?

More importantly.. how do I get them to appear in chronological order... so I don't have the player accidently missing a note and skipping part of the story.. and therefore not making any sense when they go back to the previous note.

Cheeeeeers.



RE: Getting notes/diaries to appear in the correct order - triadtimes - 05-28-2011

Diaries are the ones that go in a chronological order and MUST have audio with them.
Notes are simply notes, they do not need audio and they do not have any order.

To get your diaries to be in order you have to do the following:
1. In the editor under the Entity tab under DiaryText name your diary something unique
2. In the .lang file under the category Journal put the following:

<Entry Name = "Diary_labdiary_Name1">Diary Title (1/3)</Entry>
<Entry Name = "Diary_labdiary_Text1">Diary Text</Entry>

The important things are bolded

The numbers after the Name and Text mean the order it is displayed (1 means that whenever they pick up a diary with the DiaryText name of "labdiary" that it will show this entry first, then if they pick up a second diary with the DiaryText name of "labdiary" it will display the second entry [denoted by "Diary_labdiary_Name2"... etc.])

The (1/3) is just an example of what you could put to show that this is the first diary of three (THAT PART IS COMPLETELY OPTIONAL)


I hope this has made sense. If you need help on putting audio in your diaries check here.


RE: Getting notes/diaries to appear in the correct order - Kraggdog - 05-28-2011

Thanks, panic over Tongue

Will give this a go now.