Frictional Games Forum (read-only)
My English.Lang file doesn't work?! :( - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods - Development (https://www.frictionalgames.com/forum/forum-38.html)
+---- Forum: Development Support (https://www.frictionalgames.com/forum/forum-39.html)
+---- Thread: My English.Lang file doesn't work?! :( (/thread-29803.html)



My English.Lang file doesn't work?! :( - Amnesiaplayer - 04-06-2015

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

this is my Lang file :

PHP Code:
<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


RE: My English.Lang file doesn't work?! :( - Mudbill - 04-06-2015

PHP Code:
<Entry Name="ItemName_Key3">Key To Outside/Entry
Notice something odd?


RE: My English.Lang file doesn't work?! :( - Amnesiaplayer - 04-06-2015

(04-06-2015, 06:20 PM)Mudbill Wrote:
PHP Code:
<Entry Name="ItemName_Key3">Key To Outside/Entry
Notice something odd?

Ow!!! it's the
Outside/Entry>
it's supposed to be Outside</Entry>
Right?!?!


RE: My English.Lang file doesn't work?! :( - Darkfire - 04-06-2015

yes, it is


RE: My English.Lang file doesn't work?! :( - Amnesiaplayer - 04-07-2015

Thanks!! it works now!! i really had to look better.. sorry Sad but about the sound... the rock exploding sound doesn't appear...


RE: My English.Lang file doesn't work?! :( - Radical Batz - 04-07-2015

(04-07-2015, 11:12 AM)Amnesiaplayer Wrote: Thanks!! it works now!! i really had to look better.. sorry Sad but about the sound... the rock exploding sound doesn't appear...

Hmm I can help you on that on this thread, no need to create a new one.
Or you can just add me on skype if you want, if you want further help.


RE: My English.Lang file doesn't work?! :( - Amnesiaplayer - 04-07-2015

(04-07-2015, 11:28 AM)Mr. Badcatz Wrote:
(04-07-2015, 11:12 AM)Amnesiaplayer Wrote: Thanks!! it works now!! i really had to look better.. sorry Sad but about the sound... the rock exploding sound doesn't appear...

Hmm I can help you on that on this thread, no need to create a new one.
Or you can just add me on skype if you want, if you want further help.

i was not going to make a new thread xd i was asking in here Tongue Can i have your skype name?? Smile