Frictional Games Forum (read-only)
Custom Stories Will Not Load - 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 (https://www.frictionalgames.com/forum/forum-35.html)
+---- Forum: Technical Support (https://www.frictionalgames.com/forum/forum-37.html)
+---- Thread: Custom Stories Will Not Load (/thread-10332.html)



Custom Stories Will Not Load - joey1245 - 09-15-2011

I've been trying to get a few of my unfinished custom stroies onto my game so I can test them and get them to work, but they don't appear under custom stories. I've got them in that folder though and I think i've got the right folder and script layout. Could anybody tell me the order of the folders and scripts? Or simply why it's not working?


RE: Custom Stories Will Not Loading - AmnesiaIsScary :S - 09-15-2011

You should have the extra_english.lang and the custom_story_settings.cfg in the main story folder.
Then inside a folder called "maps" you put in the "yourmapname.map" and the "yourmapname.hps"

If I Understood this was your question ...



RE: Custom Stories Will Not Loading - joey1245 - 09-15-2011

(09-15-2011, 05:46 PM)AmnesiaIsScary :S Wrote: You should have the extra_english.lang and the custom_story_settings.cfg in the main story folder.
Then inside a folder called "maps" you put in the "yourmapname.map" and the "yourmapname.hps"

If I Understood this was your question ...

Inside the custom stories folder, I have two other folders, one for each map i've got so far. Inside both of those folders, I have a maps folder, then the map the settings and extra english scripts. Do I need to put the scripts in a different folder?



RE: Custom Stories Will Not Loading - Obliviator27 - 09-16-2011

Here's what you want.

in custom_stories
There will be a list of all the stories you have. Select yours.

In [Your Custom Story Name]
There should be at least
- Maps folder
- extra_english.lang
- custom_story_settings.cfg

in Maps
- Levels
- Corresponding .hps files



RE: Custom Stories Will Not Load - joey1245 - 09-16-2011

(09-16-2011, 12:15 AM)Obliviator27 Wrote: Here's what you want.

in custom_stories
There will be a list of all the stories you have. Select yours.

In [Your Custom Story Name]
There should be at least
- Maps folder
- extra_english.lang
- custom_story_settings.cfg

in Maps
- Levels
- Corresponding .hps files

Still didn't work. What exactly should I have in the .hps file?



RE: Custom Stories Will Not Load - Obliviator27 - 09-16-2011

(09-16-2011, 11:20 AM)joey1245 Wrote:
(09-16-2011, 12:15 AM)Obliviator27 Wrote: Here's what you want.

in custom_stories
There will be a list of all the stories you have. Select yours.

In [Your Custom Story Name]
There should be at least
- Maps folder
- extra_english.lang
- custom_story_settings.cfg

in Maps
- Levels
- Corresponding .hps files

Still didn't work. What exactly should I have in the .hps file?
In your .hps file, you want at least this much code.
Code:
void OnStart()
{
}

void OnEnter
{
}

void OnLeave
{
}

In your custom_story_settings, you want
Code:
<Main     
    ImgFile = ""
    Name = "[Custom Story Name]"
    Author = "[Your Name]"

    MapsFolder = "Maps[Or however you have it spelled]"
    StartMap = "[Map to Start at, with .map extension]"
    StartPos = "[The playerstart area]"
/>
And in your extra_english, you're gonna want
Code:
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">[The description for your custom story.</Entry>
</CATEGORY>  
</LANGUAGE>
at bare minimum.