Attack speed
Is there way to increase Dink's attack speed, without a change to walking speed?
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);
}
void hit()
{
sp_frame_delay(1, 22);
}
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)
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)
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!
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!