Graal Forums  

Go Back   Graal Forums > Development Forums > Level Design
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-03-2015, 07:38 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
This is how I create GMAPs and I've never had any issues-
  • Create the GMAP file (ensure the WIDTH and HEIGHT are correct)
  • Load the Levels & GMAP in to the relevant FTP folders (i.e. levels/gmaps)
  • Add the GMAP file name to the 'GMAPS=' in server options
  • Add 'loadmap GMAPNAME.gmap' to a weapon which is added to the player on login
  • Finally warp to the GMAP and it will work

I've created many in the past not in this order and they've always had issues. :[
__________________
Reply With Quote
  #2  
Old 05-03-2015, 12:26 PM
scriptless scriptless is offline
Banned
Join Date: Dec 2008
Location: N-Pulse
Posts: 1,412
scriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to beholdscriptless is a splendid one to behold
Quote:
Originally Posted by xAndrewx View Post
  • Add 'loadmap GMAPNAME.gmap' to a weapon which is added to the player on login
I was told that we no longer needed to use loadmap() or setmap().. That all of that was done automatically. Was I told wrong?
Reply With Quote
  #3  
Old 05-03-2015, 06:37 PM
Elk Elk is offline
Sr Marketing Strategist
Elk's Avatar
Join Date: Nov 2005
Location: Deerland
Posts: 3,829
Elk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant futureElk has a brilliant future
Send a message via ICQ to Elk Send a message via AIM to Elk Send a message via MSN to Elk Send a message via Yahoo to Elk
Quote:
Originally Posted by scriptless View Post
I was told that we no longer needed to use loadmap() or setmap().. That all of that was done automatically. Was I told wrong?
this is correct

gmap file is built up like this, combining gmaps is a real pain to do manually if they are big... best to use a nifty javascript to add the levels in quotes with commas to their respective place

extending a map vertically is easier than horizontally imo

PHP Code:
GRMAP001
WIDTH X
HEIGHT Y
LEVELNAMES
"levelname.nw","levelname.nw","levelname.nw","levelname.nw","levelname.nw","levelname.nw"
"levelname.nw"
,"levelname.nw","levelname.nw","levelname.nw","levelname.nw","levelname.nw"
"levelname.nw"
,"levelname.nw","levelname.nw","levelname.nw","levelname.nw","levelname.nw"
"levelname.nw"
,"levelname.nw","levelname.nw","levelname.nw","levelname.nw","levelname.nw"
"levelname.nw"
,"levelname.nw","levelname.nw","levelname.nw","levelname.nw","levelname.nw"
LEVELNAMESEND 
__________________
iEra IGN: *Elk (Darkshire)
iCla. IGN: *Elk (Darkshire)
iZone IGN: *Elk (Darkshire)




Reply With Quote
  #4  
Old 05-03-2015, 09:00 PM
Jakov_the_Jakovasaur Jakov_the_Jakovasaur is offline
Deleted by Darlene159
Jakov_the_Jakovasaur's Avatar
Join Date: Sep 2013
Location: Deleted by Darlene159
Posts: 358
Jakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud ofJakov_the_Jakovasaur has much to be proud of
Quote:
Originally Posted by scriptless View Post
I was told that we no longer needed to use loadmap() or setmap().. That all of that was done automatically. Was I told wrong?
hello!

i dont think loadmap should be used on a server either, its a relic from the past

the one real use for it is for loading a gmap within the offline editor, however a much more convenient method to achieve this is to create a text file within your graal folder called 'loadgmaps.txt', with each map name (without .gmap) listed on a new line like so:

PHP Code:
jakovasaurland_overworld
jakovasaurland_secretisland
jakovasaurland_outerspace 
then all listed gmaps should load automatically within the offline editor, it may require deleting filenamecache.txt first
__________________
This signature has been deleted by Darlene159.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 08:28 PM.


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