Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 08-26-2001, 03:20 AM
Guest
Posts: n/a
Help me with a map problem please

I want to know how to make a map excactly...yes i know its been asked before but I just don't understand how to make a png file...
i mean do you have to draw it all by yourself or have a special way for it...?
please help me out
Reply With Quote
  #2  
Old 08-26-2001, 03:56 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
ok its pretty simple
this is the way i done mine

ok make a backup of bigmap.txt
and make your own txt file for your map like

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

then save it in the map as bigmap.txt
then create a lvl called onlinestartlocal.graal
and put this npc in it

if (playerenters) {
setmap map.png,bigmap.txt,playerx,playery;
}

then close down the NPC windows and hit M
then it should cycle through all of the levels and it will make your map
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #3  
Old 08-26-2001, 03:58 AM
Guest
Posts: n/a
so just map.png?
ok thnx, I needed to know that
Reply With Quote
  #4  
Old 08-26-2001, 04:00 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
yep
thats all
and it should work
and to make the mini map just resize the map it makes
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #5  
Old 08-26-2001, 04:00 AM
Guest
Posts: n/a
it doesn't work
Reply With Quote
  #6  
Old 08-26-2001, 04:01 AM
Guest
Posts: n/a
this is what I've done:

if (playerenters) {
setminimap map.png,miniyakuziamap.txt,playerx,playery;
setmap map.png,miniyakuziamap.txt,playerx,playery;
}
Reply With Quote
  #7  
Old 08-26-2001, 04:01 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
aww
it should work
you make the txt thing right
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #8  
Old 08-26-2001, 04:03 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
o i know
try puttin the bigmap.txt in your lvls folder
then if it doesnt work
i have no idea why its not workin
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #9  
Old 08-26-2001, 05:25 AM
Lyndzey Lyndzey is offline
Woman
Lyndzey's Avatar
Join Date: Aug 2001
Posts: 2,875
Lyndzey is a jewel in the roughLyndzey is a jewel in the rough
First name it
setmap mapname.gif, then play it for 3 seconds, then do it. It should work, then change it to .png
Reply With Quote
  #10  
Old 08-26-2001, 05:35 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
i got told pngs dont work offline but ive neva tried them for a map
i usually make my map a gif
__________________
QUICK LOOK BUSY JESUS IS COMING!
Reply With Quote
  #11  
Old 08-26-2001, 05:57 AM
Guest
Posts: n/a
...
all I get is a little head in the downleft corner which doesn't move...

and I just need to know how to make a map (not the text but the graphic)
I mean do i have to draw one myself with paint or something? Or does graal make the map by itself by just reading the txt file and the levels in it and so makes a img for it....???
Reply With Quote
  #12  
Old 08-26-2001, 06:03 AM
Guest
Posts: n/a
Quote:
Originally posted by Lyndzey
First name it
setmap mapname.gif, then play it for 3 seconds, then do it. It should work, then change it to .png
thats what I don't understand Lyndzey...how do I make a graphic for the map???????
setmap imgname and stuff I understand, but I dunno how to make the image for it
Reply With Quote
  #13  
Old 08-26-2001, 06:43 AM
ownerofbabylon ownerofbabylon is offline
Lord Helmut
ownerofbabylon's Avatar
Join Date: Jun 2001
Location: Gainesville FL
Posts: 1,763
ownerofbabylon is on a distinguished road
Send a message via ICQ to ownerofbabylon Send a message via AIM to ownerofbabylon
Quote:
Originally posted by AlexH
i got told pngs dont work offline but ive neva tried them for a map
i usually make my map a gif
Yea only gifs work offline
__________________


Warrior of Light

WWW.BABYLONSERVER.COM
Reply With Quote
  #14  
Old 08-26-2001, 06:54 AM
Guest
Posts: n/a
Quote:
Originally posted by ownerofbabylon


Yea only gifs work offline
that's all nice and stuff, but I just need to know how to make an image file for the map...
please help me out, how do I make a image for the map?!?!?!?!
Reply With Quote
  #15  
Old 08-26-2001, 08:55 PM
Guest
Posts: n/a
nobody????
Reply With Quote
  #16  
Old 08-26-2001, 09:17 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to 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

__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #17  
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
  #18  
Old 08-26-2001, 10:39 PM
mhermher mhermher is offline
galase galase!
mhermher's Avatar
Join Date: Jun 2001
Location: Sweden, Stockholm.
Posts: 2,012
mhermher is on a distinguished road
Send a message via ICQ to mhermher Send a message via AIM to mhermher Send a message via Yahoo to mhermher
i dont use lvl generator
__________________
Donate money for my trip to Germany

Adiarde Manager
Reply With Quote
  #19  
Old 08-27-2001, 06:00 AM
Guest
Posts: n/a
very nice, and thnx i needed to know the "m" part
and now I need to know how to make a bigmap, i got the little one but when I press m I get excactly the same one and its the same size (small)
so how do I make it bigger?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 04:12 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.