How do you make archers fire faster?
This is bugging me a little.
I wanted to make a unit which fires faster than the stock archer, but can't do it!
I tried speeding up the movement in the animation editor but the archer anim always fails when I try it.
There are no values in the text files that control this either. I am asusming that 'attack' happens at a particular stage in the animation....but only once per cycle. I would like the firing to happen TWICE per cycle.
Re: How do you make archers fire faster?
you change the last figure in the attack section, which normally is 1, to sometinhg lower, like 0.5 for double speed.
Re: How do you make archers fire faster?
Quote:
Originally Posted by Bwian
This is bugging me a little.
I wanted to make a unit which fires faster than the stock archer, but can't do it!
I tried speeding up the movement in the animation editor but the archer anim always fails when I try it.
There are no values in the text files that control this either. I am asusming that 'attack' happens at a particular stage in the animation....but only once per cycle. I would like the firing to happen TWICE per cycle.
Animations is how its done, I have slowed it down, but never sped it up. Still the principle should be the same, AFAIK animations run at 20 fps in game, and the default archer anim is about 24, just reduce the number of frames and away you go.
Re: How do you make archers fire faster?
Well there are three files related to firing arrows: standready to aim, aiming, and aim to standready. The first animation is run first, which switches to a second one which is a very short animation that loops while the archer seeks the target and waits for his comrades to draw their bows, and the arrow is loosed between the end of the second anim and before the start of the third. So as far as I can tell, animations in the exclusive case of archers don't slow things down or speed them up.
Re: How do you make archers fire faster?
Quote:
Originally Posted by dsyrow1
Well there are three files related to firing arrows: standready to aim, aiming, and aim to standready. The first animation is run first, which switches to a second one which is a very short animation that loops while the archer seeks the target and waits for his comrades to draw their bows, and the arrow is loosed between the end of the second anim and before the start of the third. So as far as I can tell, animations in the exclusive case of archers don't slow things down or speed them up.
Well my crossbows fire about once every 10 seconds, and there are just adaptations of those 3 animation files.
How its done is simple, increase the number of frames needed to go from stand ready to aim, and the number from aim to stand ready, and the time between shots is increased (the animation has to complete before it moves onto the next one).
I suspect the oposite holds true, decrease the number of frames in these 2 animations, and the rate of fire will increase, the animation will still do the 'searching for target' sequence, but the time taken to get there is shorter.
Of course, the time is already pretty quick (maybe 45 frames when stand ready to aim and aim to stand ready are added together) so you might not get much out of it, but halving those 2 should give you the effect your after.