<recoil>
<!-- each shot moves this amount along the x and y axes, measured from 5m -->
<attack_base>
<param name="x" value="0.0001"/>
<param name="y" value="0.0025"/>
</attack_base>
<!-- additional randomness for high rate -->
<attack_rand_high>
<param name="threshold_timeslice" value="0.45"/>
<param name="threshold_shots" value="4"/> <!-- if shots fired in the last timeslice crosses the threshold use high recoil randomness. -->
<param name="nx" value="-0.05"/>
<param name="x" value="0.05"/>
<param name="ny" value="-0.0"/>
<param name="y" value="0.01"/>
</attack_rand_high>
<!-- If you don't want your gun to be super-accurate this adds some spread -->
<spread>
<param name="min" value="0.0"/>
<param name="max" value="0.16"/> <!-- max radius at 5m -->
<param name="attack" value="0.06"/> <!-- spread per shot -->
<param name="decay" value="0.3"/> <!-- time from max to min -->
<!-- movement modifier -->
<param name="speed_threshold" value="1.0"/> <!-- movement speed over this adds spread -->
<param name="speed_m" value="0.027"/> <!-- movement times this is added to spread -->
<param name="rotation_threshold" value="1.0"/> <!-- rotation over this add spread -->
<param name="rotation_m" value="0.027"/> <!-- rotation times this is added to spread -->