Graal Forums

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

PrinceOfKenshin 06-02-2007 08:31 PM

Gmaping
 
I know this is stupid but i want to make a gmap for a event. I want it to be 5 levels long. i can't seem to accomplish this task lol can i recieve some help?

Luda 06-02-2007 09:18 PM

Look here.

http://forums.graalonline.com/forums...t=61822&page=2

Make a text document, put this in it
NPC Code:
GRMAP001
WIDTH 5
HEIGHT 0

GENERATED test_01.nw
LEVELNAMES
"test_01.nw","test_02.nw","test_03.nw","test_04.nw ","test_05.nw"
LEVELNAMESEND
MINIMAPIMG test.png
LOADFULLMAP


After this is in the text document save it as a .gmap

Then put this in one of the levels
NPC Code:
// NPC made by Buttmonkey
if (created) {
loadmap test;
setlevel2 test_01.nw,30,30;
}



loadmap test= the name of your .gmap file

PrinceOfKenshin 06-02-2007 09:24 PM

Quote:

Originally Posted by Luda (Post 1314619)
Look here.

http://forums.graalonline.com/forums...t=61822&page=2

Make a text document, put this in it
NPC Code:
GRMAP001
WIDTH 5
HEIGHT 0

GENERATED test_01.nw
LEVELNAMES
"test_01.nw","test_02.nw""test_03.nw","test_04.nw" "test_05.nw"
LEVELNAMESEND
MINIMAPIMG test.png
LOADFULLMAP


After this is in the text document save it as a .gmap

Then put this in one of the levels
NPC Code:
// NPC made by Buttmonkey
if (created) {
loadmap test;
setlevel2 test_01.nw,30,30;
}



loadmap test= the name of your .gmap file

thats man i never really learned how to make a gmap lol. now i know ;-)

Luda 06-02-2007 09:35 PM

Sorry, I messed up, edited and fixed it.
NPC Code:
"test_01.nw","test_02.nw","test_03.nw","test_04.nw  ","test_05.nw"


Infernix 06-02-2007 09:38 PM

I havnt done a gmap in awhile but Im sure it could be done in a graphics editor of some sort with a lil general math wich would lead you to the right dimensions if you know what the dimensions of 1 level would be.

PrinceOfKenshin 06-02-2007 09:51 PM

Quote:

Originally Posted by Infernix (Post 1314627)
I havnt done a gmap in awhile but Im sure it could be done in a graphics editor of some sort with a lil general math wich would lead you to the right dimensions if you know what the dimensions of 1 level would be.

yea thats what i was looking for but couldn't find it lol

PrinceOfKenshin 06-02-2007 09:52 PM

It still doesn't work = (

Luda 06-02-2007 10:28 PM

Quote:

Originally Posted by PrinceOfKenshin (Post 1314634)
It still doesn't work = (

I'm not sure then, recheck everything. It worked for me.

Infernix 06-02-2007 10:39 PM

"You need to draw an image which has a width of 64*x and a height of 64*y when you want to make a world of x*y levels. The image must be saved as *.gif file or 8-bit colored *.png to get it work in the levels generator program."

Thats quote from the levelgendoc.html file located is your graal/levelgenerator folder which gives directions on gmaps.

PrinceOfKenshin 06-02-2007 10:44 PM

which i did and it didn't work

Rapidwolve 06-02-2007 11:10 PM

It's not stupid at all actually, a GMAP doesn't have to neccesarily be a limited thing.

DustyPorViva 06-03-2007 12:41 AM

Ya, levelgen will do it and create a gmap with the levels. You actually have to load the map though, you can't just open the gmap and play from there.
If it's online, there's some steps you have to take, and I'm not sure of.
If you want a 5x1 gmap, then make a 320x64 pixel file, fill it with the green the levelgen doc says to, and save it 8-bit. It won't accept files saved higher than such.


All times are GMT +2. The time now is 05:36 PM.

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