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 01-07-2006, 08:02 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
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.
Reply With Quote
  #2  
Old 01-07-2006, 08:05 PM
Crono Crono is offline
:pluffy:
Join Date: Feb 2002
Location: Sweden
Posts: 20,000
Crono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond reputeCrono has a reputation beyond repute
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
__________________
Reply With Quote
  #3  
Old 01-07-2006, 08:18 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
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.
Reply With Quote
  #4  
Old 01-07-2006, 09:10 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
#GMAPS= I believe?

Make sure that the script isn't in an NPC within the level. Make the loadmap script a weapon.
__________________
V$:CONFL16T
Reply With Quote
  #5  
Old 01-07-2006, 10:28 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
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
__________________
Reply With Quote
  #6  
Old 01-07-2006, 10:29 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Make sure the gmap file isn't messed up
Reply With Quote
  #7  
Old 01-07-2006, 11:31 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
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.
Reply With Quote
  #8  
Old 01-07-2006, 11:37 PM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Did you count the width [total levels -->] is 16?
and total height 16 [total levels vv] is 16?
__________________
Reply With Quote
  #9  
Old 01-07-2006, 11:41 PM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
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.)
Reply With Quote
  #10  
Old 01-07-2006, 11:52 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
Warp to the gmap, not the individual level.
Reply With Quote
  #11  
Old 01-08-2006, 12:01 AM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
I just end up a level filled with grass wherever on the .gmap I warp.
Reply With Quote
  #12  
Old 01-08-2006, 12:03 AM
xAndrewx xAndrewx is offline
Registered User
xAndrewx's Avatar
Join Date: Sep 2004
Posts: 5,260
xAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud ofxAndrewx has much to be proud of
Did you add
//#CLIENTSIDE
loadmap gmap;
into an NPC?
__________________
Reply With Quote
  #13  
Old 01-08-2006, 12:12 AM
JkWhoSaysNi JkWhoSaysNi is offline
Ruler of the graalaxy
Join Date: Feb 2005
Location: Great Britain
Posts: 488
JkWhoSaysNi is on a distinguished road
Send a message via ICQ to JkWhoSaysNi
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.
Reply With Quote
  #14  
Old 01-08-2006, 12:17 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
The problem was a missing "file *.gmap" entry in folder config (gmaps need both level and file entries); it is fixed now.
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 04:01 PM.


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