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 Help Can't find the problem [SOLVED]
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#1
Can't find the problem [SOLVED]

Hey guys. I would apreciate it is you would take a look at this.

I've looked through several times, but can't find the problem, that makes it not working in game

Any help is appreciated


<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
You are a highly respected archaeologist called Gary. You are on an expedition in New Zealand, looking for its hidden treasures beneath the surface, when stumble upon a cave in the mountains.[br][br]Deep inside the cave you you find and old door and decides to go through it. You find yourself in a basement, when suddenly earthquake hits, and makes the cave collapse, trapping you inside the basement.</Entry>
</CATEGORY>
<CATEGORY Name="Journal">
//QUESTS
<Entry Name="Quest_EscapeCastleQuest_Text">A cave-in blocks the way, find another way out</Entry>
<Entry Name="Quest_OilQuestStart_Text">Find a way to grease the hinges</Entry>
//NOTES
<Entry Name="Note_Warning!!!_Name">Warning!!!</Entry>
<Entry Name="Note_Warning!!!_Text">If you find this note, then you should know, that you are in great danger. You have entered the castle called Wellington. Strange things is happening in this castle and it's owner is known to be an evil sadistic man. If you value your life, you leave this castle immediately. The fastet way is through the Small Basement, which reaches through the mountains.</Entry>
<Entry Name="Note_Chemical_Name">Note To Key</Entry>
<Entry Name="Note_Chemical_Text">It seems that I can't trust my servants anymore. They have started to show a strange behavior and Im afarid that, something is going to happen soon. So Im leaving the key to the small storage here in my office, to prevent my servants from getting their hands on it.[br][br][br]Alejandro</Entry>
<Entry Name="Note_GuestNote1_Name">Note From Guest</Entry>
<Entry Name="Note_GuestNote1_Text">THATS IT![br]I am not spending one more minute in this cursed place. If someone finds this note, then do yourself a favor and GET THE HELL OUT OF HERE!!!</Entry>
<Entry Name="Note_GuestNote2_Name">Note From Guest</Entry>
<Entry Name="Note_GuestNote2_Text">I dont know if it is wise to wright this. People might think that I am crazy or insane, but I feel like they have to know. [br]I've been in this castle for a few weeks on a holiday, do to my friendship with the owner.[br][br]As my holiday came to an end and I only had a couple of days left of my stay here. Wierd things started happening.[br]Scary noises was heard from below. Noises like people screaming and monsters roaring.[br]At first I thought that is was just my imagination, but then the other guests started leaving all of the sudden.[br]I asked Alejandro why everyone was such in a hurry to leave this place.[br]He told me that I should't worry about it and keep relaxed as my own stay came to its end.</Entry>
<Entry Name="Note_OilNote_Name">Door Needs Greasing</Entry>
<Entry Name="Note_OilNote_Text">I have rusted the hinges of the door to the celler hall to prevent my former servants to enter the entrance hall and to pretect my guests[br][br][br]Alejandro</Entry>
//DIARIES
</CATEGORY>
<CATEGORY Name="Messages">
//Gary's Conscience
<Entry Name="NewQuest">Gary's conscience: You got a new momento, press M to read it</Entry>
//Gary Thinking/Talking to himself
<Entry Name="MovingLamp">Gary: That lamp wasen't moving before</Entry>
<Entry Name="EnvironmentDescribtion1">This hall has a quite nice environment and cozy atmosphere</Entry>
<Entry Name="BrokenWall">Gary: These bricks are fraguile, but not breakable by hand</Entry>
//Game Messages
<Entry Name="ChapterMessage1">Chapter 1</Entry>
<Entry Name="Restoration">You Now Feel Refreshed And Renewed</Entry>
<Entry Name="Restoration2">Sleeping in a bed restores your health and sanity</Entry>
</CATEGORY>
<CATEGORY Name="LockedDoors">
<Entry Name="Locked1">It won't budge</Entry>
<Entry Name="Locked2">The hinges is rusted</Entry>
<Entry Name="Locked3">Needs a key"</Entry>
</CATEGORY>
<CATEGORY Name="Levels">
<Entry Name="Direction1">Hallway</Entry>
<Entry Name="Direction2">Small Basement</Entry>
<Entry Name="Direction3">Entrance Hall</Entry>
<Entry Name="Direction4">Old Archives</Entry>
<Entry Name="Direction5">Guest Room</Entry>
<Entry Name="Direction6">Alejandro's Room</Entry>
<Entry Name="Direction7">Small Storage</Entry>
</CATEGORY>
<CATEGORY Name="Signs">
<Entry Name="LocalHistory">Local History</Entry>
<Entry Name="Study">Study</Entry>
<Entry Name="AncientTomes">Ancient Tomes</Entry>
<Entry Name="MachineSketch">Drawing Of An Old Machine</Entry>
<Entry Name="CastleSketch">An Old Drawing Of The Castle</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
<Entry Name="ItemName_StorageKey1">Small Storage Key</Entry>
<Entry Name="ItemDesc_StorageKey1">A Key To Unlock The Small Storage</Entry>
<Entry Name="ItemName_GlassContainerOil">Oil Jar</Entry>
<Entry Name="ItemDesc_GlassContainerOil">A Jar Of Oil</Entry>
</CATEGORY>
<CATEGORY Name="Signs">
<Entry Name="SmallStorage">Small Storage</Entry>
<Entry Name="CellarPassages">Celler Passage</Entry>
<Entry Name="OldArchives">Old Archives</Entry>
</LANGUAGE>

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 05-30-2014, 04:20 PM by Lizard.)
05-30-2014, 04:01 PM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#2
RE: Can't find the problem

PHP Code: (Select All)
<Entry Name="Note_Warning!!!_Name">Warning!!!</Entry

This line along with the one below probably cause a parsing error due to the exclamation points in the variable name.

When naming technical aliases/variables/pointers etc, ONLY use simple and accepted characters. These include A-Z (upper and lower case), 0-9 and certain other marks like underscore and dashes.

Also, the last category of yours is missing the </CATEGORY> tag. Add that.

(This post was last modified: 05-30-2014, 04:16 PM by Mudbill.)
05-30-2014, 04:14 PM
Find
Neelke Offline
Senior Member

Posts: 668
Threads: 82
Joined: Apr 2013
Reputation: 26
#3
RE: Can't find the problem

You're missing a </CATEGORY> at the signs category.

<CATEGORY Name="Signs">
<Entry Name="SmallStorage">Small Storage</Entry>
<Entry Name="CellarPassages">Celler Passage</Entry>
<Entry Name="OldArchives">Old Archives</Entry>
</CATEGORY>
</LANGUAGE>

Derp.
05-30-2014, 04:16 PM
Find
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#4
RE: Can't find the problem

(05-30-2014, 04:16 PM)Neelke Wrote: You're missing a </CATEGORY> at the signs category.

<CATEGORY Name="Signs">
<Entry Name="SmallStorage">Small Storage</Entry>
<Entry Name="CellarPassages">Celler Passage</Entry>
<Entry Name="OldArchives">Old Archives</Entry>
</CATEGORY>
</LANGUAGE>


Thanks Neelke

Did not see that. Works now

CURRENT PROJECT:
A Fathers Secret == Just started
05-30-2014, 04:19 PM
Find




Users browsing this thread: 1 Guest(s)