Hi MS -
No, you've got it backwards.
aiRateOfFire refers to the maximum delay between shots and aiRateOfFireDistance refers to the distance for this delay. The actual delay between shots by AI troops is equal to aiRateOfFire times the actual distance divided by the aiRateOfFireDistance.
So for exampe, if you had settings of -
aiRateOfFire=0.10;
aiRateOfFireDistance=1800;
then this means that if your sniper's target was at 1800m then he would try to fire every 0.10 of a second. If his target was at 900m then he would try to fire every 0.05 of a second etc all the way down to continuous fire at 0m.
This might be too fast.
For snipers I'd suggest maybe 15-20 seconds at 1800m. This means that at standard engagement ranges of 200-300m the delay would be around 2-3 seconds.
That's my two cents worth.
Cheers
Roni