Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
My custom story will not show up in the game!
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#11
RE: My custom story will not show up in the game!

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: (Select All)
<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: (Select All)
<Main 
    ImgFile 
"backgroundimage.jpg" 
    
Name "CustomStoryName" 
    
Author "AuthorName" 
    
    
MapsFolder "maps/" 
    
StartMap "mapname.map" 
    
StartPos "PlayerStartArea_1" 
/> 


"Veni, vidi, vici."
"I came, I saw, I conquered."
(This post was last modified: 08-07-2014, 09:05 AM by PutraenusAlivius.)
08-07-2014, 09:04 AM
Find
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#12
RE: My custom story will not show up in the game!

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"
/>


CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 08-07-2014, 09:14 AM by Lizard.)
08-07-2014, 09:12 AM
Find
PutraenusAlivius Offline
Posting Freak

Posts: 4,713
Threads: 75
Joined: Dec 2012
Reputation: 119
#13
RE: My custom story will not show up in the game!

(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.

"Veni, vidi, vici."
"I came, I saw, I conquered."
08-07-2014, 09:14 AM
Find
Lizard Offline
Member

Posts: 174
Threads: 23
Joined: Jul 2012
Reputation: 5
#14
RE: My custom story will not show up in the game!

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

CURRENT PROJECT:
A Fathers Secret == Just started
(This post was last modified: 08-07-2014, 09:26 AM by Lizard.)
08-07-2014, 09:18 AM
Find
Mudbill Offline
Muderator

Posts: 3,881
Threads: 59
Joined: Apr 2013
Reputation: 179
#15
RE: My custom story will not show up in the game!

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:

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.

(This post was last modified: 08-07-2014, 08:58 PM by Mudbill.)
08-07-2014, 08:57 PM
Find
DaPurpleHippo Offline
Junior Member

Posts: 9
Threads: 2
Joined: Aug 2014
Reputation: 0
#16
RE: My custom story will not show up in the game!

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!


Attached Files
.png   Screen Shot 2014-08-07 at 1.19.22 PM.png (Size: 157.35 KB / Downloads: 129)
(This post was last modified: 08-07-2014, 09:41 PM by DaPurpleHippo.)
08-07-2014, 09:22 PM
Find




Users browsing this thread: 3 Guest(s)