📧 Message Board Archive

Maps
I finaly got around to makeing a map, but I'm not sure how to get the "m" key to read it. Whats the best way to do this?
Re: Maps
: I finaly got around to makeing a map, but I'm not sure how to get the "m" key to read it. Whats the best way to do this?



1. make a global var (in main.c) named &s2-mapput

2. put the map screenshot into tiles\map1.bmp



when you want the player to "own" the map, make &s2-mapput !=, <>, whatever (not equal) 0.



OR make a script called BUTTON6 in the story folder. this what controls M key. use

show_bmp(" ", 1, 0); to show a bmp. ps the 1 there is what makes the little signal that shows where dink is at on the map (if not indoors).
thanks, but..........
: : I finaly got around to makeing a map, but I'm not sure how to get the "m" key to read it. Whats the best way to do this?

: 1. make a global var (in main.c) named &s2-mapput

: 2. put the map screenshot into tiles\map1.bmp

: when you want the player to "own" the map, make &s2-mapput !=, <>, whatever (not equal) 0.

: OR make a script called BUTTON6 in the story folder. this what controls M key. use

: show_bmp(" ", 1, 0); to show a bmp. ps the 1 there is what makes the little signal that shows where dink is at on the map (if not indoors).



Now I can bring up the map bmp, but it just shows a black and white image over the dink game. Mabey I'll try button 6 :p
Re: thanks, but..........
: Now I can bring up the map bmp, but it just shows a black and white image over the dink game. Mabey I'll try button 6 :p



You need to do a screenshot of your map from DinkEdit (or WinDinkEdit). You should be able to find some tutorials in Development section about taking a screenshot.
Re: thanks, but..........
also make sure its the right pallette. ive had the same problem with messed up - b & l et cetra graphics in dink. paste it into a tile and resave.



: : Now I can bring up the map bmp, but it just shows a black and white image over the dink game. Mabey I'll try button 6 :p

: You need to do a screenshot of your map from DinkEdit (or WinDinkEdit). You should be able to find some tutorials in Development section about taking a screenshot.

Already did. Its a weird problem.
I made a mini town on one screen, took the screenshot and have a nice bitmap showing where everything is. Extention is .bmp , paint and other browsers can view it fine, but using button six as per orig. Dink , it still shows a washout of the map over the dink game in play. (using &sg-map [?] gives the same result.)

Re: Maps
:hehe, that map is really a picture that when the 'm' key is pressed it show it on full screen. You have to take a screen shot of the map and edit the image some.



--WC
Re: Maps
: :hehe, that map is really a picture that when the 'm' key is pressed it show it on full screen. You have to take a screen shot of the map and edit the image some.

: --WC



But anyway, just take a look at the source code to the original Dink (since few d-mods include that feature) to see how it works.