The Dink Network

graphics

March 23rd 2003, 05:39 AM
duck.gif
I'd like to create a map of my d-mod, then i'd like to sell it in a shop, and so I did. But there are a couple of problems, The item_map script I made, actually, I just don't know how to make it, anyway, I made this script:

void use(void)
{
show_bmp("tiles\map1.bmp", 1, 0);
kill_this_task();
}

but it doesn't want to show my map, but if I let it show map1 (original version) it does show. ==> problem 1
But I can only see it once, then I have to select the fist, then i select the map again, and then i can see it again. ==> problem 2
Can someone help me?
Thanks!
I just realised this site is American time (if I'm wrong, I apologise) In Belgium it's plus minus 2.30 in the afternoon. So, no, I don't get up early to get on my pc!
Stefanie
March 23rd 2003, 06:01 AM
fish.gif
Simeon
Peasant He/Him Netherlands
Any fool can use a computer. Many do. 
I just realised this site is American time (if I'm wrong, I apologise) In Belgium it's plus minus 2.30 in the afternoon. So, no, I don't get up early to get on my pc!

You can change your preferences to show the correct time. My preferences are set to GMT + 1 (Netherlands, Belgium etc..) and it appears as March 23rd 2003, 02:39 PM.
March 23rd 2003, 09:09 AM
duck.gif
Thanks for telling me, but I would like a solution for my other problems.
Anyway, it does look better in gmt +1!
So, thanks for the pointer!

Stefanie
March 23rd 2003, 09:21 AM
wizardb.gif
Phoenix
Peasant He/Him Norway
Back from the ashes 
but it doesn't want to show my map, but if I let it show map1 (original version) it does show

You have to have the maps in the dink pallette.. if you don't know how to do that, I'd suggest you see the Development section, and find a tutorial for it...

But I can only see it once, then I have to select the fist, then i select the map again, and then i can see it again

Yeah... you're killing the script, don't you see? Remove the "kill_this_task" from

void use(void)
{
show_bmp("tiles\map1.bmp", 1, 0);
kill_this_task();
}

and it should work as you want it to.
March 23rd 2003, 09:33 AM
sob_scorpy.gif
Tyrsis
Peasant She/Her Russia
 
The map is shown by the script button6.c, when you press m. You don't need the special item, just edit the script button6.c (you will find the source in the develop dir of dink).
March 24th 2003, 08:02 AM
duck.gif
Thanks for you help! I'll have to look up the dink palette thing. I thought it had something to do with colors, or some sort of graphical thing, and I was stupid not to see the kill this task thing, thanks a lot Phoenix!