Frictional Games Forum (read-only)
My custom story will not show up in the game! - 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: My custom story will not show up in the game! (/thread-25820.html)

Pages: 1 2


RE: My custom story will not show up in the game! - PutraenusAlivius - 08-07-2014

You forgot to say where is the folder that contains the map.
This is a good example of the CS settings cfg.
Spoiler below!

PHP Code:
<Main 
    ImgFile 
"background.jpg" 
    
Name "A Forgotten Memory" 
    
Author "SomethingRidiculous" 
    
    
MapsFolder "maps/" 
    
StartMap "afm_intro.map" 
    
StartPos "PlayerStartArea_1" 
/> 
DON'T USE THIS -- DON'T USE THIS -- DON'T USE THIS
PLEASE USE THE TEMPLATE BELOW INSTEAD


This is the template:
Spoiler below!

PHP Code:
<Main 
    ImgFile 
"backgroundimage.jpg" 
    
Name "CustomStoryName" 
    
Author "AuthorName" 
    
    
MapsFolder "maps/" 
    
StartMap "mapname.map" 
    
StartPos "PlayerStartArea_1" 
/> 




RE: My custom story will not show up in the game! - Lizard - 08-07-2014

Yeah normally you that, but his map isn't in a folder called maps. it is in a folder called Butcher Manor

So for him it should be:

Spoiler below!
<Main
ImgFile = "backgroundimage.jpg"
Name = "CustomStoryName"
Author = "AuthorName"

MapsFolder = "Butcher Manor/"
StartMap = "mapname.map"
StartPos = "PlayerStartArea_1"
/>




RE: My custom story will not show up in the game! - PutraenusAlivius - 08-07-2014

(08-07-2014, 09:12 AM)ZereboO Wrote: Yeah normally you that, but his map isn't in a folder called maps. it is in a folder called Butcher Manor

So for him it should be:

Spoiler below!
<Main
ImgFile = "backgroundimage.jpg"
Name = "CustomStoryName"
Author = "AuthorName"

MapsFolder = "Butcher Manor"
StartMap = "mapname.map"
StartPos = "PlayerStartArea_1"
/>


Well that's odd. If I'm not mistaken, the maps HAS TO BE in the maps folder inside the CS since the CS settings cfg checks INSIDE the folder, NOT THE FOLDER ITSELF.


RE: My custom story will not show up in the game! - Lizard - 08-07-2014

that was the reason it did't have the MapsFolder in my repley earlier since the maps already was in the default folder that the CS cfg is searching in.


The reason for my last reply was simple to show that the MapsFolder option wasn't needed, but should have used words instead.


Also DaPuprpleHippo.

I can see that your map is in a folder callded Buthcer Manor, but in your cfg file you map name is "ButcherManor" without the space. I dont know if that causes it not to show, but try to make you CS folder and the CS name in your cfg file match each other


RE: My custom story will not show up in the game! - Mudbill - 08-07-2014

I wonder why it took so long to just say "place the map file inside a maps folder, next to your config file."

It should look like this:

Code:
Amnesia root
    custom_stories
        yourfoldername
            custom_story_settings.cfg
            extra_english.lang
            image.jpg
            maps (folder)
                level.map
                level.hps

The image and lang file, along with the hps script file are not needed to make a working custom story.


RE: My custom story will not show up in the game! - DaPurpleHippo - 08-07-2014

Thanks again everyone for the replies. Just woke up so I tried the suggestions. I'm including a pic of the locations of the files as well as the new script for the cfg file. Testing it now


And it works! Thank you guys so much. It was just the details tripping me up. I'm new to scripting and this sort of level creation, and can now test my maps. Thanks again!