The Dink Network

Making new usable items

April 21st 2003, 04:42 PM
anon.gif
Well ive been working on a D-mod or 2 for a while..... I want to make new items like usable items.... Like new swords without change the origanal graphics i can make the script easy and the gra[hics for it but i mean the item in the game like it like you start with a fist i need to be able to make new picture graphics for it please email me or post it here.

Email is ZiniDragoon@yahoo.com
April 22nd 2003, 04:54 AM
custom_magicman.gif
magicman
Peasant They/Them Netherlands duck
Mmmm, pizza. 
MAN If you could be a bit more clear. But well...
Change graphics: Paint Shop Pro or something (I'm not good with that. believe me.)
script: No big deal, just
void pickup( void )
void arm( void )
void armmovie( void )//Never seen it though
void use( void )
void disarm( void )
void drop( void )//losing the item
to add an item:
add_item("script", &sequence, &frame);
&sequence = the sequence of the pic
&frame = the frame of the pic
Check the item-fst.c for an example.
If you don't mean any of these, be a bit more clear s'il vous plaƮt.
(Yes, it's French).
April 23rd 2003, 11:21 AM
anon.gif
Sorry on being confusing i mean the item graphics in your invetory you know like the bow picture or the super fire ball picture i want to know how to add thoughs to the new item graphics. Tnanks
April 23rd 2003, 12:38 PM
wizardg.gif
Paul
Peasant He/Him United States
 
Okay, first you have to make the actual graphic, make sure it's the same size as the others and in the Dink Pallete. (if using Paint, the best way is to start with an inventory graghic from some other d-mod.) Then save it in your d-mod's Graphics folder as (for example) "MIcon-01.bmp".

Then you need to add it t the game in Dink.INI that's the hardest part, but basically you just add a line like this to the end of the file:
load_sequence graphics\MIcon- 850

Just make sure that number isn't used for some other graphic already. The original graphics end at 843 so anything from 850 to 999 is safe to use.

Then when you're ready to give Dink the item use:
add_item("myscript", 850, 1);
(or add_magic for magic of course)

Then if you want to add another item, just save the graphic as MIcon-02.bmp and use the command:
add_item("myscript", 850, 2);
You won't have to edit Dink.ini again.
April 25th 2003, 12:00 PM
anon.gif
cool thanks alot youve been a big help now all i have to do is that then i will try to send themn my D-mod