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
Map file won't show up
MrrBond Offline
Junior Member

Posts: 10
Threads: 1
Joined: Dec 2010
Reputation: 0
#1
Map file won't show up

So I made a map, and the appropriate scripts, but the actual map file doesn't appear. If I open the editor, I can see it, load it, and save it, but when I open the file out of the editor, it's not there. wtf?
12-05-2010, 03:06 AM
Find
Chilton Offline
Member

Posts: 138
Threads: 9
Joined: Sep 2010
Reputation: 0
#2
RE: Map file won't show up

More information - What are the contents of your .cfg, and is the map in its own folder or somesuch?
12-05-2010, 04:00 AM
Find
MrrBond Offline
Junior Member

Posts: 10
Threads: 1
Joined: Dec 2010
Reputation: 0
#3
RE: Map file won't show up

I dont think it will matter but

<Main
Name = "Sample Room"
Author = "MrrBond"

MapsFolder = "maps/"
StartMap = "00_Tutorial.map"
StartPos = "PlayerStartArea_1"
/>

And yes I have a folder named Maps, but the .map file is not there, despite having saved it there.
12-05-2010, 04:14 AM
Find
Chilton Offline
Member

Posts: 138
Threads: 9
Joined: Sep 2010
Reputation: 0
#4
RE: Map file won't show up

Then... Where is it? Thats just strange
It may have something to do with your computer hiding certain file types by default
But im not sure of how to fix that
12-05-2010, 04:32 AM
Find
MrrBond Offline
Junior Member

Posts: 10
Threads: 1
Joined: Dec 2010
Reputation: 0
#5
RE: Map file won't show up

(12-05-2010, 04:32 AM)Chilton Wrote: Then... Where is it? Thats just strange
It may have something to do with your computer hiding certain file types by default
But im not sure of how to fix that

That's what I was thinking.
But when I view the files from another custom story I downloaded, I can see the .map file.
12-05-2010, 04:36 AM
Find
Chilton Offline
Member

Posts: 138
Threads: 9
Joined: Sep 2010
Reputation: 0
#6
RE: Map file won't show up

(12-05-2010, 04:36 AM)MrrBond Wrote:
(12-05-2010, 04:32 AM)Chilton Wrote: Then... Where is it? Thats just strange
It may have something to do with your computer hiding certain file types by default
But im not sure of how to fix that

That's what I was thinking.
But when I view the files from another custom story I downloaded, I can see the .map file.

Try re-saving the file by another name?
Save As
12-05-2010, 04:39 AM
Find
MrrBond Offline
Junior Member

Posts: 10
Threads: 1
Joined: Dec 2010
Reputation: 0
#7
RE: Map file won't show up

Tried. Didn't work.

EDIT: ok, it's under compatability files, trying to fix now.

EDIT2: Fixed it! just had to copy it from the compatability file to the maps file.

EDIT3: Now I'm getting a FATAL ERROR that says:
Could not load script file
'custom_stories/First/maps/OO_Tutorial.hps'
main(1,1) : ERR : Identifier 'Void' is not a data type
main(1,1) : ERR : Identifier 'Void' is not a data type
main(6,1) : ERR : Expected ';'

Here is my .hps:
Void OnStart()
{
}

That's supposed to work according to a tutorial video :S
(This post was last modified: 12-05-2010, 06:19 PM by MrrBond.)
12-05-2010, 05:18 PM
Find
Akumasama Offline
Member

Posts: 122
Threads: 2
Joined: Nov 2010
Reputation: 0
#8
RE: Map file won't show up

It say's there is something wrong in line 6.
You didn't copy paste line 6 here, so we can't help.

Although I think you missed a ; at the end of like 6...
12-05-2010, 07:12 PM
Find
MrrBond Offline
Junior Member

Posts: 10
Threads: 1
Joined: Dec 2010
Reputation: 0
#9
RE: Map file won't show up

(12-05-2010, 07:12 PM)Akumasama Wrote: It say's there is something wrong in line 6.
You didn't copy paste line 6 here, so we can't help.

Although I think you missed a ; at the end of like 6...

I didnt make a 6th line
12-05-2010, 07:31 PM
Find
Luis Offline
Frictional Games

Posts: 280
Threads: 19
Joined: Jun 2006
Reputation: 9
#10
RE: Map file won't show up

Script keywords are case sensitive. This means "Void" is not the same as "void", and the latter is the correct way to write it.

EOF
12-05-2010, 08:11 PM
Find




Users browsing this thread: 2 Guest(s)