Frictional Games Forum (read-only)
Notes 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: Notes not working. (/thread-11934.html)



Notes not working. - MikkoK - 12-18-2011

I'm trying to create a custom story and been struggling with a problem with notes, it does'nt show any text when I open the note in the game. I really need help :/
Here is my extra_english.lang
Code:
<LANGUAGE>
    <CATEGORY Name="CustomStoryMain">
        <Entry Name="Description">A test description.</Entry>
    </CATEGORY>
<CATEGORY Name="Journal">
        <Entry Name="Note_theletter_Name">note</Entry>
        <Entry Name="Note_theletter_Text">testing testing</Entry>
    </CATEGORY>

</LANGUAGE>

And here is pic from the editor:
[Image: HAz8u.jpg]



RE: Notes not working. - Statyk - 12-18-2011

This MAY be it... Try deleting the "CustomSubItemTypeName". It's not really necessary.

As the game is reading it now, it's trying to use the .lang in TWO areas, which I'm guessing in this case... Instead of applying to both, it cancels out. just leave it empty



RE: Notes not working. - MikkoK - 12-18-2011

(12-18-2011, 11:00 PM)Statyk Wrote: This MAY be it... Try deleting the "CustomSubItemTypeName". It's not really necessary.

As the game is reading it now, it's trying to use the .lang in TWO areas, which I'm guessing in this case... Instead of applying to both, it cancels out. just leave it empty
Tried it, still not working :/

I also tried things from this thread: http://www.frictionalgames.com/forum/newreply.php?tid=11934&pid=105970



RE: Notes not working. - palistov - 12-19-2011

Is that your whole lang file? Also, try deleting the map_cache file (close Amnesia first).


RE: Notes not working. - MikkoK - 12-19-2011

(12-19-2011, 01:13 AM)palistov Wrote: Is that your whole lang file? Also, try deleting the map_cache file (close Amnesia first).
It started to work! Thanks for the help Smile
Yeah, that is the whole lang file cause the map only has a few rooms now.


RE: Notes not working. - palistov - 12-19-2011

If you ever experience problems, first thing you should do is close Amnesia and delete the map_cache Smile
A lot of simple scratch-your-head problems are because of the map cache.


RE: Notes not working. - MikkoK - 12-19-2011

(12-19-2011, 03:00 AM)palistov Wrote: If you ever experience problems, first thing you should do is close Amnesia and delete the map_cache Smile
A lot of simple scratch-your-head problems are because of the map cache.
Have to remember to do that first when facing problems for now on. I was wrestling with this problem for about 4 hours Big Grin