Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Need help with Custom Story death hints
Andris Offline
Junior Member

Posts: 3
Threads: 2
Joined: May 2019
Reputation: 0
#1
Need help with Custom Story death hints

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.
05-23-2019, 05:33 PM
Find Reply
Mudbill Offline
Muderator

Posts: 3,807
Threads: 59
Joined: Apr 2013
Reputation: 177
#2
RE: Need help with Custom Story death hints

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.

05-23-2019, 11:44 PM
Find Reply
Andris Offline
Junior Member

Posts: 3
Threads: 2
Joined: May 2019
Reputation: 0
#3
RE: Need help with Custom Story death hints

(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.

<CATEGORY Name="Hints">
    <Entry Name="01ToxicGas">Run and do not stop!<Entry/>
    <Entry Name="01SteamLeakage">Be Careful...<Entry/>
<CATEGORY/>
(This post was last modified: 05-24-2019, 11:40 AM by Andris.)
05-24-2019, 11:39 AM
Find Reply
Mudbill Offline
Muderator

Posts: 3,807
Threads: 59
Joined: Apr 2013
Reputation: 177
#4
RE: Need help with Custom Story death hints

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

05-24-2019, 09:43 PM
Find Reply




Users browsing this thread: 1 Guest(s)