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 doesnt work
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#1
Rainbow  Lang file doesnt work

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?
(This post was last modified: 01-22-2012, 01:05 AM by Datguy5.)
01-21-2012, 10:59 PM
Find
Juby Away
Senior Member

Posts: 290
Threads: 2
Joined: May 2011
Reputation: 5
#2
RE: Lang file doesnt work

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

Insanity. Static.
01-22-2012, 12:20 AM
Find
ZyLogicX Offline
Member

Posts: 245
Threads: 24
Joined: May 2011
Reputation: 6
#3
RE: Lang file doesnt work

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

Beyond the Mountains of Madness [15%]
This forum is dying.
01-22-2012, 12:32 AM
Find
Datguy5 Offline
Senior Member

Posts: 629
Threads: 25
Joined: Dec 2011
Reputation: 12
#4
RE: Lang file doesnt work

Yesss it works now!It seems i forgot to put the CustomSubItemTypeName Big Grin Thank you Juby and ZyLogicX
01-22-2012, 01:04 AM
Find




Users browsing this thread: 1 Guest(s)