Frictional Games Forum (read-only)
Lang file doesnt work - 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 file doesnt work (/thread-12763.html)



Lang file doesnt work - Datguy5 - 01-21-2012

My lang file:
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">It is year 1898 and your name is John Martin.You are a crazy torturer,who doesnt feel mercy.Now the spirits of the dead people are haunting you and causing strange events.You need to find a potion that will free you from the spirits.</Entry>
</CATEGORY>
<CATEGORY Name="Journal">
<Entry Name="Note_Test01_Name">Secret Passage</Entry>
<Entry Name="Note_Test01_Text">I've succesfully hidden the hole with a carpet that leads to my torture chambers.Unfortunately my door that was leading there collapsed.So i had to dig a tunnel because the rocks were too heavy to be moved.</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">

<Entry Name="ItemName_Bigroomkey">This key opens a door</Entry>
<Entry Name="ItemName_Storagekey">Opens the door to my little storage</Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="Exit">Exit</Entry>
</CATEGORY>
</LANGUAGE>
The problem is that when i pick up a key,it says picked up how do i fix this?



RE: Lang file doesnt work - Juby - 01-22-2012

Do the item's "CustomSubItemTypeName" in the entity tab match with the entries in the .lang?



RE: Lang file doesnt work - ZyLogicX - 01-22-2012

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">It is year 1898 and your name is John Martin.You are a crazy torturer,who doesnt feel mercy.Now the spirits of the dead people are haunting you and causing strange events.You need to find a potion that will free you from the spirits.</Entry>
</CATEGORY>
<CATEGORY Name="Journal">
<Entry Name="Note_Test01_Name">Secret Passage</Entry>
<Entry Name="Note_Test01_Text">I've succesfully hidden the hole with a carpet that leads to my torture chambers.Unfortunately my door that was leading there collapsed.So i had to dig a tunnel because the rocks were too heavy to be moved.</Entry>
</CATEGORY>


<CATEGORY Name="Inventory">
<Entry Name="ItemName_Bigroomkey">Big Room Key</Entry>

<Entry Name="ItemDesc_Bigroomkey">This key opens a door</Entry>
<Entry Name="ItemName_Storagekey">Storage key</Entry>

<Entry Name="ItemDesc_Storagekey">Opens the door to my little storage</Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="Exit">Exit</Entry>
</CATEGORY>
</LANGUAGE>




for the rest of it... I dont think you saved the CustomSubItemTypeName correctly.... amek sure to hit enter when you typed "Bigroomkey" in the CustomSubItemTypeName.


RE: Lang file doesnt work - Datguy5 - 01-22-2012

Yesss it works now!It seems i forgot to put the CustomSubItemTypeName Big Grin Thank you Juby and ZyLogicX