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
My English.Lang file doesn't work?! :(
Amnesiaplayer Offline
Senior Member

Posts: 539
Threads: 105
Joined: Jun 2014
Reputation: 0
#1
My English.Lang file doesn't work?! :(

My file doesn't work, so no description, no door names, no key names Sad

this is my Lang file :

PHP Code: (Select All)
<LANGUAGE>
<
CATEGORY Name="CustomStoryMain">
        <
Entry Name="Description">Troll story</Entry>
</
CATEGORY>
    
<
CATEGORY Name="Messages">
        <
Entry Name="Hint1"></Entry>
        <
Entry Name="Hint2"></Entry>
         <
Entry Name="Hint3"></Entry>
        <
Entry Name="Hint4"></Entry>
</
CATEGORY>
    
<
CATEGORY Name="Journal">
        <
Entry Name="Note_Note01_Name">The key!</Entry
        <
Entry Name="Note_Note01_Text">HelloYou can't remember anything, right? I will help you, you need to get back... I can't tell you now Wherebut there is still 1 way. Try to get as far as you canbut the key... I think the key is somewhere... up... on.... *blood*</Entry
</
CATEGORY>

<
CATEGORY Name="Inventory">
        <
Entry Name="ItemName_Key1">Bedroom Key</Entry>
        <
Entry Name="ItemDesc_Key1">A key that can open the bedroom door!</Entry>
        <
Entry Name="ItemName_Key2">DeskDoor Key</Entry>
        <
Entry Name="ItemDesc_Key2">This is a DeskDoor key!!</Entry>
        <
Entry Name="ItemName_Key3">Key To Outside/Entry>
        <
Entry Name="ItemDesc_Key3">the key to leave this place!!!</Entry>
</
CATEGORY>

</
LANGUAGE

also, a sound will not appear in my event :

void Lights_Out(string &in asTimer)
{
SetLightVisible("Lamp", false); //The name of your lamp goes here.
SetEntityActive("ScriptArea_1", true); //The script area you want to activate
PlaySoundAtEntity("", "explosion_rock_large.snt", "Lights_Out", 0, false);
}

Everything works fine, the lamp, script area appears, but the sounds doesn't come Sad
04-06-2015, 04:06 PM
Find


Messages In This Thread
My English.Lang file doesn't work?! :( - by Amnesiaplayer - 04-06-2015, 04:06 PM



Users browsing this thread: 1 Guest(s)