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
.Lang File Help My .Lang File "Died"?
Rowzter Offline
Junior Member

Posts: 44
Threads: 12
Joined: Oct 2012
Reputation: 3
#1
My .Lang File "Died"?

Hello again!, i Knew i do too many threads of errors and i am real sorrySad, After Searching the wiki and forum i could't find a solution when a script "Die".

Everything i pick up only says "Picked up" and so on, and i have checked for errors but everything seems to be correct, Here is the lang file:

Spoiler below!
<LANGUAGE>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
Under Construction
</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_Key1">Key to the cabinet.</Entry>
<Entry Name="ItemName_Key1">Cabinet Key</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_Key2">Key to a small chest.</Entry>
<Entry Name="ItemName_Key2">Chest Key</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_ironkey_1">A key for the basementdoor</Entry>
<Entry Name="ItemName_ironkey_1">Basement Key</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_Health_1">A Bottle Of Medicine For Isac.</Entry>
<Entry Name="ItemName_Health_1">Isac's Medicine</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_note_letter_1_Name">Letter From Mom</Entry>
<Entry Name="Note_note_letter_1_Text">God Morning Isac! [br][br] When you get down there will be breakfast ready for you. Me and your dad are out shopping and then we will head for work so you will be home alone until tomorrow, so please, dont set our home on fire! And in our closet we have placed a pouch with coins for your food and dad have placed the keys in your workdesk. [br][br] PS Don't forget your medicine on your workdesk. [br][br] //Mom</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_Needle_1">A Hairpin, Made in plastic.</Entry>
<Entry Name="ItemName_Needle_1">Hairpin</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_MoneyPouch_1">A pouch filled with coins.</Entry>
<Entry Name="ItemName_MoneyPouch_1">Pouch</Entry>
</CATEGORY>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">What The Hell?</Entry>
</CATEGORY>
<CATEGORY Name="Inventory">
</CATEGORY>
<CATEGORY Name="Messages">
<Entry Name="Popup_1">What The?</Entry>
</CATEGORY>
<CATEGORY Name="Descriptions">
</CATEGORY>
<CATEGORY Name="Levels">


</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="Door_1">Downstairs</Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="wood_door_1">Bedrooms</Entry>
</CATEGORY>

<CATEGORY Name=“DeathCategory”>
<Entry Name=“Deathtext”>You will slowly wake up</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_brightlantern_1">Must be old and need some oil.</Entry>
<Entry Name="ItemName_brightlantern_1">Connor's Lantern</Entry>
</CATEGORY>

<CATEGORY Name="Messages">
<Entry Name="prison_section_1">The door is locked and i don't have the key. I need to find another way to open it.
</CATEGORY>

</LANGUAGE>



The last thing i added was a func that pop-up a message when i try to open a locked door. Lang and script for that here:
Spoiler below!
Lang:
<CATEGORY Name="Messages">
<Entry Name="prison_section_1">The door is locked and i don't have the key. I need to find another way to open it.
</CATEGORY>

Script:
SetEntityPlayerInteractCallback("prison_section_1", "DoorLockedMsg", true);


void DoorLockedMsg(string &in entity)
{
SetMessage("Messages", "prison_section_1", 0);
}



What did i do wrong? Sad
(This post was last modified: 11-15-2012, 03:52 PM by Rowzter.)
11-15-2012, 03:51 PM
Find


Messages In This Thread
My .Lang File "Died"? - by Rowzter - 11-15-2012, 03:51 PM
RE: My .Lang File "Died"? - by FlawlessHappiness - 11-15-2012, 03:54 PM
RE: My .Lang File "Died"? - by The chaser - 11-15-2012, 04:04 PM
RE: My .Lang File "Died"? - by Rowzter - 11-15-2012, 04:05 PM
RE: My .Lang File "Died"? - by The chaser - 11-15-2012, 04:17 PM
RE: My .Lang File "Died"? - by Plank - 06-28-2013, 10:41 PM
RE: My .Lang File "Died"? - by The chaser - 06-28-2013, 11:39 PM
RE: My .Lang File "Died"? - by Plank - 06-29-2013, 12:21 AM
RE: My .Lang File "Died"? - by 7heDubz - 06-29-2013, 12:25 AM
RE: My .Lang File "Died"? - by Plank - 06-29-2013, 02:06 AM



Users browsing this thread: 1 Guest(s)