graphics
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
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!


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.
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.
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
Anyway, it does look better in gmt +1!
So, thanks for the pointer!


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.
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?

void use(void)
{
show_bmp("tiles\map1.bmp", 1, 0);
kill_this_task();
}
and it should work as you want it to.

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).