Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   GMAPs (https://forums.graalonline.com/forums/showthread.php?t=48170)

SaijinGohan 09-22-2003 06:30 PM

GMAPs
 
I am desperately trying to comprehend this whole GMAP idea. No one tells me the same thing. I got a GMAP made. Now how do I integrate this into a server? Heres two ways I got:

loadmap mapname.gmap;

or

setmap with the textfile as the gmap.

Now also, in folder config do I set the GMAP as a level?
level levels/*.gmap
or
gmap levels/*.gmap

And finally in serveroptions,
gmap=gmapname
Do I include the .gmap extension?

Any help would be appreciated. I really want to get this all organized for me in my head.

CheeToS2 09-22-2003 07:22 PM

don't include the extension in serveroptions, yes add it as a level in folder config, just treat it like a level.. a really really big level.

Loriel 09-22-2003 08:57 PM

Re: GMAPs
 
loadmap mapname; <- Generally use that, and as Stefan loads all gmaps on the server on login, I suppose it is good practice to do so
gmaps=gmapname1,gmapname2 <- gmaps= gets a comma seperated list of gmap names without .gmap extension
levels *.gmap <- That goes into the folder options. I think you still need to mark the levels in the folder options too, though

Do not use setmap.

IM me if you fail to get it to work.

SaijinGohan 09-22-2003 09:00 PM

Hey ok thats great. Your got me going now Loriel. Thx again! :)

Lance 09-22-2003 09:03 PM

You need both a 'file' and a 'level' entry in folder config for gmaps.

level *.gmap
file *.gmap

SaijinGohan 09-22-2003 10:42 PM

I always assume anything in folder config automatically has to be declared as a file first.

Loriel 09-22-2003 11:21 PM

This thread inspired me.
Please comment.

osrs 09-22-2003 11:35 PM

Quote:

Originally posted by Loriel
This thread inspired me.
Please comment.

It's very good.

Riot-Starter 09-23-2003 02:55 AM

I made a flat gmap program awhile ago in php:
http://gscript.us/gmap.php

Dunno how helpful it is anymore now that the level gen can do it.

Lance 09-23-2003 03:33 AM

Quote:

Originally posted by SaijinGohan
I always assume anything in folder config automatically has to be declared as a file first.
Nope. Just files you want the client to download. Normal levels, for example, need not be declared as a file.


All times are GMT +2. The time now is 04:34 PM.

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