View Single Post
  #1  
Old 08-26-2001, 09:34 PM
Metal-Slug Metal-Slug is offline
!_!
Metal-Slug's Avatar
Join Date: Jun 2001
Posts: 2,421
Metal-Slug is on a distinguished road
Quote:
Originally posted by mhermher
This is how i did:


create a txt called yakozosmap.txt or whatever
then open it and put all your levels in it like this



"level1.graal","","","level3.graal","",""
"","","","level4.graal","",""

or how your server is like

each "" is for 1 level so you have to do like this sometimes


"","","","",""...

yeah then when you made the txt done open a lvl and put this in a NPC:


if (playerenters) {
setmap bravomap.png,playerx,playery;
}

then play the game with that map then go to editor agin and press M then it will ask you to continiu cuz it will load the levels and you press yes then you wait like 5 min and get the map, then you open a program like photoshop then you open the map file and save it as a gif then you take it to your graal directory and there you draw the image to the file called "mng2gif.exe" or what its called then you get a copy of your map but in PNG then you go to that level where you scripted, in there change "bravomap.png" aginst "yourmapfile.png" and woilla it works

thats good, but, if you used level generator, the txt file is made, so, open up the a-1 level and make an npc in it is
NPC Code:

if (playerenters) {
setmap graalmap.png,bigmap.txt,x,y;


then press "m" key, save the file, then change that npc to graalmap.gif, open up the png, save it as gif, then gointo the npc, press "m" again, and viola, you got yourself a map
Reply With Quote