The Dink Network

Attack speed

January 21st 2006, 08:51 AM
bonca.gif
Erwin
Peasant He/Him Netherlands
Friendship is magic 
Is there way to increase Dink's attack speed, without a change to walking speed?
January 21st 2006, 09:16 AM
fairy.gif
Glennglenn
Peasant He/Him Norway
GlennGlenn doesn't want a custom title. 
Yes, you have to speed up the frame delay, but I dunno how to do it something like

void hit()
{
sp_frame_delay(1, 22);
}
January 21st 2006, 12:30 PM
slayer.gif
rabidwolf9
Peasant He/Him United States
twitch.tv/rabidwolf9 
for a certain weapon, or just overall?

1)if for a certain weapon...

in the arm portion of your weapon script are these lines that load the hit graphic into the ini so they can be used

init("load_sequence_now graphics\dink\hit\normal\ds-h2- 102 75 60 72 -19 -9 19 9");
init("load_sequence_now graphics\dink\hit\normal\ds-h4- 104 75 61 73 -19 -10 19 10");
init("load_sequence_now graphics\dink\hit\normal\ds-h6- 106 75 58 71 -18 -10 18 10");
init("load_sequence_now graphics\dink\hit\normal\ds-h8- 108 75 61 71 -19 -10 19 10");

(these lines are for the fist hit graphics, the sword hit graphics are a little different, but just read the lines in the script, they're pretty sraight forward)

the second number (75) is the frame delay, lower this number and it will hit faster. experiment with it until you get the desired speed.

2)overall...

for this, you'll have to use the method above, but do it in all scripts that dink hits to attack (fist/swords)
January 21st 2006, 12:30 PM
knightg.gif
cypry
Peasant He/Him Romania
Chop your own wood, and it will warm you twice. 
I don't know if this works, but you can try changing the ini lines in a script:
init("load_sequence_now graphics\dink\walk\ds-w1- 71 43 38 72 -14 -9 14 9");
I think the second number(43) is the delay between frames. Change it to 20. And make sure you change it for all the graphics that you want to speed up(all directions).

Edit: I guess rabidwolf9 was faster than me. Dang!
January 21st 2006, 01:46 PM
bonca.gif
Erwin
Peasant He/Him Netherlands
Friendship is magic 
I've got it. Thanks.