Game ignoring my .lang file? - ElectricRed - 06-18-2012
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
RE: Game ignoring my .lang file? - Adny - 06-18-2012
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.
RE: Game ignoring my .lang file? - Your Computer - 06-18-2012
What are the names of the entries that are being replaced by the original LANG?
RE: Game ignoring my .lang file? - ElectricRed - 06-18-2012
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:
Code: <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>
RE: Game ignoring my .lang file? - Your Computer - 06-18-2012
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.
RE: Game ignoring my .lang file? - ElectricRed - 06-18-2012
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?
RE: Game ignoring my .lang file? - Your Computer - 06-18-2012
(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:
Should be:
One error in the LANG can cause the entire thing to not work.
RE: Game ignoring my .lang file? - ElectricRed - 06-18-2012
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?
Code: <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>
RE: Game ignoring my .lang file? - DaAinGame - 06-18-2012
Hmmm shouldn't the category Notes, be Journal? Here's mine for example.
Code: <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.
RE: Game ignoring my .lang file? - ElectricRed - 06-18-2012
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.
|