Frictional Games Forum (read-only)
New To Scripting - 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: New To Scripting (/thread-21599.html)

Pages: 1 2 3


RE: New To Scripting - PutraenusAlivius - 05-25-2013

Restart that shit man.


RE: New To Scripting - Romulator - 05-25-2013

(05-25-2013, 03:15 PM)ohheylookitsmax Wrote:
(05-25-2013, 04:56 AM)ROMul8r Wrote: Yep. Worked just fine.
Well, I'm no perfectionist when it come to mapping but one thing I can definitely suggest is making your chest with the lantern and tinderboxes etc a little smaller in height, so I don't have to jump into it to grab everything Smile

Oh yeah I remember that haha. I meant to change that xD.
Wow that's really odd because my Amnesia won't load the extra_english.lang file for whatever reason. :/ This is a really odd occurrence. I suppose I'm on my own with this one. :/

The only thing I think you can do to try off the top of my head is to delete the .map_cache file. That's the only thing I deleted minus creating a "custom_story_settings.cfg" file with these:
Code:
<Main
    ImgFile=""
    Name = "Test"
    Author = "Author"
    MapsFolder = "maps/"
    StartMap = "curious.map"
    StartPos = "PlayerStartArea_1"
/>
And placing the curious.map folder into a "maps" folder within the custom story.

So it looks kinda like this:
Code:
custom_stories
  |-Test
       |-maps
            |-curious.map
       |-custom_story_settings.cfg
       |-extra_english.lang



RE: New To Scripting - ohheylookitsmax - 05-25-2013

(05-25-2013, 04:01 PM)ROMul8r Wrote:
(05-25-2013, 03:15 PM)ohheylookitsmax Wrote:
(05-25-2013, 04:56 AM)ROMul8r Wrote: Yep. Worked just fine.
Well, I'm no perfectionist when it come to mapping but one thing I can definitely suggest is making your chest with the lantern and tinderboxes etc a little smaller in height, so I don't have to jump into it to grab everything Smile

Oh yeah I remember that haha. I meant to change that xD.
Wow that's really odd because my Amnesia won't load the extra_english.lang file for whatever reason. :/ This is a really odd occurrence. I suppose I'm on my own with this one. :/

The only thing I think you can do to try off the top of my head is to delete the .map_cache file. That's the only thing I deleted minus creating a "custom_story_settings.cfg" file with these:
Code:
<Main
    ImgFile=""
    Name = "Test"
    Author = "Author"
    MapsFolder = "maps/"
    StartMap = "curious.map"
    StartPos = "PlayerStartArea_1"
/>
And placing the curious.map folder into a "maps" folder within the custom story.

So it looks kinda like this:
Code:
custom_stories
  |-Test
       |-maps
            |-curious.map
       |-custom_story_settings.cfg
       |-extra_english.lang

I discovered from my hpl log that there is an error reading the extra_english.lang file for some reason. :/ Here it is:
Setting profile: 'Maxwell' Path: 'C:\Users\Max\Documents/Amnesia/Main/Maxwell/'
Error creating custom story from path "custom_stories/Amnesia Custom story pack" : could not find start map.
ERROR: Couldn't load language file 'custom_stories/TheCuriousLifeofWilliamThomas/extra_english.lang'
WARNING: Could not find language file category 'CustomStoryMain'
Error creating custom story from path "custom_stories/Amnesia Custom story pack" : could not find start map.
Saving user config.
Setting profile: 'Test' Path: 'C:\Users\Max\Documents/Amnesia/Main/Test/'
Error creating custom story from path "custom_stories/Amnesia Custom story pack" : could not find start map.
ERROR: Couldn't load language file 'custom_stories/TheCuriousLifeofWilliamThomas/extra_english.lang'
WARNING: Could not find language file category 'CustomStoryMain'
Error creating custom story from path "custom_stories/Amnesia Custom story pack" : could not find start map.
Saving user config.
Setting profile: 'Maxwell' Path: 'C:\Users\Max\Documents/Amnesia/Main/Maxwell/'


RE: New To Scripting - Romulator - 05-25-2013

Do you have a custom_story_settings.cfg file in your CS directory? Similar to mine above?
Edit: 250 posts Smile


RE: New To Scripting - ohheylookitsmax - 05-25-2013

(05-25-2013, 04:17 PM)ROMul8r Wrote: Do you have a custom_story_settings.cfg file in your CS directory? Similar to mine above?
Edit: 250 posts Smile

Yes. If you open the zip file i attached, my custom_story_settings.cfg is in there. Also... idk if this helps or not but i found this:
ERROR: Unable to open config file 'C:/Users/Max/Documents/HPL2/ModelEditor.cfg'! Invalid filepointer returned!

(05-25-2013, 04:17 PM)ROMul8r Wrote: Do you have a custom_story_settings.cfg file in your CS directory? Similar to mine above?
Edit: 250 posts Smile

I FIGURED IT OUT! I had my .lang file in the wrong place. I had it in my map folder when it should have been outside the map folder with the custom_story_settings. I feel like such a dunce! THANKS EVERYONE FOR THE HELP!


RE: New To Scripting - Romulator - 05-25-2013

Haha, welcome Smile Good job on getting it fixed Big Grin
If you have more questions, just ask the forum Smile Good luck with your CS!


RE: New To Scripting - Your Computer - 05-25-2013

(05-25-2013, 04:28 PM)ohheylookitsmax Wrote: Yes. If you open the zip file i attached, my custom_story_settings.cfg is in there.

It's not in there, but that's likely 'cause you have files in the VirtualStore folder.


RE: New To Scripting - ohheylookitsmax - 05-25-2013

(05-25-2013, 04:50 PM)Your Computer Wrote:
(05-25-2013, 04:28 PM)ohheylookitsmax Wrote: Yes. If you open the zip file i attached, my custom_story_settings.cfg is in there.

It's not in there, but that's likely 'cause you have files in the VirtualStore folder.

I just forgot to put the custom_story_settings.cfg file in the zip folder. my bad Confused

(05-25-2013, 04:42 PM)ROMul8r Wrote: Haha, welcome Smile Good job on getting it fixed Big Grin
If you have more questions, just ask the forum Smile Good luck with your CS!

Thanks so much! If you (or anyone else) want(s) to beta test it before I upload it to MODDB.com, let me know and I'll shoot you a PM when it's in the final stages!