The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.24-0ubuntu0.18.04.17 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



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
[SOLVED]I'm getting completely confused over my .lang file
Zirg Offline
Junior Member

Posts: 14
Threads: 4
Joined: Feb 2011
Reputation: 0
#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.. :S.


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


Messages In This Thread
[SOLVED]I'm getting completely confused over my .lang file - by Zirg - 02-22-2011, 12:35 PM



Users browsing this thread: 1 Guest(s)