![]() |
|
10-18-2011
|
1 |
|
I beat graal.
Join Date: Sep 2011
Location: USA
Posts: 227
|
Introduction: This is my first guide and well before we get into this whole thing i'll tell you more about me. I specialize in GFX and levels, people say I suck at scripting and I agree to an extent. I know 95% of GS1 and 50% of GS2. I've made 2 and a half GMaps, about 30 levels, 20 shields, 10 custom heads, 30-50 repaint heads, 5 bodies from scratch, 20 repaints of bodies, 30+ hats, and 4 swords. What is a GMap? A GMap is a text file that tells graal in combination with a file called 'loadgmaps.txt' to make a group of levels appear as one big level. How do I make a GMap? there are 2 programs that I find useful for making GMaps. -Level Generator -terrain generator(for graal kingdoms) I have never made a level for kingdoms but I have read some guides on how to use the terrain generator, here is a link http://wiki.graal.net/index.php/Crea...rain_Generator How do I use Level generator? The level generator takes .PNG files and converts them into .GMAP files. The level generator uses a colour code to make the .GMAP file. First you have to open your drawing application(i use Paint.NET because it is easy to use, but MS Paint would work too) and then you begin to construct your gmap by drawing landforms using the colour code. Can you explain more of how to use the colour code? Here is the colour code; -Green - RGB(24,140,24) grass -Light green - RGB(181,239,189) green trees -Blue - RGB(0,0,255) rivers and seas -Maroon - RGB(128,0,0) Mountains -Red - RGB(255,0,0) Flowers -Light brown - RGB(150,110,0) sand, note this is not dessert. -Brown - RGB(113,82,0) small sand rocks -Dark gold - RGB(83,61,0) Big sand rocks -Dark green - RGB(0,106,0) Swamp -Dark dark green - RGB(0,66,0) Bushes -Cyan - RGB(0,255,255) Puddle -Dark cyan - RGB(0,179,179) Puddle stone You draw these colours on the .PNG file, if you want a field made completely of grass, your file would look like the first attached file. If you wanted to add some mountaints your file would look like the second. Now say you have your field with the mountains, and you want an ocean, look at the third attached file. You can keep adding more and more stuff till you have a finished file.(Look at fourth attached image) What do I do once I have my finished design? Once you have you finished design you open Graal and install the package with the file 'levelgenerator.exe' in it, and then go to your Graal folder and open the level generator, then you browse and click on your file, then you choose your destination for the files. I did that and all I see is a bunch of files, did I do something wrong? No. Next you have to open notepad and create a file called 'loadgmaps.txt' and put it in your graal folder. Then you have to open the file and add the name of your gmap file to the first line. Example: PHP Code:
Trouble shooting: If this doesnt work, check that: -all the files that the level generator are in your graal folder. -you spelled the name of your world correctly in the loadgmaps.txt file. If you checked both of these and your gmap still wont work, open the file called myworld.GMAP with notepad(the file may not be called myworld.GMAP, it will be called whatever you named your .PNG file with .GMAP at the end.) and check that there isnt anything edited from when you generated the files. DO NOT EDIT THE GMAP FILE AFTER YOU HAVE GENERATED IT. The only reason you would ever need to edit it is if you were adding a map, or adding more levels to it. What should I do finally? The final step to making a gmap is the NPCs,buildings, and houses, you add these with the leveleditor.exe file. Thankyou for reading this incredibly long guide, rep+ if it helped you! If you have any questions put them in the replies, or send me a pm. EDIT: Finished fixing grammar.
Last edited by comet graal; 10-24-2011 at 06:31 PM.
|
|
10-18-2011
|
2 |
|
The muffin man
Join Date: Sep 2011
Location: Burger Refuge
Posts: 2,262
|
Most of this is copied from the original level generator document which is included with the level generator hence this in actual truth isn't helping anyone.
|
|
10-18-2011
|
3 |
|
the KattMan
Join Date: Sep 2011
Location: United States
Posts: 4,204
|
Here's the guide for the terrain generator - the generator used to create terrain as it is on GK - that I rewrote a couple months ago: http://www.graal.net/index.php/Creat...rain_Generator It would definitely be interesting to see more servers using the terrain system that GK uses. |
|
10-18-2011
|
4 | |
|
I beat graal.
Join Date: Sep 2011
Location: USA
Posts: 227
|
other then that i wrote the rest. |
|
|
10-19-2011
|
5 | |
|
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
PHP Code:
The map would load as soon as you enter that level where it's placed in. |
|
|
10-19-2011
|
6 |
|
Nerd
Join Date: Sep 2011
Location: Berlin
Posts: 3,825
|
I find that using that kind of level generator to generate a single level when you need them, so I am in the middle of creating a python coded single level generator, that works very much like crows GMAP generator, but it only generates single levels.
|
|
10-19-2011
|
7 |
|
I beat graal.
Join Date: Sep 2011
Location: USA
Posts: 227
|
good point callimuc ![]() sounds cool Emera, are you gonna post a link to download in this forum?(when your done.)
Last edited by Rufus; 10-21-2011 at 04:20 PM.
|
|
10-21-2011
|
8 |
|
I beat graal.
Join Date: Sep 2011
Location: USA
Posts: 227
|
^.^
haha yay rufus rep'd me and said good guide.
|
|
10-21-2011
|
9 |
|
I'm watching...
Join Date: Sep 2011
Location: Northern Ireland, UK
Posts: 644
|
Or you could just use this so there's no hassle involved: http://www.graal.us/tools/generatelevels.html |
|
10-21-2011
|
10 |
|
I beat graal.
Join Date: Sep 2011
Location: USA
Posts: 227
|
lol ive seen that a few times before but still prefer the details that can be created with level generaters and graaleditor.
|
|
10-21-2011
|
11 |
|
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
|
|
10-21-2011
|
12 |
|
I beat graal.
Join Date: Sep 2011
Location: USA
Posts: 227
|
lol everyone gets opinions.
|
|
10-22-2011
|
13 |
|
User
Join Date: Sep 2011
Posts: 124
|
Isn't iClassic made up of "fans" not really developers?
|
|
10-22-2011
|
14 |
|
Registered User
Join Date: Sep 2011
Location: Germany
Posts: 6,122
|
People always come up with development stuff. So why not help them with that even before they will ask?
|
|
10-22-2011
|
15 |
|
I'm watching...
Join Date: Sep 2011
Location: Northern Ireland, UK
Posts: 644
|
|