![]() |
Level editing guidelines
For making maps for Zone you need to do following:
- download the editor and level generator (on serverlist click on Start, select Install packages, then download the development package) - generate a gmap using the level generator (this might not be very simple but any gmap fits, just needs correct level links) - add the gmap name to the file loadgmaps.txt in your Graal folder (create the file if it doesn't exist) - edit levels/tiledefs/tiledefsOffline.txt and copy everything from levels/tiledefs/tiledefsZone.txt, adding your new gmap name replacing one of the existing gmaps, e.g. to make a map using the alpha tileset (cut the .gmap from the name): tileset_zone-blank.png,MYGMAP,1,0,0 tileset_zone-floor1.png,MYGMAP,4,1024,0 tileset_zone-wall1up.png,MYGMAP,4,1472,256 tileset_zone-wall1top.png,MYGMAP,4,1536,256 tileset_zone-wall2up.png,MYGMAP,4,1504,304 tileset_zone-earth_gray.png,MYGMAP,4,1024,32 zone_tiles1.png,MYGMAP,4,768,48 zone_tiles2_gray.png,MYGMAP,4,1664,256 zone_tiles3.png,MYGMAP,4,1504,352 zone_tiles4-tent.png,MYGMAP,4,1504,448 zone_tiles5-paths_gray.png,MYGMAP,4,768,128 zone_tiles6-sulfpits_gray.png,MYGMAP,4,1664,352 |
Quote:
|
Quote:
|
Quote:
|
I don't understand?
|
Quote:
|
Quote:
|
i would like sumthing to be like a big field of a certain tileset and then to the right a box with pictures of all the different tiles and u just have to click it and then hit the space u want the tile then it would be really easy
|
Quote:
Quote:
|
That's what i'm saying! :pluffy:
|
1 Attachment(s)
Here.
Notice how it's made. All GMAPs have to start with "GRMAP001;" followed by the Width of the GMAP (in levels), then the height. Following is "LEVELNAMES," then the names of all the levels, in the order that you want them to appear in the gmap. Meaning that The very first level you list (going left to right) will be the top-left corner level in the actual GMAP. The very last level you list will be the bottom-right level of the GMAP. Also, make sure that you have the levels spelled correctly, or else you'll screw up the levels when you go to edit them after loading the gmap. After all of your levels are listed, put "LEVELNAMESEND" to finish the gmap. To load the gmap in the editor, you need to create an NPC with "load map mapname" in the script (this is using GS1, and I only bothered to learn very little of GS1, so don't bite my head off). Something like: NPC Code:// NPC made by Cor NOTE: When specifying the gmap name, do not use the ".gmap" extension in the script, or it will not work. The NPC should be placed in the first level of the GMAP the player would enter; or, you could place a similar NPC in every level of the gmap. |
Quote:
|
You use the level generator to generate the gmap and levels (nw), each level is 64x64 pixels so you need a 256x256 pixel bitmap for generating a 4x4 map. The image can be completely green color.
After generating it you open the levels with the level editor and put the right tiles. You can drag&drop the tiles and right-click on the level to fill it with the selected tiles (can be zone-grass or whatever) if they are all the same tiles, although I am not sure if the level generator makes "clean" levels with just one single tile. If there are problems then just do the normal way of filling it with tiles by right-click copying. |
FYI, you should probably only use my method if you can't do what Stefan suggests.
|
This is to do zone maps?
|
All times are GMT +2. The time now is 01:33 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.