So I was curious how missile weapon accuracy worked, so I started messing around in the descr_projectile.txt file.
It quickly becomes obvious that the "accuracy_vs_units" stat is what controls accuracy, with lower numbers being better, and 1.0 being the worst. (The only thing funnier than setting a bunch of longbowmen to perfect accuracy, is setting them all to 1.0 and watching them shoot at the moon. ^_^)
The thing that totally dumbfounds me is that many of the basic projectiles have the "accuracy_vs_units" line commented out, and some lack it entirely. These are common projectiles such as bodkin_arrow (English longbowmen), and pistol_bullet (Reiters).
Adding the accuracy line to these weapons obviously works, but how on earth is their accuracy being determined without this line? In my testing, they seem to perform close to as if they had a 0.5 accuracy, but I've hardly done exhaustive testing.
Anyone have a clue how this is working?
Bookmarks