Graal Forums

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

oomey30 11-04-2010 03:00 AM

gmap?
 
how do i make a gmap?

Tigairius 11-04-2010 03:02 AM

Moved thread to the levels design forum.

oomey30 11-04-2010 03:18 AM

please someone reply :(:noob:

ffcmike 11-04-2010 03:22 AM

Surprised there isn't a link provided within the sticky'd tutorial thread as I'm sure I've seen plenty of them but all you need to know is within:

http://www.graal.net/index.php/Creation/Dev/GMap

Though I suppose the one thing this lacks is a good example, you'll want to open notepad or wordpad and input something like this:

PHP Code:

GRMAP001
WIDTH 3
HEIGHT 3
LEVELNAMES
"yourlevela1.nw","yourlevela2.nw","yourlevela3.nw"
"yourlevelb1.nw"
,"yourlevelb2.nw","yourlevelb3.nw"
"yourlevelc1.nw"
,"yourlevelc2.nw","yourlevelc3.nw"
LEVELNAMESEND 

Changing the width/height and level names to whatever is desired, click "Save As", and type "nameofyourmap.gmap" for it to save with the gmap extension.

When complete and uploaded you'll need to add the file into serveroptions, such as:

gmaps=nameofyourmap,nameofyourmap2,nameofyourmap3

You'll also need to ensure that the folder configuration allows for your gmap to be downloaded, such as by setting:

level gmaps/*.gmap

Getting the gmap working once everything is in place however seems to be a matter of luck, you'll likely have to do a "/updatelevel nameofyourgmap.gmap" within RC, sometimes it happens straight away other times it can take a random amount of time, as mentioned if the levels are already in use you'll need to restart the server.

Cubical 11-04-2010 03:34 AM

If you haven't started creating your map I'd recommend using the level generator to make a bunch of empty levels because it links the levels and names them for you. If you have already made some but not many you can still do this and just copy and paste the tiles.

Draenin 11-04-2010 07:00 PM

Quote:

Originally Posted by Cubical (Post 1610109)
If you haven't started creating your map I'd recommend using the level generator to make a bunch of empty levels because it links the levels and names them for you. If you have already made some but not many you can still do this and just copy and paste the tiles.

levelgen.exe is a godsend.

oomey30 11-05-2010 03:26 AM

Quote:

Originally Posted by Cubical (Post 1610109)
If you haven't started creating your map I'd recommend using the level generator to make a bunch of empty levels because it links the levels and names them for you. If you have already made some but not many you can still do this and just copy and paste the tiles.

If i were to do this, is there a way to make the gmap bigger instead of a few levels?

Cubical 11-05-2010 03:37 AM

read the tutorial in the folder, 1pixel = 1 tile. so if you did 640x640 it would be 101 files. 100 levels and 1 gmap file.

Deas_Voice 11-05-2010 04:18 AM

Quote:

Originally Posted by Cubical (Post 1610256)
read the tutorial in the folder, 1pixel = 1 tile. so if you did 640x640 it would be 101 files. 100 levels and 1 gmap file.

no lol, 16x16pixels = 1 tile..
and there are 64x64 tiles on a level

Cubical 11-05-2010 04:21 AM

Quote:

Originally Posted by Deas_Voice (Post 1610260)
no lol, 16x16pixels = 1 tile..
and there are 64x64 tiles on a level

I was talking about the level generator which you would have known if you read the thread...

oomey30 11-07-2010 04:22 AM

thanks

MattKan 11-07-2010 05:47 AM

Someone emailed me a gmap generator once... Sometime I'll package it up and post it on here.


All times are GMT +2. The time now is 05:11 AM.

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