Graal Forums

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

wild8900 04-15-2006 01:32 AM

gmap help plz
 
I made a gmap:

GRMAP001
WIDTH 7
HEIGHT 5
LEVELNAMES
"irataworld_a01.nw","irataworld_b01.nw","irataworl d_c01.nw"
"irataworld_a02.nw","irataworld_b02.nw","irataworl d_c02.nw"
"irataworld_a03.nw","irataworld_b03.nw","irataworl d_c03.nw"
"irataworld_a04.nw","irataworld_b04.nw","irataworl d_c04.nw"
"irataworld_a05.nw","irataworld_b05.nw","irataworl d_c05.nw"
LEVELNAMESEND

I only made and linked the first row (a01-c01)
but I know I need to use loadmap irataworld; (irataworld is gmaps name)
but where do I put that command?

Crono 04-15-2006 02:14 AM

stick it in the first level

//#CLIENTSIDE
if (created) {
loadmap irataworld;
}

Works for me :x

If this is online, you gotta upload the gmap and add the gmap in the serverops

wild8900 04-15-2006 02:28 AM

:O
I forgot to do server opps!
um where in the opps do I put it?

Crono 04-15-2006 02:49 AM

gmaps=

if that doesnt work do

gmap=

wild8900 04-15-2006 03:01 AM

Nvm, I got it to work, thanks for replieing though.

Crono 04-15-2006 03:19 AM

Anytime. If you need help just pm me ingame or on forums. :)

Malinko 04-15-2006 05:32 AM

Hm.

The GMAP doesn't have the width of seven levels. Well, from what was provided in the post within this thread.

I understand that the first few levels were linked, but I assume a GMAP would link this? If generated, then editted.

Crono 04-15-2006 05:54 AM

Quote:

Originally Posted by wild8900
Nvm, I got it to work, thanks for replieing though.

^ refer to that mal

Omini 04-15-2006 06:22 AM

I believe someone told me, I think it was Skyld, not to use "loadmap"

*gets history*

Quote:

Originally Posted by Skyld PM History
You (Sun Apr 02 12:40:23 2006):

can you help me with a NPC/GMap related question?

---
Opposite (Sun Apr 02 12:41:28 2006):

Possibly, although I do not know much about GMAPs

---
You (Sun Apr 02 12:41:49 2006):

well i just got my gmap working on my server, but no NPCs show up... any idea
how i can sort that out?

---
Opposite (Sun Apr 02 12:42:23 2006):

How are you loading the GMAP on your server?

---
You (Sun Apr 02 12:42:55 2006):

with an NPC
//#CLIENTSIDE
if (created) {
loadmap millenium;
(more script involving tiledefs here);
}

---
You (Sun Apr 02 12:43:43 2006):

they seem to be appearing in some levels but not others

---
Opposite (Sun Apr 02 12:43:45 2006):

There's your problem. You should NEVER use loadmap; on a server.

The correct way to load a GMAP is to use the serveroptions

If you have two GMAPs, "foo.gmap" and "bar.gmap", you should have this server option:
"gmaps=foo,bar"

---
You (Sun Apr 02 12:44:07 2006):

i also have that in my server options. i'll remove the script now

---
You (Sun Apr 02 12:45:10 2006):

i just removed the script and now the gmap isnt working x.x

---
Opposite (Sun Apr 02 12:46:17 2006):

Reconnect and stuff

---
You (Sun Apr 02 12:47:43 2006):

lol, ok thanks.


VulcanP2P 04-15-2006 08:28 AM

Using server options for gmaps is much more reliable than the script, yes. I remember getting yelled at on Debug a few times by Bjorn for accidently uploading loadmap NPCs because I forgot to remove them from the level while working, heh. :)

napo_p2p 04-15-2006 08:54 AM

I would put loadmap in some kind of player system NPC.

Crono 04-15-2006 04:29 PM

...You can't simply load a gmap by putting it in serverops. You have to use loadmap somewhere.

Unless times have changed.

Silent 04-15-2006 05:26 PM

Quote:

Originally Posted by Gerami
...You can't simply load a gmap by putting it in serverops. You have to use loadmap somewhere.

Unless times have changed.

Either they have, or we never had to anyway.

VulcanP2P 04-16-2006 12:02 AM

Quote:

Originally Posted by Silent
Either they have, or we never had to anyway.

I just double-checked to be sure and it worked fine for me. :)

Crono 04-16-2006 12:27 AM

Quote:

Originally Posted by VulcanP2P
I just double-checked to be sure and it worked fine for me. :)

Without a loadmap script?


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

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