Frictional Games Forum (read-only)

Full Version: Map file won't show up
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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?
More information - What are the contents of your .cfg, and is the map in its own folder or somesuch?
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.
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)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)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
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
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)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
Script keywords are case sensitive. This means "Void" is not the same as "void", and the latter is the correct way to write it.
Pages: 1 2