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 04-30-2006, 01:49 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Levels to gmaps

Okay, basically, I made DR without the use of the level generator. Not, on gs2, it worked fine as a 'gmap' however, on V4, it doesn't work. It's also messed up the time scripts which use 'onmap'. So basicall, I'm asking if there is any way to convert these levels to a gmap?
Reply With Quote
  #2  
Old 04-30-2006, 10:42 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
They're already a GMAP. All you need to make is the GMAP file. Simply copy/paste the levels in the order that they're linked and the width/height of the levels.
Reply With Quote
  #3  
Old 04-30-2006, 09:27 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Quote:
Originally Posted by xAndrewx
They're already a GMAP. All you need to make is the GMAP file. Simply copy/paste the levels in the order that they're linked and the width/height of the levels.
I'll try again, maybe I messed up, but I already have a list of the levels, in order, in a gmap file, with width and height, as well as something like gmaps=darkrival.gmap in the server options. So I must have done something wrong in the making of the txt file (.gmap)
Reply With Quote
  #4  
Old 04-30-2006, 09:33 PM
Andy0687 Andy0687 is offline
Enigma
Join Date: Feb 2002
Posts: 1,072
Andy0687 is on a distinguished road
Quote:
Originally Posted by excaliber7388
as well as something like gmaps=darkrival.gmap in the server options.
I dont know if it will make that big of a diffrence but the .gmap extension is not needed in "gmaps="
Reply With Quote
  #5  
Old 04-30-2006, 09:51 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
x_X nope. Then again the outsides have changed a bit since I first made the levels txt file, and the height and width have probably changed as well. x_X is there an easier way other than walking around the server and figuring out how wide/tall it is, or is there some way I can generate a txt file and map. (M in editor never worked right x_X) (list index out of bounds is the most recent complaint)
Reply With Quote
  #6  
Old 05-01-2006, 12:46 AM
Andy0687 Andy0687 is offline
Enigma
Join Date: Feb 2002
Posts: 1,072
Andy0687 is on a distinguished road
Quote:
Originally Posted by excaliber7388
x_X nope. Then again the outsides have changed a bit since I first made the levels txt file, and the height and width have probably changed as well. x_X is there an easier way other than walking around the server and figuring out how wide/tall it is, or is there some way I can generate a txt file and map. (M in editor never worked right x_X) (list index out of bounds is the most recent complaint)
No I dont think there is, but on ProjectR we had a problem when updating a second gmap onto the server. Dunno how long its been going on for but Silent said something about restarting gserver when you add new gmaps to gmaps=

Unrelated responce probably, I dont really do gmaps, Sephiroth is the one who made our maps.
Reply With Quote
  #7  
Old 05-01-2006, 01:35 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Quote:
Originally Posted by Andy0687
No I dont think there is, but on ProjectR we had a problem when updating a second gmap onto the server. Dunno how long its been going on for but Silent said something about restarting gserver when you add new gmaps to gmaps=

Unrelated responce probably, I dont really do gmaps, Sephiroth is the one who made our maps.
I've tried that before too
DR's a little understaffed, the old version of a Gmap was easy, but for v4, it hasn't worked
Reply With Quote
  #8  
Old 05-01-2006, 10:43 PM
Prozac Prozac is offline
one of the good guys
Prozac's Avatar
Join Date: Jan 2006
Posts: 245
Prozac is on a distinguished road
Send a message via AIM to Prozac
for sanstrata classic, of course 5 years ago we saved them all as .graal files.
well, we resaved them all as .nw files, but then all the ow level links were not from the 0 to 64 on the edges, they were like from 1 to 63 on some places.
so, to make it faster,
I used levelgen to make a blank level set with the same width and height as the sanstrata map.
Then I used my hosted website and uploaded the old converted .nw files and the blank levle set, and wrote a program in perl to read the level definition from the old levels (using the old bigmap.txt) tile definitions, since .nw can be read as a text file, and then overwrote the blank grass with the level set with the correct tile definitions.
Thus all that was left to do was to recreate the warps to the insides of the houses and change all the house inside to ow warps to be to the right file name, as the x and y are the same.

at least, that was the easiest way to do it that i could think of ...
Reply With Quote
  #9  
Old 05-02-2006, 02:19 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Quote:
Originally Posted by Prozac
for sanstrata classic, of course 5 years ago we saved them all as .graal files.
well, we resaved them all as .nw files, but then all the ow level links were not from the 0 to 64 on the edges, they were like from 1 to 63 on some places.
so, to make it faster,
I used levelgen to make a blank level set with the same width and height as the sanstrata map.
Then I used my hosted website and uploaded the old converted .nw files and the blank levle set, and wrote a program in perl to read the level definition from the old levels (using the old bigmap.txt) tile definitions, since .nw can be read as a text file, and then overwrote the blank grass with the level set with the correct tile definitions.
Thus all that was left to do was to recreate the warps to the insides of the houses and change all the house inside to ow warps to be to the right file name, as the x and y are the same.

at least, that was the easiest way to do it that i could think of ...
Ah yes, why didn't that come to me?
Pretty cool though. Still have that program somewhere?
Reply With Quote
  #10  
Old 05-03-2006, 04:38 AM
Prozac Prozac is offline
one of the good guys
Prozac's Avatar
Join Date: Jan 2006
Posts: 245
Prozac is on a distinguished road
Send a message via AIM to Prozac
hm i forgot where i posted it. and im sure theres probably an easier way. anyways thats the algorithm ... so now u can use c++ or basic or something to do it
Reply With Quote
  #11  
Old 05-03-2006, 03:39 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Any tips on how to write it (basics, I plan to do it in C++)
Reply With Quote
  #12  
Old 05-04-2006, 01:03 PM
petro1212 petro1212 is offline
Angelus
petro1212's Avatar
Join Date: Mar 2003
Location: The Moon
Posts: 445
petro1212 is on a distinguished road
Send a message via AIM to petro1212 Send a message via MSN to petro1212
You could ofcourse bother to copy them from map to map in level editor. I did this for N-pulse a while ago (not a huge overworld) anyhow this will hardly cost you a few hours. Ducati also did it (with a way bigger OW) anyhow just try it...

And as for GMAP questions.... there are tons of FAQ/Walktroughs and how-to posts/threads on these forums & in the Graal Bible

You might even want to try and use Rick's GMAP naming system...
__________________
Reply With Quote
  #13  
Old 05-08-2006, 08:32 PM
Malinko Malinko is offline
Unholy Nation
Join Date: Mar 2004
Location: Massachusetts, U.S.A.
Posts: 1,782
Malinko is on a distinguished road
Send a message via AIM to Malinko
You want to re-name the level files to something else along with links and then make those into a GMAP file?

Stefan has a program for that somewhere, of course, if this is what is wanted to do.
Reply With Quote
  #14  
Old 05-08-2006, 09:34 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Quote:
Originally Posted by Malinko
You want to re-name the level files to something else along with links and then make those into a GMAP file?

Stefan has a program for that somewhere, of course, if this is what is wanted to do.
Anything to get a gmap with the current OW
and it would take MUCh more than a few hours to convert DR by hand, it's a huge OW with a lot of links on it.
Reply With Quote
  #15  
Old 05-09-2006, 12:02 AM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
And wasn't there a loadfullmap for the server options before? (We have a new overworld, but it's not going to replace the currentone for a LONG time, so we need to fix the current one)
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 09:05 AM.


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