Frictional Games Forum (read-only)

Full Version: .lang trouble?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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>
This belongs in the development sub-forum.

Try getting rid of resources.
You have a couple dangling categories (the ones without names).
for example:

<CATEGORY>
<CATEGORY Name="CustomStoryMain">


and

<CATEGORY>
<CATEGORY Name="DeathHint">
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.


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
(01-02-2012, 06:55 AM)Statyk Wrote: [ -> ]nooo, I'm telling you to take them OUT. =P

Ohh, lol.