Frictional Games Forum (read-only)

Full Version: Getting notes/diaries to appear in the correct order [RESOLVED]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
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.
Thanks, panic over Tongue

Will give this a go now.