Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Note text not working
Xallikk Offline
Junior Member

Posts: 35
Threads: 7
Joined: Jun 2016
Reputation: 0
#1
Note text not working

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---//

The ones at the front always die first...
06-05-2016, 01:00 AM
Find
Slanderous Offline
Posting Freak

Posts: 1,606
Threads: 78
Joined: Dec 2012
Reputation: 63
#2
RE: Note text not working

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

Edit: Done, here's the link
(This post was last modified: 06-05-2016, 01:10 AM by Slanderous.)
06-05-2016, 01:06 AM
Find
Xallikk Offline
Junior Member

Posts: 35
Threads: 7
Joined: Jun 2016
Reputation: 0
#3
RE: Note text not working

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.

The ones at the front always die first...
06-05-2016, 01:40 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#4
RE: Note text not working

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.

06-05-2016, 02:22 AM
Find
Xallikk Offline
Junior Member

Posts: 35
Threads: 7
Joined: Jun 2016
Reputation: 0
#5
RE: Note text not working

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>

The ones at the front always die first...
06-05-2016, 03:01 AM
Find




Users browsing this thread: 1 Guest(s)