Frictional Games Forum (read-only)
Whats wrong with my .lang file? - 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: Whats wrong with my .lang file? (/thread-16411.html)



Whats wrong with my .lang file? - Bierton - 06-22-2012

Me again (: and expect me to return as I am useless at creating custom stories but SLOWLY learing.


My problem now is that I have recently added a momento entry command on both my .lang file and my level .hps file. The problem being is that now the .lang file doesn't work as my description of the map does not appear when i view it on the in game menu. Here is the current .lang file:


<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
You have travelled to a remote deserted castle on the far outskirts of a small town called Dronfield. Numerous people have gone missing in this area and your curiosity has got the better of you, What lies inside these ruins that could cause these disappearings?
</Entry>
</CATEGORY>

</CATEGORY Name="Journal">
<EntryName="Quest_Door_Text">Who put a blockade here?</Entry>
</CATEGORY>


</LANGUAGE>

Any help?



RE: Whats wrong with my .lang file? - Traggey - 06-22-2012

Moved to development support.


RE: Whats wrong with my .lang file? - MaZiCUT - 06-22-2012

It should work 100% now
<LANGUAGE>
<RESOURCES>
</RESOURCES>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You have travelled to a remote deserted castle on the far outskirts of a small town called Dronfield. Numerous people have gone missing in this area and your curiosity has got the better of you, What lies inside these ruins that could cause these disappearings?</Entry>
</CATEGORY>

</CATEGORY Name="Journal">
<Entry Name="Quest_Door_Text">Who put a blockade here?</Entry>
</CATEGORY>
</LANGUAGE>



RE: Whats wrong with my .lang file? - Cruzore - 06-22-2012

</CATEGORY Name="Journal">
<EntryName="Quest_Door_Text">Who put a blockade here?</Entry>
</CATEGORY>
the initiation of the category is not with a slash, only the end is. Also, Entryname is to be seperated. So the correct one is:
<CATEGORY Name="Journal">
<Entry Name="Quest_Door_Text">Who put a blockade here?</Entry>
</CATEGORY>
That should be all. You don't need to initiate resources(?), since I also didn't do it and it works fine for me.


RE: Whats wrong with my .lang file? - Bierton - 06-22-2012

Thanks for all the help guys (: turns out it was the "/" that was causing all the trouble for me.

Expect to hear from me again as I am new and useless at this XD.