Frictional Games Forum (read-only)
.lang trouble? - 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 trouble? (/thread-12264.html)



.lang trouble? - ehovda321 - 01-02-2012


I have spent 2+ hours trying to figure out the problem with my .lang file for my Custom Story...


<LANGUAGE>
<RESOURCES>
</RESOURCES>
<CATEGORY>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Description...</Entry>
</CATEGORY>

<CATEGORY>
<CATEGORY Name="DeathHint">
<Entry Name="DeathH1"> RUN! </Entry>
</CATEGORY>
<CATEGORY Name ="Inventory">

<Entry Name="ItemDesc_keyoftest">Hall Key</Entry>
<Entry Name="ItemName_keyoftest">Hall Key</Entry>
<Entry Name="ItemDesc_secretkey">a Secret Key!</Entry>
<Entry Name="ItemName_secretkey">a Secret Key!</Entry>
<Entry Name="ItemDesc_key2">Storage Key</Entry>
<Entry Name="ItemName_key2">Storage Key</Entry>
</CATEGORY>

<CATEGORY Name="Journal">

<Entry Name="Note_theletter_Name">Letter to William Parker</Entry>
<Entry Name="Note_theletter_Text">Dear William, [br] How are you? We have been wondering how things have been going with Frank, and his experiments. We made it to London, and it is beautiful here. I have never seen anything like this. Anyways, I can't wait to see you! Talk to you soon. [br] [br] Sincerely, [br] Uncle Parker </Entry>
</CATEGORY>

<CATEGORY Name="Levels">
<Entry Name="door_2">Atrium</Entry>
<Entry Name="door_3">Cellars</Entry>
<Entry Name="door_4"Atrium</Entry>
<Entry Name="door_5"Atrium</Entry>
<Entry Name="door_6">Cellars</Entry>
<Entry Name="door1u">Storage</Entry>
</CATEGORY>
</LANGUAGE>


RE: .lang trouble? - flamez3 - 01-02-2012

This belongs in the development sub-forum.

Try getting rid of resources.


RE: .lang trouble? - Your Computer - 01-02-2012

You have a couple dangling categories (the ones without names).


RE: .lang trouble? - Statyk - 01-02-2012

for example:

<CATEGORY>
<CATEGORY Name="CustomStoryMain">


and

<CATEGORY>
<CATEGORY Name="DeathHint">



RE: .lang trouble? - eagledude4 - 01-02-2012

I'm having a similar problem. I can't seem to show a message from my lang file. I followed Statyk's suggestion and added the "<CATEGORY>" tags, but that didn't seem to fix my problem.





RE: .lang trouble? - Statyk - 01-02-2012

nooo, I'm telling you to take them OUT. =P
Also:

<CATEGORY Name="Levels">
<Entry Name="door_2">Atrium</Entry>
<Entry Name="door_3">Cellars</Entry>
<Entry Name="door_4">Atrium</Entry>
<Entry Name="door_5">Atrium</Entry>
<Entry Name="door_6">Cellars</Entry>
<Entry Name="door1u">Storage</Entry>
</CATEGORY>



You are missing closing brackets, highlighted in bold blue


RE: .lang trouble? - eagledude4 - 01-02-2012

(01-02-2012, 06:55 AM)Statyk Wrote: nooo, I'm telling you to take them OUT. =P

Ohh, lol.