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
Locked Messages+Door Names
DaAinGame Offline
Member

Posts: 90
Threads: 11
Joined: Mar 2012
Reputation: 4
#1
Locked Messages+Door Names

Honestly, I feel really embarrassed to be having such a simple problem, especially considering I know what to do, and I've done it before multiple times. It seems that my .lang file doesn't want to show certain things. I know that there are no writing errors in it, as items, messages, and quests still work perfectly fine. It just refuses to show a locked door message and display the doors name when it is in focus.

</CATEGORY>
  
<CATEGORY Name="Levels">
<Entry Name="Basement">Basement </Entry>
<Entry Name="Hall">Hallways </Entry>
</CATEGORY>


<CATEGORY Name="LockedDoors">
<Entry Name="Hallway">The door is locked.</Entry>
</CATEGORY>

This should all be correct considering I took it DIRECTLY from my other custom story, and just changed the names around. In the level editor, everything is named properly. The "Hallways" door variables are set as followed:
TextEntry- Hall
LockedTextCat- LockedDoors
LockedTextEntry- Hallway

Those are copy and pasted RIGHT from the level editor. And yes, my map is up-to-date, and in my custom story folder. I have no idea what's wrong here because, like I said, I basically got this from my other custom story, where all of the messages worked.

While I highly doubt it has anything to do with a writing error, as everything else works, here is my entire .lang file.

Spoiler below!

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
As a tourist, you found your stay at the mystical Adder Halls very enjoyable, although a

creepy feeling filled you. With being one of the most haunted, and dangerous mansions in the

world, paranormal researches constantly flooded the mansion, until it was recently deemed unsafe

to enter at night. Now here you are... Trapped inside, with a sharp pain in your right side. You

must escape...
</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_Unkown_key">Unkown Key</Entry>
<Entry Name="ItemDesc_Unkown_key">There's no hint to where this key could be used.</Entry>

</CATEGORY>
<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>
</CATEGORY>

<CATEGORY Name="Subtitle">
<Entry Name="Wakeup">What Whe- Where am I?</Entry>
<Entry Name="Intro1">What happened here?</Entry>

<CATEGORY Name="Flashback">
<Entry Name="Intro">Familiar Voice: Quickly Ted, please follow me.</Entry>
<Entry Name="Intro1">Ted: Where are we going?</Entry>
<Entry Name="Intro2">Familiar Voice: To the basement. There is some- *crashing sound* </Entry>
<Entry Name="Intro3">Ted: Are you okay?!</Entry>
<Entry Name="Intro4">Familiar Voice: I'm fine. Let's just continue on, and watch your

step.</Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="Basement">Basement </Entry>
<Entry Name="Hall">Hallways </Entry>
</CATEGORY>


<CATEGORY Name="LockedDoors">
<Entry Name="Hallway">The door is locked.</Entry>
</CATEGORY>

</CATEGORY>
</LANGUAGE>


Ignore odd breaks in the spoiler, they are not actually like that in the file itself.

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, 03:56 AM by DaAinGame.)
06-17-2012, 11:00 PM
Find


Messages In This Thread
Locked Messages+Door Names - by DaAinGame - 06-17-2012, 11:00 PM
RE: Locked Messages+Door Names - by Your Computer - 06-18-2012, 01:04 AM
RE: Locked Messages+Door Names - by DaAinGame - 06-18-2012, 01:20 AM



Users browsing this thread: 1 Guest(s)