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
.Lang File Help Key and Journal Entrys Missing
CQBgamer Offline
Junior Member

Posts: 40
Threads: 8
Joined: Jul 2014
Reputation: 0
#1
Key and Journal Entrys Missing

Hi guys, sorry if this is a question you are answering all the time, but this is my first custom story and im in no way very good at coding. Anyway, I just added a checkpoint in my script and added a custom death hint to the extraenglish.lang file and when I loaded up my game all of my key names, descriptions, journal entries (including the titles and the entry itself) are no longer there. They are still in the .lang file and I didnt change anything in the main script that was involved with the keys or journal entry. Here is my .lang file
<LANGUAGE>
  <RESOURCES>
  </RESOURCES>

<CATEGORY Name="CustomStoryMain">
    <Entry Name="Description">My First Custom Story For Amnesia</Entry>
  </CATEGORY>
  
  <CATEGORY Name="Inventory">
    <Entry Name="ItemName_Storage_Room_Key">Storage Room Key</Entry>
    <Entry Name="ItemDesc_Storage_Room_Key">The key to my storage room</Entry>
     </CATEGORY>

          <CATEGORY Name="Journal">
     <Entry Name="Note_note01_Name">Hello old friend</Entry>
     <Entry Name="Note_note01_Text">Did you sleep well? I hope so, you will need all the rest you can get if you are to survive.</Entry>
</CATEGORY>

<CATEGORY Name="Message2">
        <Entry Name ="*MessageScriptName*">*Your Message*</Entry>
    </CATEGORY>
    
    
<CATEGORY Name= "DeathHints">
        <Entry Name="Hide">You must hide....</Entry>
        <Entry Name="DeathHint2">DeathHintText</Entry>>
    
</LANGUAGE>

I will provide my main script if needed, any help will be greatly appreciated.

[Image: 15420.png]
07-04-2014, 10:39 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Key and Journal Entrys Missing

You're missing a </CATEGORY> tag for the DeathHints one. Place it after your last death hint entry.

07-04-2014, 10:41 PM
Find
CQBgamer Offline
Junior Member

Posts: 40
Threads: 8
Joined: Jul 2014
Reputation: 0
#3
RE: Key and Journal Entrys Missing

*Insert Facepalm Here" Thanks so much Smile dont know how I could have missed that.

[Image: 15420.png]
07-04-2014, 10:49 PM
Find




Users browsing this thread: 1 Guest(s)