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
Trouble With Story Setup
xVJx Offline
Junior Member

Posts: 5
Threads: 1
Joined: Jun 2011
Reputation: 0
#1
Trouble With Story Setup

So currently i'm trying to get together a custom story and get into map making for amnesia as you can tell. However despite reading a few script setups and what not for the custom story, it still fails to show up in the stories list when I start up the game.

The below screen shot shows where the custom story folder is located, the current scripts, and what they have in them.

http://i104.photobucket.com/albums/m166/...0/halp.jpg

The map does have a script, but no special commands yet since i'm not there yet, and I'd like for the map to work before putting effort into it only for it to not run.
06-27-2011, 03:42 AM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#2
RE: Trouble With Story Setup

Oh, I see the problem. It should be " StartMap"="work.map" " in your "custom_story_settings.cfg".

I hope it works for you. Smile

(This post was last modified: 06-27-2011, 04:04 AM by Kyle.)
06-27-2011, 04:02 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#3
RE: Trouble With Story Setup

Also you should specify your player start position.

06-27-2011, 04:11 AM
Website Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#4
RE: Trouble With Story Setup

(06-27-2011, 04:11 AM)Tanshaydar Wrote: Also you should specify your player start position.

I don't think it's needed; I'm pretty sure I saw it like that in someone else's custom story and it worked fine. Smile

06-27-2011, 04:13 AM
Find
Tanshaydar Offline
From Beyond

Posts: 3,085
Threads: 17
Joined: Mar 2009
Reputation: 67
#5
RE: Trouble With Story Setup

Not a must, but needed if you have more than one playerstart area

06-27-2011, 04:18 AM
Website Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#6
RE: Trouble With Story Setup

(06-27-2011, 04:18 AM)Tanshaydar Wrote: Not a must, but needed if you have more than one playerstart area

True, as I do that for my custom stories anyhow. Tongue

06-27-2011, 04:24 AM
Find
xVJx Offline
Junior Member

Posts: 5
Threads: 1
Joined: Jun 2011
Reputation: 0
#7
RE: Trouble With Story Setup

Still doesnt work sadly, I did what you both said. So I really dont know what on earth i'm doing wrong.
06-27-2011, 04:51 AM
Find
Kyle Offline
Posting Freak

Posts: 911
Threads: 36
Joined: Sep 2010
Reputation: 7
#8
RE: Trouble With Story Setup

Make sure your "custom_story_settings.cfg" looks like this:

<Main
    ImgFile = ""
    Name = "Escape"
    Author = "VJ"

    MapsFolder = "maps/"
    StartMap = "work.map"
    StartPos = "PlayerStartArea_1"
/>

In your "maps" folder, you should have 2 files, "work.map" and "work.hps".

Also make sure that the endings of all of those files don't somehow be ".txt". Just making sure, but I think you already had it right. Tongue

For your custom story to work, you need, editable in the "LevelEditor", "work.map" to have a plane (something for the player to stand on) and in the "Areas" category, place a "PlayerStartArea" on the plane. It should now be called "PlayerStartArea_1" like it says in the "custom_story_settings.cfg".

How with the file called "wall.hps" (and yes it has to have the same name as the level), you need to open it with Notepad or Notepad++ and type this in:

void OnStart()
{

}

That's all you need for it to run. I hope it helps. Smile

06-27-2011, 01:20 PM
Find
rojkish Offline
Junior Member

Posts: 45
Threads: 0
Joined: Jun 2011
Reputation: 0
#9
RE: Trouble With Story Setup

Nvm, it's a bit wierd actually.
(This post was last modified: 06-27-2011, 09:01 PM by rojkish.)
06-27-2011, 09:00 PM
Find
xVJx Offline
Junior Member

Posts: 5
Threads: 1
Joined: Jun 2011
Reputation: 0
#10
RE: Trouble With Story Setup

Did everything you said again Kyle. No luck sadly. It really frustraits me why It wont simply work.

Edit: So I did a test on creating a new custom story (just a map with floor and a light) and that worked. I'm just wondering why the one I mentioned here isnt working. Maybe it's something in the map?
(This post was last modified: 06-28-2011, 03:15 AM by xVJx.)
06-28-2011, 03:02 AM
Find




Users browsing this thread: 2 Guest(s)