The Dink Network

how do i start with an item

March 1st 2005, 07:56 AM
anon.gif
sir akn
Ghost They/Them
 
how would i go about starting with and item what script do i mess around wih to make it work and what do i put down
March 1st 2005, 01:24 PM
wizardg.gif
Chaotic
Peasant He/Him
 
First you need to know which item you want, then type this in the start-1 script:

give_item("item-(item)", (seq), (frame))

Change item- to item-fist to get fists and change the (seq) part to 438.
March 1st 2005, 01:36 PM
spike.gif
start-1.c

add_item("item-sw1", 438, 7);

would give Dink a long sword. 438 is the sequence number of the pictures of the weapons. 7 is the frame number. To check out what frames are for which items open the editor, sequence 438 and count. For magic the command is

add_magic("item-fb", 437, 1);
March 1st 2005, 01:40 PM
wizardg.gif
Chaotic
Peasant He/Him
 
Whoops, its add_item, sorry. Gotta stay away from half-life X_x
March 1st 2005, 03:29 PM
anon.gif
sir akn
Ghost They/Them
 
i dont understand how to find the frame can you tell me i want to add the boomerang its an addon
March 1st 2005, 03:52 PM
spike.gif
If you've downloaded the addon and have the script, to get the correct picture for the boomerang go to the dink editor, press e, search sequence number 438, open it and check what number the boomerang is.

Of course I can just tell you since I remember it... the boomerang is frame 4.

EDIT: I think the add_item(); for the boomerang comes with the addon though. if it's a dmod type check start-1.c for the correct line.