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
Level Editor Help Can't find own custom story
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#1
Can't find own custom story


This is how it looks in the folders[Image: 25jf2us.png]

Custom_map_settings.cfg:

<Main
Name = "Firstmap"
Author = "Beecake"

MapFolder = "newmap/maps/"
StartMap = "newmap.map"
StartPos = "PlayerStartArea_1"
/>

Newmap.hps:

Void Onstart()
{
}

I followed this video:
http://www.youtube.com/watch?v=0grr7uipnk0


I can't see my map ingame in custom stories!
What do i do wrong?

Trying is the first step to success.
03-07-2012, 09:40 PM
Find Reply
Tiiwh Offline
Junior Member

Posts: 47
Threads: 6
Joined: Nov 2011
Reputation: 1
#2
RE: Can't find own custom story

1. Change the Mapfolder text to this: "MapsFolder = "maps/". And make sure you have an area in your level editor which is the start area called "PlayerStartArea_1".

2. Doubleclick on your folder "maps" and create a hps file in there which has the same name as your map (which I believe is "newmap"?) / or just put that hps file you have already created into your "maps" folder.

And in your hps file put these things:

void OnStart()
{
}


void OnEnter()
{
}

void OnLeave()
{
}


3. And I don't know what that "bookshelf_rotate.cfg" thing is...

4. Then go to your level editor and make something in it, choose save as and save your map in "maps".

Better or still errors?

[Image: deaceaf76907.gif]
03-07-2012, 09:50 PM
Find Reply
FlawlessHappiness Offline
Posting Freak

Posts: 3,980
Threads: 145
Joined: Mar 2012
Reputation: 171
#3
RE: Can't find own custom story

Still error... The custom story is empty Sad
If i post the scripts could you see if anything is wrong please?
[Image: zjjss9.png]
[Image: 17fi8w.png]

Yes i changed the StartPos in both the editor and the script
EDIT: I DID IT!!! What i did was changing the script name from "custom_map_settings.cfg" to "custom_story_setting.cfg"! Damn scripts has to be so correct ;D

Trying is the first step to success.
(This post was last modified: 03-08-2012, 03:45 PM by FlawlessHappiness.)
03-08-2012, 02:42 PM
Find Reply
Tiiwh Offline
Junior Member

Posts: 47
Threads: 6
Joined: Nov 2011
Reputation: 1
#4
RE: Can't find own custom story

(03-08-2012, 02:42 PM)beecake Wrote: Still error... The custom story is empty Sad
If i post the scripts could you see if anything is wrong please?
[Image: zjjss9.png]
[Image: 17fi8w.png]

Yes i changed the StartPos in both the editor and the script
EDIT: I DID IT!!! What i did was changing the script name from "custom_map_settings.cfg" to "custom_story_setting.cfg"! Damn scripts has to be so correct ;D


Yes remember to always look at your script and see if there is any misspelling and so on. Just a single "}" or name could be spelled wrong and the entire game will crash. I'm happy that you finally solved it, I hope I helped a bit. Smile

[Image: deaceaf76907.gif]
03-08-2012, 05:28 PM
Find Reply




Users browsing this thread: 1 Guest(s)