Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Level Design (https://forums.graalonline.com/forums/forumdisplay.php?f=6)
-   -   Gmap Help (https://forums.graalonline.com/forums/showthread.php?t=134263469)

patrickp2p 06-06-2011 04:41 AM

Gmap Help
 
Does anyone know how to manually link Gmaps? I tried that online gmap generator but it when I upload it on my server and in GraalEdtior, it doesn't work, therefore if there is a manual way or if anyone can make me one then please, by all means, do.
Thanks,
P@TR!CK

cbk1994 06-06-2011 05:00 AM

In Graal Editor, open one of the levels, then create an NPC with
PHP Code:

loadmap mygmapname

then delete it after it has loaded.

To upload it to the server, add the GMAP name (without extension) to gmaps= in server options. Make sure the GMAP file is both a file and level in folder config, then warp to the GMAP name.

If these don't work, give more information about how it isn't working (do they show as single levels, does it say the GMAP doesn't exist, etc.)

patrickp2p 06-06-2011 05:26 AM

It still didn't work.

patrickp2p 06-06-2011 05:31 AM

Function addtiledef not found at line 3 in script of npcs[1] (in level bellview.gmap at pos (46, 20))

that's what it says everytime I enter a level,
I do believe that that is why it's not working. I don't know how to add a tileset so I called in FowlPlay and idk if I followed his directions carefully or not.. It's just one big confusing and frustrating mess. D:

fowlplay4 06-06-2011 05:57 AM

Quote:

Originally Posted by patrickp2p (Post 1653449)
Function addtiledef not found at line 3 in script of npcs[1] (in level bellview.gmap at pos (46, 20))

It's being caused by the npc in your level.

Your script probably looks something like this:

PHP Code:

if (created) {
  
addtiledef tileset.png,,0;


To fix it you can either a) delete the npc or b) put //#CLIENTSIDE at the top of the script.

b) Looks like this:

PHP Code:

//#CLIENTSIDE
if (created) {
  
addtiledef tileset.png,,0;



cbk1994 06-06-2011 06:21 AM

Quote:

Originally Posted by patrickp2p (Post 1653449)
Function addtiledef not found at line 3 in script of npcs[1] (in level bellview.gmap at pos (46, 20))

that's what it says everytime I enter a level,
I do believe that that is why it's not working. I don't know how to add a tileset so I called in FowlPlay and idk if I followed his directions carefully or not.. It's just one big confusing and frustrating mess. D:

A tileset error won't break your GMAP. When you enter, do you see one level at a time?

patrickp2p 06-06-2011 06:33 AM

yes

cbk1994 06-06-2011 06:41 AM

Quote:

Originally Posted by patrickp2p (Post 1653456)
yes

Do "/find gmapname.gmap" in RC. What do you see? Did you add the GMAP to serveroptions?

patrickp2p 06-07-2011 04:18 AM

that's what it says.
overworld.gmap: downloadable, level, 2610 byte, 2011-06-07 04:16:49

cbk1994 06-07-2011 04:49 PM

Quote:

Originally Posted by patrickp2p (Post 1653631)
that's what it says.
overworld.gmap: downloadable, level, 2610 byte, 2011-06-07 04:16:49

Quote:

Originally Posted by cbk1994 (Post 1653458)
Did you add the GMAP to serveroptions?

..

SlikRick 06-08-2011 04:44 PM

Also check your folder configuration and make sure you have .gmap as an executable file extension.

level *.gmap
file *.gmap

Also open your gmap file with a word program and make sure it is structured like this:

GRMAP001
WIDTH
HEIGHT
LEVELSNAMES
"levelname.nw","levelname.nw"
"levelname.nw","levelname.nw"
LEVELNAMESEND

Next to WIDTH and HEIGHT you put how many levels are in each direction. You also make sure that when listing the level names that they are in order to how they are supposed to show up on the map.

patrickp2p 06-09-2011 10:42 PM

Thanks guys for all of your help! I got it to work with all of your ideas (:
If I have a problem I know where to post it!


All times are GMT +2. The time now is 02:23 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.