I'm planning to add a diary via script at a certain point in my mod, so I used this function:
void AddDiary(string& asNameAndTextEntry, string& asImage);
Adds a diary to the player's journal.
asNameAndTextEntry - entries in the .lang file. Must end with _NameX and _TextY whereas X and Y
are numbers of the parts (_Name1: first diary, _Text1: first page) and be in category “Journal”!
asImage - the background image to be used
The problem is that not only the text is not being shown, but also the background image doesn't load up.
Here's the script I have for the diary:
AddDiary("Diary_CH00L01_1", "bg_letter.tga");
And here are the entries in .lang file (journal category):
<Entry Name="Diary_CH00L01_1_Name1">Test</Entry>
<Entry Name="Diary_CH00L01_1_Text1">Just testing</Entry>
Any ideas?