Frictional Games Forum (read-only)
[LANG] extra_english.lang not loading/working - 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: [LANG] extra_english.lang not loading/working (/thread-12586.html)



extra_english.lang not loading/working - Ermu - 01-14-2012

Hey!

Soo the problem is in my extra_english.lang file, i got subtitles and the Custom Story description in there, but none of them is shown in-game/custom story loader.

Lang:
<LANGUAGE>

<CATEGORY Name="CustomStoryMain">

<Entry Name="Description">To be done...</Entry>

</CATEGORY>

<CATEGORY Name="01_Outside">
<Entry Name="01_Outside_1> Ahh... Almost at the castle, i wonder what happened there. They sent me an urgent telegram, telling me to get here as soon as possible, but they didn't say where they need me. </Entry>
<Entry Name="01_Outside_2> What a lovely moonshiny sky and good weather for travelling! </Entry>
<Entry Name="01_Outside_3> What was that? </Entry>
<Entry Name="01_Outside_4> Probably a squirrel or some other wood critter. </Entry>
<Entry Name="01_Outside_5> WHAT WAS THAT?! </Entry>
<Entry Name="01_Outside_6> WHAT THE HELL IS THAT THING?! </Entry>
<Entry Name="01_Outside_7> OH GOD! It's coming after me! </Entry>
<Entry Name="01_Outside_8> *POOF* What happened? </Entry>
<Entry Name="01_Outside_9> It vanished! </Entry>
<Entry Name="01_Outside_10> I better get inside before it comes back! I wonder what that was? Some kind of a prank? </Entry>
</CATEGORY>




</LANGUAGE>
the .lang is inside:
C:\Program Files (x86)\Steam\steamapps\common\amnesia the dark descent\custom_stories\customstoryname


RE: extra_english.lang not loading/working - SilentStriker - 01-14-2012

for the subtitles have you got a working setmessage code?



RE: extra_english.lang not loading/working - Ermu - 01-14-2012

(01-14-2012, 01:43 PM)SilentStriker Wrote: for the subtitles have you got a working setmessage code?
SetMessage("01_Outside", "01_Outside_1", 0);

Example of one, all of them are basically the same, only the Entry name changed.


RE: extra_english.lang not loading/working - flamez3 - 01-14-2012

You are not closing the quotations.

From this:

<Entry Name="01_Outside_2>


To this

<Entry Name="01_Outside_2">



RE: extra_english.lang not loading/working - Ermu - 01-14-2012

(01-14-2012, 01:45 PM)flamez3 Wrote: You are not closing the quotations.

From this:


That was the problem, thanks!
I just can't understand how i didn't see that...


RE: extra_english.lang not loading/working - MulleDK19 - 01-15-2012

(01-14-2012, 01:50 PM)Ermu Wrote:
(01-14-2012, 01:45 PM)flamez3 Wrote: You are not closing the quotations.

From this:


That was the problem, thanks!
I just can't understand how i didn't see that...
For the future:
http://www.frictionalgames.com/forum/thread-4765.html