Graal Forums

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

JkWhoSaysNi 01-07-2006 08:02 PM

Gmap won't work.
 
Hello i've been trying to create a gmap but it just won't work.

If i saw warpto 30 30 overworld-a01.nw it'll take me to a level with just grass. Not the actual overworld-a01.nw the RC playerlist says i'm on the gmap.

Heres what i've done (following the instructions on the wiki)
-Added level *.gmap to folder configuration.
-set gmaps= on the server options to gmaps=overworld (also tried gmaps=overworld, )

What's wrong?

Thanks.

Crono 01-07-2006 08:05 PM

Upload the GMAP to the levels folder

Set the serverops

Make sure .gmap or whatever is in the folder configuration

NPC Code:

//#CLIENTSIDE

if (playerenters) {
gmapnameherewithoutthe.gmapextension;
}



Reconnect to the server

Always works for me :D

JkWhoSaysNi 01-07-2006 08:18 PM

It still doesn't work.

As i said i have gmaps=overworld in the server options and i have level *.gmap in the folder configuration

Surley the npc you posted should be loadmap gmapnameherewithoutthe.gmapextension; ?


Anyway, now it's gone even weirder. I reconnected and now the levels don't appear to be linked. I.e. you can walk to the right edge of overworld_a01.nw and not get warped to overworld_b01.nw. I opened the level in the level editor and it's linked.

WanDaMan 01-07-2006 09:10 PM

#GMAPS= I believe?

Make sure that the script isn't in an NPC within the level. Make the loadmap script a weapon.

xAndrewx 01-07-2006 10:28 PM

Quote:

Originally Posted by WanDaMan
#GMAPS= I believe?

Make sure that the script isn't in an NPC within the level. Make the loadmap script a weapon.

# is used to cancle it out. It's
gmaps=gmap1.gmap,gmap2.gmap

Yen 01-07-2006 10:29 PM

Make sure the gmap file isn't messed up

JkWhoSaysNi 01-07-2006 11:31 PM

The gmap file looks fine to me

GRMAP001
WIDTH 16
HEIGHT 16
LEVELNAMES
....*snip* lots and lots of levels *snip*....
LEVELNAMESEND


It was generated by the level generator so it should be Ok.

xAndrewx 01-07-2006 11:37 PM

Did you count the width [total levels -->] is 16?
and total height 16 [total levels vv] is 16?

JkWhoSaysNi 01-07-2006 11:41 PM

It was generated by the level generator from a 1024x1024 image.

There's 256 levels in total.

(i'm going to unlink all but the top quarter of them until we have that filled. It's just easier to reconnect them later than try to extend a small gmap when we need the extra space.)

Yen 01-07-2006 11:52 PM

Warp to the gmap, not the individual level.

JkWhoSaysNi 01-08-2006 12:01 AM

I just end up a level filled with grass wherever on the .gmap I warp.

xAndrewx 01-08-2006 12:03 AM

Did you add
//#CLIENTSIDE
loadmap gmap;
into an NPC?

JkWhoSaysNi 01-08-2006 12:12 AM

yeah as a weapon. I tried loadmap overworld; that diddnt work and i tried loadmap overworld.gmap; and that diddn't work either :(

I don't think the gmap is being downloaded. I can't overworld.gmap anywhere in my graal folder.

Lance 01-08-2006 12:17 AM

The problem was a missing "file *.gmap" entry in folder config (gmaps need both level and file entries); it is fixed now.


All times are GMT +2. The time now is 08:24 AM.

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