Frictional Games Forum (read-only)
[LANG] Adding Notes to Game Broke .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: [LANG] Adding Notes to Game Broke .Lang File (/thread-13065.html)



Adding Notes to Game Broke .Lang File - heyitsrobert97 - 02-03-2012

Hi,
I Recently went about adding notes to my amnesia level but once i did the whole .lang file stopped working.and i don't know why. here is part of my .lang file. the "Journal" category is what is breaking it and i don't know why?

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
You are inside this old house.
</Entry>
<CATEGORY Name="Journal">
<Entry Name="Note_notea_Name">Maids Final Words</Entry>
<Entry Name="Note_notea_Text">To Whom It May Concern [br][br] If you Are Reading This then I am Definately Dead[br]Something Has Murdered Everyone In The House and Now Its Coming For Me.[br]Oh No Its Found Me, Tell My Son I Love Him</Entry>
</CATEGORY>
<CATEGORY Name="Levels">
<Entry Name="leveloneexit">
2nd Floor
</Entry>
</CATEGORY>
</LANGUAGE>

Any Help Would Be AppriciatedWink


RE: Adding Notes to Game Broke .Lang File - Your Computer - 02-03-2012

You forgot to close the CustomStoryMain category.


RE: Adding Notes to Game Broke .Lang File - trollox - 02-03-2012

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
You are inside this old house.
</CATEGORY>

</Entry>
<CATEGORY Name="Journal">
<Entry Name="Note_notea_Name">Maids Final Words</Entry>
<Entry Name="Note_notea_Text">To Whom It May Concern [br][br] If you Are Reading This then I am Definately Dead[br]Something Has Murdered Everyone In The House and Now Its Coming For Me.[br]Oh No Its Found Me, Tell My Son I Love Him</Entry>
</CATEGORY>
<CATEGORY Name="Levels">
<Entry Name="leveloneexit">
2nd Floor
</Entry>
</CATEGORY>
</LANGUAGE>

With out the spance though and it should work.
space*


RE: Adding Notes to Game Broke .Lang File - Your Computer - 02-03-2012

(02-03-2012, 09:45 PM)trollox Wrote: With out the spance though and it should work.

That won't work.


RE: Adding Notes to Game Broke .Lang File - heyitsrobert97 - 02-04-2012

(02-03-2012, 09:45 PM)trollox Wrote: <LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">
You are inside this old house.
</CATEGORY>

</Entry>
<CATEGORY Name="Journal">
<Entry Name="Note_notea_Name">Maids Final Words</Entry>
<Entry Name="Note_notea_Text">To Whom It May Concern [br][br] If you Are Reading This then I am Definately Dead[br]Something Has Murdered Everyone In The House and Now Its Coming For Me.[br]Oh No Its Found Me, Tell My Son I Love Him</Entry>
</CATEGORY>
<CATEGORY Name="Levels">
<Entry Name="leveloneexit">
2nd Floor
</Entry>
</CATEGORY>
</LANGUAGE>

With out the spance though and it should work.
space*
Thanks It WorkedBig Grin I am Such a Stupid Noob!