Frictional Games Forum
Need help with Custom Story death hints - Printable Version

+- Frictional Games Forum (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Need help with Custom Story death hints (/thread-56368.html)



Need help with Custom Story death hints - Andris - 05-23-2019

To make death hints in my Amnesia Custom Story I created a new category called "Hints" in extra_english.lang file and added some entries. But when I started the map, a debug message was shown: "Couldn't load language file extra_english.lang". All notes in the map were blank and main Custom Story description was missing. I removed the "Hints" category and placed entries in a "CustomStoryMain" category but it didn't work as well. Everything works fine without "Hints" category.

I use SetDeathHint() function so it doesn't really matter where you put your death hints, I guess.

I am pretty new to Custom Story creation therefore any help is appreciated.


RE: Need help with Custom Story death hints - Mudbill - 05-23-2019

You must've written the Hints category using wrong syntax. If you have an error in the lang file, it fails to load and thus all text becomes blank.
If you paste here what you tried to add, maybe we can see the issue.


RE: Need help with Custom Story death hints - Andris - 05-24-2019

(05-23-2019, 11:44 PM)Mudbill Wrote: You must've written the Hints category using wrong syntax. If you have an error in the lang file, it fails to load and thus all text becomes blank.
If you paste here what you tried to add, maybe we can see the issue.
Ok, this is what I wrote in .lang file.

Code:
<CATEGORY Name="Hints">
    <Entry Name="01ToxicGas">Run and do not stop!<Entry/>
    <Entry Name="01SteamLeakage">Be Careful...<Entry/>
<CATEGORY/>



RE: Need help with Custom Story death hints - Mudbill - 05-24-2019

You placed the slashes incorrectly. It's supposed to be /Entry and /Category, not Entry/ and Category/. Put them before.