I found some new things for Amnesia - 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) +--- Thread: I found some new things for Amnesia (/thread-53440.html) |
I found some new things for Amnesia - Mudbill - 01-01-2017 I was digging through the Amnesia.exe file using string2 (kudos to Combine for linking it to me) and I found some interesting bits. I was trying to figure out what caused Amnesia - Justine to block the save feature but couldn't find that one. But what I did find was pretty interesting. These two can be used in your custom_story_settings.cfg file to specify the lang file a bit more: Code: ExtraLangFilePrefix = "extra_" So here you can change the name of your lang file. If you don't want it to be named extra_english.lang, you can easily change it now. From what I've tested, it does not seem to work to set ExtraLangFilePrefix as empty. What's even more interesting is that you can use slashes for directories. Code: ExtraLangFilePrefix = "config/lang_main/" I also found a script function by the looks of this: PHP Code: void AddKeyPart(int alKeyPart); RE: I found some new things for Amnesia - Romulator - 01-02-2017 If AddKeyPart(); exists, would it be safe to assume that GetKeyPart(); also exists? RE: I found some new things for Amnesia - Mudbill - 01-02-2017 Try it but I don't think it was listed within the .exe file. It seemed to list every script function on the wiki + that one. Maybe it's an unused function and therefore doesn't have a companion? Edit: I scanned the maps folder and it seems to be used in Justine only. Most of them look like this: PHP Code: AddKeyPart(0x65e5431a); RE: I found some new things for Amnesia - Romulator - 01-02-2017 (01-02-2017, 01:39 AM)Mudbill Wrote: Try it but I don't think it was listed within the .exe file. It seemed to list every script function on the wiki + that one. Maybe it's an unused function and therefore doesn't have a companion? Oh, that's right! I remember seeing that now. Based purely on the placement if I recall where they are in the code, I'm pretty sure the events were linked to the Potato Sack ARG which occurred years ago. If not, then it's global vars for whom you save, don't save, etc. |