Frictional Games Forum (read-only)
[LANG] Small problems - 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] Small problems (/thread-23742.html)



Small problems - Omenapuu - 10-29-2013

Okay, I'm back again with another post ^^. To the point:
---------------
<LANGUAGE>
<RESOURCES>
</RESOURCES>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Nimesi on Mika. Ostit juuri talon, jonka omistaja katosi mystisesti. Tulit katsomaan taloa.</Entry>
</CATEGORY>

<CATEGORY Name="Messages">
<Entry Name="wall1">[br][br][br][br][br]Hmm. Vaikuttaa heikolta. Tarvitsen jotain millä rikkoa sen.</Entry>
<Entry Name="Hammerfirst">Kerran vielä niin se hajoaa.</Entry>
<Entry Name="lock_acid">Lukko näyttää heikolta.</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemName_hammer1">Vasara</Entry>
<Entry Name="ItemDesc_hammer1">Se on vasara..</Entry>
<Entry Name="ItemName_cellarkey">Avain</Entry>
<Entry Name="ItemDesc_cellarkey">Tämä saattaisi olla kellarin avain.</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_letter2_Name">Lappu</Entry>
<Entry Name="Note_letter2_Text">Muistaakseni kellarissa oli työkaluja, joilla[br] voin rikkoa seinän. Samalla voisin etsiä tietoja talon alkuperästä.</Entry>
</CATEGORY>

<CATEGORY Name="Doors">
<Entry Name="outside">Minulla ei ole mitään syytä mennä ulos..</Entry>
<Entry Name="door2">Jossain täällä on avain.</Entry>
</CATEGORY>

</LANGUAGE>
-----------------------

So yeah, there is my .lang file. It worked fine earlier, then I added a few codes, can't exactly remember which, and it broke. Then I modified it to this to check where is an error:
---------------
<LANGUAGE>
<RESOURCES>
</RESOURCES>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">Nimesi on Mika. Ostit juuri talon, jonka omistaja katosi mystisesti. Tulit katsomaan taloa.</Entry>
</CATEGORY>

</LANGUAGE>
------------
Still an error. I can't find it, probably easy but I just.. CAN'T find it :c
Thanks for any help Smile


RE: Small problems - PutraenusAlivius - 10-30-2013

If I recall correctly, special letters are usually NOT allowed in the .lang file.


RE: Small problems - Omenapuu - 10-30-2013

(10-30-2013, 07:28 AM)JustAnotherPlayer Wrote: If I recall correctly, special letters are usually NOT allowed in the .lang file.

Do you mean with special letters stuff like Ä and Ö and those, or could you specify which cause I'm not sure? Wink Thanks, I appreciate alot


RE: Small problems - PutraenusAlivius - 10-30-2013

(10-30-2013, 03:13 PM)Omenapuu Wrote:
(10-30-2013, 07:28 AM)JustAnotherPlayer Wrote: If I recall correctly, special letters are usually NOT allowed in the .lang file.

Do you mean with special letters stuff like Ä and Ö and those, or could you specify which cause I'm not sure? Wink Thanks, I appreciate alot

Yeah like that.


RE: Small problems - Omenapuu - 10-30-2013

(10-30-2013, 03:44 PM)JustAnotherPlayer Wrote:
(10-30-2013, 03:13 PM)Omenapuu Wrote:
(10-30-2013, 07:28 AM)JustAnotherPlayer Wrote: If I recall correctly, special letters are usually NOT allowed in the .lang file.

Do you mean with special letters stuff like Ä and Ö and those, or could you specify which cause I'm not sure? Wink Thanks, I appreciate alot

Yeah like that.

Uhmm, I fixed that but it's still bugging.. It's named properly, I think everything should work, but doesn't. If you could check it over, or easier, just post an original non-edited .lang file Smile


RE: Small problems - The chaser - 10-30-2013

I don't see any XML syntax error, so I think it could be the "Doors" category. Change it to "Levels", and try if it works Smile


RE: Small problems - Omenapuu - 10-30-2013

(10-30-2013, 06:24 PM)The chaser Wrote: I don't see any XML syntax error, so I think it could be the "Doors" category. Change it to "Levels", and try if it works :)

Well, this is probably my luck. I tried with "Levels", didn't work either..
And btw, I had earlier ä and ö's there, did work fine. I guess this is just bugging or something..