how do i start with an item
March 1st 2005, 07:56 AM

sir akn


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
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.
give_item("item-(item)", (seq), (frame))
Change item- to item-fist to get fists and change the (seq) part to 438.
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);
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);
Whoops, its add_item, sorry. Gotta stay away from half-life X_x
March 1st 2005, 03:29 PM

sir akn


i dont understand how to find the frame can you tell me i want to add the boomerang its an addon
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.
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.
