Frictional Games Forum (read-only)
Map file won't show up - Printable Version

+- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum)
+-- Forum: Amnesia: The Dark Descent (https://www.frictionalgames.com/forum/forum-6.html)
+--- Forum: Custom Stories, TCs & Mods (https://www.frictionalgames.com/forum/forum-35.html)
+--- Thread: Map file won't show up (/thread-5626.html)

Pages: 1 2


Map file won't show up - MrrBond - 12-05-2010

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?


RE: Map file won't show up - Chilton - 12-05-2010

More information - What are the contents of your .cfg, and is the map in its own folder or somesuch?


RE: Map file won't show up - MrrBond - 12-05-2010

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.


RE: Map file won't show up - Chilton - 12-05-2010

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


RE: Map file won't show up - MrrBond - 12-05-2010

(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.


RE: Map file won't show up - Chilton - 12-05-2010

(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


RE: Map file won't show up - MrrBond - 12-05-2010

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


RE: Map file won't show up - Akumasama - 12-05-2010

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...


RE: Map file won't show up - MrrBond - 12-05-2010

(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


RE: Map file won't show up - Luis - 12-05-2010

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