Frictional Games Forum (read-only)
CS extra_english_lang not working?!? - 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: CS extra_english_lang not working?!? (/thread-29897.html)

Pages: 1 2 3


CS extra_english_lang not working?!? - ClaryXII - 05-05-2015

Hello,

I'm making a CS and want to add the messages etc.
But when I load the game none of them work.
Can somebody please help me?

Gr, ClaryXII

(the code) \/

<LANGUAGE>

<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You are Danny, a 12 year old kid. When you wake up in night you see your father is gone, you are searching, and than you see what his hobby is..</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_item1">The key to unlock the bedroom door</Entry>
<Entry Name="ItemName_item1">Bedroom Key</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_School_Name">Tell about your self(for school)</Entry>
<Entry Name="Note_School_Text"<[voice.ogg][br]Danny Parker [br] I'm Danny Parker, I'm 12 years old. [br] [br] I live with my dad, my mom died with my birth. [br] I sleep in the same room and bed as my dad. [br] I like to play outside with my friends. [br] I don't know what my dad does for work. [br] [br] Greetings, [br] [br] Danny Parker </Entry>
</CATEGORY>

<CATEGORY Name=“LockedLevelDoor”>
<Entry Name =“Bedroom”>The door is locked, why did dad left me behind?</Entry>
</CATEGORY>

</LANGUAGE>


RE: CS extra_english_lang not working?!? - Mudbill - 05-05-2015

The quotes in your bottom category have an odd format to them. If you look closely, they are shifted right and left. They surely aren't parsing as proper quotes and therefore fail to load the file.

Delete those and replace them by adding new " signs. Make sure to not use a rich text editor like WordPad.


RE: CS extra_english_lang not working?!? - ClaryXII - 08-10-2015

(05-05-2015, 04:55 PM)Mugbill Wrote: The quotes in your bottom category have an odd format to them. If you look closely, they are shifted right and left. They surely aren't parsing as proper quotes and therefore fail to load the file.

Delete those and replace them by adding new " signs. Make sure to not use a rich text editor like WordPad.

Thx, I tried this but it still doesn't load any of the texts ingame..
Got some more tips?


RE: CS extra_english_lang not working?!? - Mudbill - 08-10-2015

Could you post your updated lang contents?


RE: CS extra_english_lang not working?!? - ClaryXII - 08-10-2015

(08-10-2015, 01:55 PM)Mugbill Wrote: Could you post your updated lang contents?

Damn fast reply Big Grin
I added some texts btw,

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You are Danny, a 12 year old kid. When you wake up in night you see your father is gone, you are searching, and than you see what his hobby is..</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<!-- TheMansion -->
<Entry Name="ItemDesc_item1">The key to unlock the bedroom door</Entry>
<Entry Name="ItemName_item1">Bedroom Key</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<!-- Notes -->
<!-- TheMansion -->
<Entry Name="Note_School_Name">Tell about your self(for school)</Entry>
<Entry Name="Note_School_Text"<[voice.ogg][br]Danny Parker [br] I'm Danny Parker, I'm 12 years old. [br] [br] I live with my dad, my mom died with my birth. [br] I sleep in the same room and bed as my dad. [br] I like to play outside with my friends. [br] I don't know what my dad does for work. [br] [br] Greetings, [br] [br] Danny Parker </Entry>
</CATEGORY>

<CATEGORY Name="LockedLevelDoor">
<!-- TheMansion -->
<Entry Name ="Bedroom">The door is locked, why did dad left me behind?</Entry>
<Entry Name ="Street">It's night, so daddy locked it..</Entry?
</CATEGORY>
</LANGUAGE>


RE: CS extra_english_lang not working?!? - Slanderous - 08-10-2015

If all fails, you can try using a .lang file I just made.


RE: CS extra_english_lang not working?!? - FlawlessHappiness - 08-10-2015

Now I'm not sure... But could it be possible that it works if
Quote:<!-- TheMansion -->
and
Quote:<!-- Notes -->
were deleted


EDIT:
I also found a typo
Quote:</Entry?
It's in the "LockedLevelDoor" category.
This one would definitely cause problems.


RE: CS extra_english_lang not working?!? - Mudbill - 08-10-2015

I'm not sure if those comments work. They might, they might not. I usually make comments using // because that does work for sure. If the typo doesn't fix it, try putting // in front of the lines you use for comments.


RE: CS extra_english_lang not working?!? - ClaryXII - 08-10-2015

I fixed the typo, removed all the comments, still doesnt works..

<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">You are Danny, a 12 year old kid. When you wake up in night you see your father is gone, you are searching, and than you see what his hobby is..</Entry>
</CATEGORY>

<CATEGORY Name="Inventory">
<Entry Name="ItemDesc_item1">The key to unlock the bedroom door</Entry>
<Entry Name="ItemName_item1">Bedroom Key</Entry>
</CATEGORY>

<CATEGORY Name="Journal">
<Entry Name="Note_School_Name">Tell about your self(for school)</Entry>
<Entry Name="Note_School_Text"<[voice.ogg][br]Danny Parker [br] I'm Danny Parker, I'm 12 years old. [br] [br] I live with my dad, my mom died with my birth. [br] I sleep in the same room and bed as my dad. [br] I like to play outside with my friends. [br] I don't know what my dad does for work. [br] [br] Greetings, [br] [br] Danny Parker </Entry>
</CATEGORY>

<CATEGORY Name="LockedLevelDoor">
<Entry Name ="Bedroom">The door is locked, why did dad left me behind?</Entry>
<Entry Name ="Street">It's night, so daddy locked it..</Entry>
</CATEGORY>
</LANGUAGE>

Dunno if it works, but maybe it works of one of you guys make the lang with this in it


RE: CS extra_english_lang not working?!? - FlawlessHappiness - 08-10-2015

Found another typo
Quote:<Entry Name="Note_School_Text"<[voice.ogg]