Graal Forums

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

davidpsy 05-30-2004 05:32 PM

Gmap problems
 
I cannot get my gmap to load. I have an npc in the main level and it is this.

//#CLIENTSIDE
if (created){
loadmap sansmap.gmap;}


It still wont work >_<.

Now here is my gmap, note I made it very flat.

GRMAP001
WIDTH 10
HEIGHT 10
GENERATED newsan_j-10.graal;
GENSEED 0
GENBASE 1
GENEVENBORDERS true
GENHEIGHT 0
GENCHAOS 0
LEVHEIGHT 0
LEVCHAOS 0
MAPIMG
MINIMAPIMG

HEIGHTMAP
1,1,1,1,1,1,1,1,1,1,1
1,1,1,1,1,1,1,1,1,1,1
1,1,1,1,1,1,1,1,1,1,1
1,1,1,1,1,1,1,1,1,1,1
1,1,1,1,1,1,1,1,1,1,1
1,1,1,1,1,1,1,1,1,1,1
1,1,1,1,1,1,1,1,1,1,1
1,1,1,1,1,1,1,1,1,1,1
1,1,1,1,1,1,1,1,1,1,1
1,1,1,1,1,1,1,1,1,1,1
1,1,1,1,1,1,1,1,1,1,1
HEIGHTMAPEND

RANDOMSEEDS
0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0
RANDOMSEEDSEND


I dont know why I cannot get it to load. The map is 10 levels by 10 levels. The last level in the cornor is newsan_j-10.graal. How a gmap works I assume is it reads the last level in the downwarn right hand cornor of the map. Now sans outside levels do have some shenlon levels in the middle of the map that do not start with "newsan". I want to be able to have a gmap with these shenlon and newsan levels like you could with a .txt file map. Is there anyway to do so? I am begining to think that maybe gmaps only work with .nw levels but I am not sure. Can anyone help me?

Crono 05-30-2004 06:17 PM

is it in the server options?

I know that you have to have a line like this..

gmaps=whateverlololol,secondgmapontheserverplz,thi rd etc etc

Upload the GMAP in the levels folder. Works for me.

davidpsy 05-30-2004 06:46 PM

Quote:

Originally Posted by Gerami
is it in the server options?

I know that you have to have a line like this..

gmaps=whateverlololol,secondgmapontheserverplz,thi rd etc etc

Upload the GMAP in the levels folder. Works for me.


no no I'm trying to get it to work offline.

Crono 05-30-2004 06:47 PM

//#CLIENTSIDE
if (created){
loadmap sansmap.gmap;
}

Try it without the .gmap.

davidpsy 05-30-2004 06:49 PM

Quote:

Originally Posted by Gerami
//#CLIENTSIDE
if (created){
loadmap sansmap.gmap;
}

Try it without the .gmap.


OH yeah, I remeber I did this a long time ago and it worked without the .gmap thanks man, Ill try it.

[edit] It still wont work >_< [/edit]

Crono 05-30-2004 07:04 PM

try un-clientsiding it for fun XD!

davidpsy 05-30-2004 07:17 PM

Quote:

Originally Posted by Gerami
try un-clientsiding it for fun XD!

Still, wont, work >_<.

Crono 05-30-2004 07:35 PM

Put the gmap and levels in one folder and add the script to the very first level? (like the a-1 or whatever)

davidpsy 05-30-2004 08:32 PM

Quote:

Originally Posted by Gerami
Put the gmap and levels in one folder and add the script to the very first level? (like the a-1 or whatever)


I did =/...

WanDaMan 05-30-2004 09:33 PM

loadmap wan;

open another map though. I.E
Open wan.gmap levels and open another gmap and it should work.

It'd help if the gmap was in the same folder too btw.

//#CLIENTSIDE
for online purposes, means nothing offline

davidpsy 06-01-2004 06:49 PM

Quote:

Originally Posted by WanDaMan
loadmap wan;

open another map though. I.E
Open wan.gmap levels and open another gmap and it should work.

It'd help if the gmap was in the same folder too btw.

//#CLIENTSIDE
for online purposes, means nothing offline

The gmap was in the same folder. Why wont it work?!?! :(.

Crono 06-01-2004 09:30 PM

Ask Loriel, he will know what to do.


All times are GMT +2. The time now is 06:08 PM.

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