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
Need help getting a basic Custom Story to show up in Amnesia
DeadBacon Offline
Junior Member

Posts: 10
Threads: 3
Joined: Nov 2013
Reputation: 0
#1
Need help getting a basic Custom Story to show up in Amnesia

Hello everyone again. I have another problem >.<
I've looked around quite a bit to try and figure it out but I can't seem to find the problem. I'm trying to run a custom story but It won't show up when I open Amnesia. So far I have just the bare bones that everyone says a custom story needs to run.
It looks like this.

redist ->
custom_stories ->
ExampleStory ->
extra_english.lang
custom_story_settings.cfg
maps ->
00_example.hps
00_example.map

extra_english.lang:
<LANGUAGE>
<CATEGORY Name="CustomStoryMain">
<Entry Name="Description">This is an example story. </Entry>
</CATEGORY>
</LANGUAGE>



custom_story_settings.cfg:
<Main
Name = "Our Example Story"
Author = "Bacon"

MapsFolder = "map/"
StartMap = "00_example.map"
StartPos = "PlayerStartArea_1"
/>



00_example.hps:
void OnStart()
{
}

The map file consists of a single room with walls, a floor, and a area of the type "playerstart" named "PlayerStartArea_1"

I know it's a bit much to ask for but if anyone could figure out what's not working I would greatly appreciate it.
-DeadBacon
12-12-2013, 03:18 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#2
RE: Need help getting a basic Custom Story to show up in Amnesia

Your folder is called maps, but you refer to it as "map/" in the custom_story_settings.cfg
It should be "maps/"

Trying is the first step to success.
12-12-2013, 04:07 PM
Find
DeadBacon Offline
Junior Member

Posts: 10
Threads: 3
Joined: Nov 2013
Reputation: 0
#3
RE: Need help getting a basic Custom Story to show up in Amnesia

(12-12-2013, 04:07 PM)FlawlessHair Wrote: Your folder is called maps, but you refer to it as "map/" in the custom_story_settings.cfg
It should be "maps/"

Fixed the maps reference issue and it still won't show up.
12-12-2013, 04:37 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#4
RE: Need help getting a basic Custom Story to show up in Amnesia

In the .hps you should have all of these:

void OnStart()
{

}

void OnEnter()
{

}

void OnLeave()
{

}

Make sure all names are correct. It is possible you have missed a letter.

If not, please send your cs and I'll take a look at it

Trying is the first step to success.
12-12-2013, 05:17 PM
Find
Wapez Offline
Senior Member

Posts: 360
Threads: 37
Joined: Mar 2012
Reputation: 19
#5
RE: Need help getting a basic Custom Story to show up in Amnesia

Not sure this is a necessity, but you might solve the problem by adding an extra line in the custom_story_settings.cfg.

custom_story_settings.cfg:
<Main
Name = "Our Example Story"
Author = "Bacon"
ImgFile=""

MapsFolder = "map/"
StartMap = "00_example.map"
StartPos = "PlayerStartArea_1"
/>

Founder & Legally Accountable Publisher of Red Line Games.
Environment & Gameplay Designer and Scripter.
http://moddb.com/mods/in-lucys-eyes
(This post was last modified: 12-12-2013, 05:19 PM by Wapez.)
12-12-2013, 05:19 PM
Find
DeadBacon Offline
Junior Member

Posts: 10
Threads: 3
Joined: Nov 2013
Reputation: 0
#6
RE: Need help getting a basic Custom Story to show up in Amnesia

(12-12-2013, 05:19 PM)Wapez Wrote: Not sure this is a necessity, but you might solve the problem by adding an extra line in the custom_story_settings.cfg.

custom_story_settings.cfg:
<Main
Name = "Our Example Story"
Author = "Bacon"
ImgFile=""

MapsFolder = "map/"
StartMap = "00_example.map"
StartPos = "PlayerStartArea_1"
/>

Added the line you suggested and still no luck.
Could it be the .map file?
12-12-2013, 05:27 PM
Find
Wapez Offline
Senior Member

Posts: 360
Threads: 37
Joined: Mar 2012
Reputation: 19
#7
RE: Need help getting a basic Custom Story to show up in Amnesia

(12-12-2013, 05:27 PM)DeadBacon Wrote: Added the line you suggested and still no luck.
Could it be the .map file?

Most likely not. Map files are always valid for loading, but might instead provide crashes. This is a script problem.

Founder & Legally Accountable Publisher of Red Line Games.
Environment & Gameplay Designer and Scripter.
http://moddb.com/mods/in-lucys-eyes
12-12-2013, 05:41 PM
Find
daortir Offline
Senior Member

Posts: 422
Threads: 9
Joined: Sep 2013
Reputation: 18
#8
RE: Need help getting a basic Custom Story to show up in Amnesia

I assume you tried to change your profile ? 50% of the time when I run amnesia, my CS won't show up. Then i just reload the profile and yay, it's there. I have no idea why but it works, lawl.

I know it sounds foolish but you might wanna give it a try if you didn't, there's nothing to loose : >

12-12-2013, 06:14 PM
Find
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#9
RE: Need help getting a basic Custom Story to show up in Amnesia

It could be the .map file if you don't have a PlayerStartArea_1 in your map.

Trying is the first step to success.
12-12-2013, 07:37 PM
Find
daortir Offline
Senior Member

Posts: 422
Threads: 9
Joined: Sep 2013
Reputation: 18
#10
RE: Need help getting a basic Custom Story to show up in Amnesia

I think if there's no playerstartarea the game still runs, you just start at 0,0,0 or something ^^ I remember failing that in the very first level I did, when I fell in the darkness I was like "wtf did i forget to do D:"

12-12-2013, 07:47 PM
Find




Users browsing this thread: 1 Guest(s)