Frictional Games Forum (read-only)

Full Version: Note text not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For some reason, my note text isn't showing up. I think my code is right, but I'm not sure.
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Find the key in each level to win the game. Enjoy!</Entry>
</CATEGORY>

<CATEGORY Name="Loading">
<Entry Name="LoadScreen1">I have to get out of here, fast...</Entry>
</CATEGORY>

<CATEGORY Name="Journal">

//---Notes---//

<Entry Name="Note_Note1_Name">Last Words</Entry>
<Entry Name="Note_Note1_Text">Whoever's reading this...[br][br] There's something out there. It got Simon...
I can still hear his screams as that thing tore him apart. Janet, Belmont, and I have hid in our hotel room, but I fear
we are not safe here. I can hear it scratch the wall and the footsteps echoing down the hall. Oh no, something's
coming.[br][br]Oh god... it found us... </Entry>


//---Diaries---//


//---Mementos---//

</CATEGORY>
<CATEGORY Name="Inventory">

//---Item Names/Descriptions---//
<Entry Name="ItemName_KeyDesc"> Key</Entry>
<Entry Name="ItemDesc_KeyDesc">It's for unlocking a door.</Entry>
<Entry Name="ItemName_KeyDes"> 3rd Floor Key</Entry>
<Entry Name="ItemDesc_KeyDes">It's for unlocking the 3rd floor door.</Entry>
</CATEGORY>
<CATEGORY Name="Sign">
<Entry Name="Door1">3rd Floor</Entry>

</CATEGORY>
<CATEGORY Name="Levels">
<Entry Name="Door1">It's locked</Entry>


</CATEGORY>

<CATEGORY Name="DeathHint">

//---Death Hints---//
Your .lang is messed up. I'll prepare you a decent one in a few minutes...

Edit: Done, here's the link
Well the note works now, but my keys and door texts don't, and when I go to my inventory, the screen has a light blue hue.
I think the error with the original lang was just that it never closed. So adding </CATEGORY> and </LANGUAGE> at the bottom is all that's missing unless I'm not seeing it all.

That prepared one doesn't include any of the entries though, so add them back.

Make sure you have the entries set up for your keys and door. I'm not sure about the blue inv though.
In my actual script, those two closing are in it, just got caught. Here is my new code using the prepared stuff, I think key entries and stuff are set up properly.

<CATEGORY Name="Journal">
<Entry Name="Note_Note1_Name">Last Words</Entry>
<Entry Name="Note_Note1_Text">Whoever's reading this...[br][br] There's something out there. It got Simon...
I can still hear his screams as that thing tore him apart. Janet, Belmont, and I have hid in our hotel room, but I fear
we are not safe here. I can hear it scratch the wall and the footsteps echoing down the hall. Oh no, something's
coming.[br][br]Oh god... it found us...</Entry>
</CATEGORY>

<CATEGORY Name="LoadingText">
<Entry Name="LoadingScreen1">I need to find out what's going on...</Entry>
</CATEGORY>

<CATEGORY Name="Sign">
<Entry Name="Door1">3rd Floor</Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="Door1">It's locked</Entry>
</CATEGORY>

<CATEGORY Name="LevelDoors">
<Entry Name="levelDoorName"></Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_Item"></Entry>
<Entry Name="ItemDesc_Item"></Entry>
</CATEGORY>

<CATEGORY Name="Messages">
<Entry Name="Entry1"></Entry>
</CATEGORY>

<CATEGORY Name="Ending">
<Entry Name="Credits"></Entry>
</CATEGORY>
</LANGUAGE>