Quote:
Originally posted by joseyisleet
its only 10 levels of my server, i havent done a map before so i asked if anyone could do thast part so i could learn from ir.
|
We seriously need to put up an html tutorial page so people wont spam this kind of stuff

anyway steps for producing maps:
1. create maptext file that has your levels put together how they are linked example:
"blah.graa","blah2.graal"
"blarg.graal","blah3.graal","pheh.graal"
2. create npc with the following lines:
NPC Code:
if (playerenters) {
setmap map.png, <maptextfile>,0,0; //use map.png so that it will load a dummy image
}
3. run that level so that the maptext file is loaged
4. return to the editor and push 'M' to start generating map
5. after map is generated, save it
6. Use a GOOD image editor that can read/save pngs
7. open the 24bit png file and convert it to 256color (8bit) and save
8. replace the map.png in the npc with your new map and run level again to set that map
For mini-maps
1. take original file and decrease its dimensions by half and then save as a new png/gif file
2. add line to npc: setminimap <minimap>, <maptextfile>,0,0;
and there you have it
