Is it possible to alter the amount of time between each volley with missile units, in order to change the firing rate?
Is it possible to alter the amount of time between each volley with missile units, in order to change the firing rate?
Try this and see if it works: Edit the export_descr_unit.txt file
and search for the archer unit you are interested in. Find this
line
The comments at the top of this file say that the next to last entry,Code:stat_pri 6, 1, arrow, 120, 25, missile, missile_mechanical, piercing, none, 25, 1
the one I colored blue, is the time between attacks in tenths of a
second. So if this works for missile units 25 means they shoot every
2.5 seconds. Try changing this to 100 and see if they slow down
a lot. Haven't tried this myself so its only a suggestion.![]()
No, it's not. I tried this for a different thread, and neither the delay in the archer's attack line, nor the fire_delay stat later on in the unit definition, had any effect whatsoever. I think the default value of 25 is locked in the code and ignored in the file entirely, as every unit I've seen has 25 in that spot.
stat_pri 6, 1, arrow, 120, 25, missile, missile_mechanical, piercing, none, -500, 0.2
Note last two values. Dunno why, but its working.
So it is possible to change the volley speeds then?
Could somebody else verify this? I'm not at a comp right now with M2 on it. I'll check it as soon as I can though.
Some fiddling with the animations and volley speeds could potentially allow us to include units with automatic weaponry without them looking terrible.
I found those things in darthmod. For e.g. before my musketeers had shot 3 rounds before swiss pikemans got them. After that change pikemens are dead in about 100 metres of their marching. Its just much faster :)
Bookmarks