Thread: Maps...
View Single Post
  #24  
Old 07-15-2002, 09:38 AM
Spectre1337 Spectre1337 is offline
Banned
Spectre1337's Avatar
Join Date: Nov 2001
Location: United States
Posts: 790
Spectre1337 is on a distinguished road
Send a message via AIM to Spectre1337 Send a message via Yahoo to Spectre1337
The Complete Idiots Guide to: Level Generator

You have to read the levelgen.html to know what the colors are for each type of tiling (trees, pond, etc). Once you know, add it into MS Paint. If the color is 24, 140, 0, then you would add it as R[24] g[140] b[0]

You scribble it onto your map, which should be 64 multiplied by the number of levels you want going east-west and north-south. Then, when you have the size for your image, it should be pretty large. you just add the colors from levelgen.html and draw all the stuff. I know the mountain color is already in Paint, its like the brownish one.

When you are done, save it as a 24-color bitmap. Then, convert it in PSP to gif. You could probably use something else also like IrfanView. It should say 'the image must be 256 colors' or something like that, then it will save it as a 256 color gif. Then, you open the levelgen.exe and find your gif. You select the folder you want the levels to go into, and the name of your levels.

Once they are made, I always open the first level (mymapa-1.graal) and add this NPC

NPC Code:

setmap map.png,bigmap.txt,0,0;


Then I enter the edittor again and press M, and the map is made. You might want to rename your png and your txt. Then you can change the script to

NPC Code:

setmap toranmap.png,toranmap.txt,0,0;



Congratulations, you have learned the basics of the Level Generator! Please switch to side two. I repeat, please switch to side two.
Reply With Quote