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


Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]I'm getting completely confused over my .lang file
Author Message
Zirg Offline
Junior Member

Posts: 14
Joined: Feb 2011
Reputation: 0
Post: #1
[SOLVED]I'm getting completely confused over my .lang file

*EDIT
I really don't know how I solved it, but after a pc restart everything was working fine again.. Confused.


Ok, I'm using my .lang file as I'm supposed to.
I've created a custom key, using these 'commands'

<CATEGORY Name="Inventory">
      <Entry Name="ItemName_crematorykey">Crematory Key</Entry>
      <Entry Name="ItemDesc_crematorykey">Tag reads "Crematory"</Entry>
</CATEGORY>

Everything was working fine, when I picked up the key it was neatly showing me:
"Picked up Crematory Key"

Then I added a new key, making the code look like this:

<CATEGORY Name="Inventory">
      <Entry Name="ItemName_crematorykey">Crematory Key</Entry>
      <Entry Name="ItemDesc_crematorykey">Tag reads "Crematory"</Entry>
      <Entry Name="ItemName_fakekey">Rusty Key</Entry>
      <Entry Name="ItemDesc_fakekey">"It's bent and doesn't look very sturdy"</Entry>
</CATEGORY>

And all of a sudden my custom story description isn't showing up anymore in custom story selection, and when I pick up my crematory key, all of a sudden, all it says is:
"Picked up"

I'm going completely crazy here cause I can't find what I'm doing wrong.
The .lang file is in the correct folder and all.
It would be very nice if someone knew what happened here.

EDIT*
Just thought I'd show my complete .lang file:
<LANGUAGE>
    <RESOURCES>
    </RESOURCES>
<CATEGORY Name="CustomStoryMain">
        <Entry Name="Description">Cement?</Entry>
    </CATEGORY>
<CATEGORY Name="Inventory">
      <Entry Name="ItemName_crematorykey">Crematory Key</Entry>
      <Entry Name="ItemDesc_crematorykey">Tag reads "Crematory"</Entry>
      <Entry Name="ItemName_fakekey">Rusty Key</Entry>
      <Entry Name="ItemDesc_fakekey">"It's bent and doesn't look very sturdy"</Entry>
    </CATEGORY>
<CATEGORY Name="Journal">
        <Entry Name="Note_CH01L01_PrisonerEscapePlan_Name">Prisoner's Diary - Escape (1/2)</Entry>
        <Entry Name="Note_CH01L01_PrisonerEscapePlan_Text">blabladiarytext</Entry>
    </CATEGORY>
</LANGUAGE>
(This post was last modified: 02-22-2011 07:06 PM by Zirg.)
02-22-2011 12:35 PM
Find all posts by this user Quote this message in a reply
lazylog Offline
Junior Member

Posts: 7
Joined: Feb 2011
Reputation: 0
Post: #2
RE: I'm getting completely confused over my .lang file

why doesn't your second "fake" key have a ">Tag reads" in its second line?
02-22-2011 12:42 PM
Find all posts by this user Quote this message in a reply
Zirg Offline
Junior Member

Posts: 14
Joined: Feb 2011
Reputation: 0
Post: #3
RE: I'm getting completely confused over my .lang file

(02-22-2011 12:42 PM)lazylog Wrote:  why doesn't your second "fake" key have a ">Tag reads" in its second line?

That's of no importance to the overall .lang file, it's just a description of the key.
(storywise; it's not wearing a tag it's just bent and weak)
02-22-2011 12:47 PM
Find all posts by this user Quote this message in a reply
Pandemoneus Offline
Senior Member

Posts: 328
Joined: Sep 2010
Reputation: 0
Post: #4
RE: I'm getting completely confused over my .lang file

Try without the quotation marks there: "It's bent and doesn't look very sturdy"

02-22-2011 02:11 PM
Find all posts by this user Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)