HWR setBallistics

setBallistics(NewWeaponType,BOOL,FIREAHEAD,FIREBEHIND);

//Bool turns on/off ballistic modeling on the weapon. FIREAHEAD/FIREBEHIND are optional and allows the weapon to fire in front or behind the target.

Ballistic Modeling

//Weapon steering can be enabled or disabled on a per weapon basis.

On weapons with steering (non ballistic), the engine ensures that a percentage of shots fired will strike the target based on the accuracy table within the weapon. On weapons without steering (ballistic), the weapon aims directly at the target and fires (or ahead of/behind, if deflection capable), and whether it hits or not is subject to bullet speed, target speed, weapon range and target behavior. The accuracy table is used to determine the number of shots that are considered “aimed”. An aimed shot does full damage if it strikes the target, an unaimed shot is subject to the miss rules (miss cone, Hi/Lo damage, miss speed and miss lifetime) to determine bullet damage and behavior.