Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 02-26-2009, 07:11 AM
xfazex xfazex is offline
Registered User
Join Date: Feb 2009
Location: Eastern Shore, Maryland USA
Posts: 81
xfazex is an unknown quantity at this point
Send a message via AIM to xfazex Send a message via MSN to xfazex Send a message via Yahoo to xfazex
GMap help?

Is there a decent walkthrough for gmap? I have like 50 levels... Much easier if it were all one!
Reply With Quote
  #2  
Old 02-26-2009, 07:18 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,746
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
offline or online?

FOR OFFLINE USE ONLY:

Open up notepad and paste in the following:
HTML Code:
GRMAP001
WIDTH 2
HEIGHT 2
LEVELNAMES
"level_name_01.nw","level_name_02.nw"
"level_name_03.nw","level_name_04.nw"
LEVELNAMESEND
In my example I specified that the GMAP was 2 levels wide and 2 level high. You would change the values for width and height to fit the dimensions of your overworld. You would also add the level names you're using inbetween "LEVELNAMES" and "LEVELNAMESEND" formatted with the top levels of your overworld to the top of the list.

Click "Save As", name it something appropriate, and give it the extension ".GMAP".

Open up the Graal editor and in one of the levels you're using add these lines:
HTML Code:
if (created) loadmap YOUR_MAP_NAME;
It is important not to put ".GMAP" here because it assumes what the filetype is.
__________________
Save Classic!

Last edited by maximus_asinus; 02-26-2009 at 07:33 AM..
Reply With Quote
  #3  
Old 02-26-2009, 07:26 AM
salesman salesman is offline
Finger lickin' good.
salesman's Avatar
Join Date: Nov 2008
Location: Colorado
Posts: 1,865
salesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud of
there's a gmap generator somewhere...would be useful unless you've already made all of the levels. I'll see if I can find it.
Reply With Quote
  #4  
Old 02-26-2009, 07:28 AM
xfazex xfazex is offline
Registered User
Join Date: Feb 2009
Location: Eastern Shore, Maryland USA
Posts: 81
xfazex is an unknown quantity at this point
Send a message via AIM to xfazex Send a message via MSN to xfazex Send a message via Yahoo to xfazex
Quote:
Originally Posted by maximus_asinus View Post
offline or online?
Online. Right now the server's in dev. I'm just wondering how it's done, and maybe a way I can test it as I'm waiting on new tilesets (for whoever wants to make them). I have a thread about that in the staff openings section.
Reply With Quote
  #5  
Old 02-26-2009, 07:32 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,746
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
Quote:
Originally Posted by xfazex View Post
Online. Right now the server's in dev. I'm just wondering how it's done, and maybe a way I can test it as I'm waiting on new tilesets (for whoever wants to make them). I have a thread about that in the staff openings section.
Okay my example is purely offline, I'll try to dig up an answer for you, but I believe it has something to do with the server options...
__________________
Save Classic!
Reply With Quote
  #6  
Old 02-26-2009, 07:40 AM
xfazex xfazex is offline
Registered User
Join Date: Feb 2009
Location: Eastern Shore, Maryland USA
Posts: 81
xfazex is an unknown quantity at this point
Send a message via AIM to xfazex Send a message via MSN to xfazex Send a message via Yahoo to xfazex
Quote:
Originally Posted by maximus_asinus View Post
Okay my example is purely offline, I'll try to dig up an answer for you, but I believe it has something to do with the server options...
Doesn't it just merge all of the outdoor maps (or maps you select) together? That's really all I want to do.


Edit: Saw your update about the offline method, can I just upload the newly created file to the server?
Reply With Quote
  #7  
Old 02-26-2009, 07:55 AM
xfazex xfazex is offline
Registered User
Join Date: Feb 2009
Location: Eastern Shore, Maryland USA
Posts: 81
xfazex is an unknown quantity at this point
Send a message via AIM to xfazex Send a message via MSN to xfazex Send a message via Yahoo to xfazex
Quote:
Originally Posted by maximus_asinus View Post
offline or online?

FOR OFFLINE USE ONLY:

Open up notepad and paste in the following:
HTML Code:
GRMAP001
WIDTH 2
HEIGHT 2
LEVELNAMES
"level_name_01.nw","level_name_02.nw"
"level_name_03.nw","level_name_04.nw"
LEVELNAMESEND
In my example I specified that the GMAP was 2 levels wide and 2 level high. You would change the values for width and height to fit the dimensions of your overworld. You would also add the level names you're using inbetween "LEVELNAMES" and "LEVELNAMESEND" formatted with the top levels of your overworld to the top of the list.

Click "Save As", name it something appropriate, and give it the extension ".GMAP".

Open up the Graal editor and in one of the levels you're using add these lines:
HTML Code:
if (created) loadmap YOUR_MAP_NAME;
It is important not to put ".GMAP" here because it assumes what the filetype is.
So make an NPC with that script and it merges everything together and ends up with a *.gmap file?
Reply With Quote
  #8  
Old 02-26-2009, 08:20 AM
xfazex xfazex is offline
Registered User
Join Date: Feb 2009
Location: Eastern Shore, Maryland USA
Posts: 81
xfazex is an unknown quantity at this point
Send a message via AIM to xfazex Send a message via MSN to xfazex Send a message via Yahoo to xfazex
I've created a gmap using the terrain generator, but when I warp to it, i just move to the specified x/y in the current level... Any idea what is wrong?
Reply With Quote
  #9  
Old 02-26-2009, 02:22 PM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,746
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
Quote:
Originally Posted by xfazex View Post
I've created a gmap using the terrain generator, but when I warp to it, i just move to the specified x/y in the current level... Any idea what is wrong?
These paragraphs will probably help you:

Quote:
As you are going to use the GMap on your Playerworld, you need to make it available for Players to download, by putting it inside the levels/ folder hierarchy using the RC file manager, and adding it to the Folder configuration as mere Level; level *.gmap, for example. It is neccessary to additionally register it as file in the folder configuration, but there is no gmap category to put it under.

To make the NPC Server aware of your gmaps, you need to list them in the Server options too. Add a new option gmaps= followed by a comma seperated list of names without the .gmap extension. If your line gets too stuffed, you can as well use multiple lines, as long as you prefix each one with gmaps=. The entries in each lines will be added, and not replace each other.

If you are converting levels that are already uploaded to use a GMap, you will need to restart the GServer, or you can keep all players out of the levels for about 5 to 10 minutes. The latter may be difficult, however, because players could log on to one of the levels nobody should be in, which would disrupt the 5/10 minute wait time, so restarting the GServer may be a better choice.
__________________
Save Classic!
Reply With Quote
  #10  
Old 02-26-2009, 07:40 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,746
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
Okay I believe I found the answer, don't kill me if it is incorrect, because I'm new to this thing (GMAPs online).

You would upload the GMAP file I mentioned earlier into the levels folder, and then in your server options you add a line called "gmaps=" and then add the name of the GMAP here (without .gmap extension).

Found the information here and here.
__________________
Save Classic!
Reply With Quote
  #11  
Old 02-26-2009, 07:42 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,746
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
Also additional information about GMAPs can be found here.
__________________
Save Classic!
Reply With Quote
  #12  
Old 02-26-2009, 04:38 PM
Bell Bell is offline
Registered User
Bell's Avatar
Join Date: Feb 2007
Posts: 1,824
Bell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud ofBell has much to be proud of
You seem to have it set up correctly in server ops and you have the gmap in the right folder. I restarted the server for you but the map still isn't working. It doesn't appear to be downloading into my Graal folder so I can't see if you have it set up correctly. I'll try to catch you when you're online to get some access rights to the server and give you a hand in getting it sorted.
__________________
For support contact
http://support.toonslab.com/
Reply With Quote
  #13  
Old 02-26-2009, 09:04 PM
xfazex xfazex is offline
Registered User
Join Date: Feb 2009
Location: Eastern Shore, Maryland USA
Posts: 81
xfazex is an unknown quantity at this point
Send a message via AIM to xfazex Send a message via MSN to xfazex Send a message via Yahoo to xfazex
I'm on now if you don't mind helping. I actually figured out that the gmap file wasn't the whole thing, that terrain editor splits it up to like 10,000 .nw files. Not sure what the gmap does but yeah. Tig told me this.

I'm RC'd now if you want to talk. Need some help getting this server going.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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