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


Thread Rating:
  • 1 Vote(s) - 4 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.Lang File Help Game ignoring my .lang file?
ElectricRed Offline
Member

Posts: 106
Threads: 13
Joined: Jun 2012
Reputation: 5
#1
Game ignoring my .lang file?

Hi!

I've been working on a custom story, and everything's been going smoothly. However, recently whenever I test it, the game seems to ignore my extra_english.lang file completely and use the one from the main story. It's most likely as a result of something I did, but I'm not sure what. Does anyone know what might cause this problem?

Thanks!
- ElectricRed
06-18-2012, 12:38 AM
Find
Adny Offline
Posting Freak

Posts: 1,766
Threads: 6
Joined: Mar 2012
Reputation: 173
#2
RE: Game ignoring my .lang file?

The only reason that I can think of that the game would take the lang from the original game and not your extra_english.lang is if you have the extra_english.lang in the wrong location, or your categories+entries were exactly the same; make sure they're not.

Also, we can help you a lot more if you post your extra_english.lang file.

I rate it 3 memes.
06-18-2012, 12:44 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#3
RE: Game ignoring my .lang file?

What are the names of the entries that are being replaced by the original LANG?

Tutorials: From Noob to Pro
06-18-2012, 12:46 AM
Website Find
ElectricRed Offline
Member

Posts: 106
Threads: 13
Joined: Jun 2012
Reputation: 5
#4
RE: Game ignoring my .lang file?

Well actually I'm not quite sure if it's using the original game's lang. I just figured as much since picking up tinderboxes and oil still displayed their usual message. Here's the lang file with some long parts cut out:

<LANGUAGE>
    <CATEGORY Name="Obscurity">
        <Entry Name="Description">This is a placeholder description.[br][br]New line.</Entry>
    </CATEGORY>
</LANGUAGE>


<CATEGORY Name=“Notes”>

<Entry Name="InnLetter1_Name">Letter to my Sister</Entry>
<Entry Name="InnLetter1_Text">-CUT-</Entry>

<Entry Name="InnLetter2_Name">Help</Entry>
<Entry Name="InnLetter2_Text">-CUT-</Entry>

<Entry Name="InnLetter3_Name">Message for New Bartender</Entry>
<Entry Name="InnLetter3_Text">-CUT-</Entry>

<Entry Name="InnLetter4_Name">Farewell</Entry>
<Entry Name="InnLetter4_Text">-CUT-</Entry>
</CATEGORY>


<CATEGORY Name=“Quests”>

<Entry Name="QuestInn">Find another way to get inside the Inn.</Entry>
<Entry Name="Quest_Crowbar_Text">The lock is broken. Find another way to open the door in the Inn.</Entry>

</CATEGORY>


<CATEGORY Name=“Messages”>

<Entry Name ="LockedDoor">The door is locked and requires a key.</Entry>
<Entry Name ="InnDoor">The door seems to be barricaded shut from the inside. Maybe there's another way in.</Entry>
<Entry Name ="InnDoorInside">I need to get this stuff out of the way before I can open the door.</Entry>
<Entry Name ="BoardedDoor">The door has been boarded up and cannot be opened.</Entry>
<Entry Name =“CrowbarDoor”>The lock seems to be broken.</Entry>

</CATEGORY>

<CATEGORY Name="Inventory">
    <Entry Name="ItemName_cellarkey">Cellar Key</Entry>
    <Entry Name="ItemDesc_cellarkey">Key used to access the cellar</Entry>
    <Entry Name="ItemName_crowbar_1">Crowbar</Entry>
    <Entry Name="ItemDesc_crowbar_1">Can be used to pry open doors</Entry>
</CATEGORY>
06-18-2012, 12:51 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#5
RE: Game ignoring my .lang file?

You closed off the LANGUAGE element in the wrong place, and you also have special quotation marks which the game doesn't like in the LANG file.

Tutorials: From Noob to Pro
06-18-2012, 12:56 AM
Website Find
ElectricRed Offline
Member

Posts: 106
Threads: 13
Joined: Jun 2012
Reputation: 5
#6
RE: Game ignoring my .lang file?

Okay, thanks! I didn't notice I closed it off in the wrong place. Still though, the description for the story wasn't showing up either. Also, what do you mean by special quotation marks?
06-18-2012, 01:01 AM
Find
Your Computer Offline
SCAN ME!

Posts: 3,456
Threads: 32
Joined: Jul 2011
Reputation: 235
#7
RE: Game ignoring my .lang file?

(06-18-2012, 01:01 AM)ElectricRed Wrote: Okay, thanks! I didn't notice I closed it off in the wrong place. Still though, the description for the story wasn't showing up either. Also, what do you mean by special quotation marks?

For example:
“Notes”

Should be:
"Notes"


One error in the LANG can cause the entire thing to not work.

Tutorials: From Noob to Pro
06-18-2012, 01:06 AM
Website Find
ElectricRed Offline
Member

Posts: 106
Threads: 13
Joined: Jun 2012
Reputation: 5
#8
RE: Game ignoring my .lang file?

Oh, I didn't know that. Thanks for the quick responses! I'll fix those errors and try it now.

Edit: It's still not working for me. Does anything else look wrong with it?

<LANGUAGE>
    <CATEGORY Name="Obscurity">
        <Entry Name="Description">This is a placeholder description.[br][br]New line.</Entry>
    </CATEGORY>


<CATEGORY Name="Notes">

<Entry Name="InnLetter1_Name">Letter to my Sister</Entry>
<Entry Name="InnLetter1_Text">-Cut-</Entry>

<Entry Name="InnLetter2_Name">Help</Entry>
<Entry Name="InnLetter2_Text">-Cut-</Entry>

<Entry Name="InnLetter3_Name">Message for New Bartender</Entry>
<Entry Name="InnLetter3_Text">-Cut-</Entry>

<Entry Name="InnLetter4_Name">Farewell</Entry>
<Entry Name="InnLetter4_Text">-Cut-</Entry>
</CATEGORY>


<CATEGORY Name="Quests">

<Entry Name="QuestInn">Find another way to get inside the Inn.</Entry>
<Entry Name="Quest_Crowbar_Text">The lock is broken. Find another way to open the door in the Inn.</Entry>
<Entry Name="QuestHome">Go back to the wreckage of the carriage and retrieve the key to your house.</Entry>

</CATEGORY>


<CATEGORY Name="Messages">

<Entry Name ="LockedDoor">The door is locked and requires a key.</Entry>
<Entry Name ="InnDoor">The door seems to be barricaded shut from the inside. Maybe there's another way in.</Entry>
<Entry Name ="InnDoorInside">I need to get this stuff out of the way before I can open the door.</Entry>
<Entry Name ="BoardedDoor">The door has been boarded up and cannot be opened.</Entry>
<Entry Name =“CrowbarDoor”>The lock seems to be broken.</Entry>

</CATEGORY>

<CATEGORY Name="Inventory">
    <Entry Name="ItemName_cellarkey">Cellar Key</Entry>
    <Entry Name="ItemDesc_cellarkey">Key used to access the cellar</Entry>
    <Entry Name="ItemName_crowbar_1">Crowbar</Entry>
    <Entry Name="ItemDesc_crowbar_1">Can be used to pry open doors</Entry>
</CATEGORY>

</LANGUAGE>
(This post was last modified: 06-18-2012, 01:59 AM by ElectricRed.)
06-18-2012, 01:52 AM
Find
DaAinGame Offline
Member

Posts: 90
Threads: 11
Joined: Mar 2012
Reputation: 4
#9
RE: Game ignoring my .lang file?

Hmmm shouldn't the category Notes, be Journal? Here's mine for example.

<CATEGORY Name="Journal">
<Entry Name="Quest_SearchQuest_Text">I should search the room for anything useful and get out of here!</Entry>
<Entry Name="Quest_ExploreQuest_Text">I should explore the surrounding rooms and see if I can't find clues as to how to get out.</Entry>
<Entry Name="Quest_BasementQuest_Text">The door up is locked, but according to a note I found, the key is hidden in the basement. I should head there.</Entry>
<Entry Name="Note_Intro_Name">To Mr. Ted Varney</Entry>
<Entry Name="Note_Intro_Text">Mr. Varney, You being here is no mistake. Your ancestors once lived here, and killed many people. This is the reason for the mansion being haunted, and now, these angered spirits must take their revenge on you, and finally let all other living souls here be at peace. </Entry>
<Entry Name="Note_Intro1_Name">Still Alive?</Entry
<Entry Name="Note_Intro1_Text">Still alive Ted? I'm sorry that you are trapped in this situation, but I will help you through it! You can find a key somewhere in the basement. Its in the backroom, quick you must make haste!</Entry>
Also I think its Note_NAME_Name and Note_NAME_Text
Quest also are under Journal, and do not have their own category.

Realm Of Another Chapter 1: http://www.frictionalgames.com/forum/thread-14142.html
Realm Of Another Chapter 2: Postponed
Adder Halls: 5%
(This post was last modified: 06-18-2012, 02:14 AM by DaAinGame.)
06-18-2012, 02:12 AM
Find
ElectricRed Offline
Member

Posts: 106
Threads: 13
Joined: Jun 2012
Reputation: 5
#10
RE: Game ignoring my .lang file?

Hmm... I didn't know that mattered. I thought the category names could be anything. Well now I have the notes working, but the items and the messages still aren't for some reason.
06-18-2012, 03:48 AM
Find




Users browsing this thread: 1 Guest(s)