Frictional Games Forum (read-only)
[LANG] Key and Journal Entrys Missing - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: [LANG] Key and Journal Entrys Missing (/thread-25609.html)



Key and Journal Entrys Missing - CQBgamer - 07-04-2014

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
Code:
<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.


RE: Key and Journal Entrys Missing - Mudbill - 07-04-2014

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


RE: Key and Journal Entrys Missing - CQBgamer - 07-04-2014

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