## Weaponvelocity and Range

If a weapon with a ballistic trajectory does not have enough weaponvelocity, it will not be able to hit its listed range.

To hit a target at the same level as the firer, the required weaponvelocity is given as follows:

v >= sqrt(gR)

where v is the weaponvelocity, R is the desired maximum range, and g is the map gravity. If the target is directly above the firer, this becomes

v >= sqrt(2gR)

Map gravity rarely exceeds 150 or so, and most firing points are elevated above surface level, so 150 is generally a good minimum value to use for g.

## Weaponvelocity and Firing Angle

More generally speaking, if the firing angle is a, the angle needed to hit a target at the same level as the firer is given by

a = arcsin(gr/v2)/2

where r is the distance to the target. From this, the following will cause the firing angle to differ more from 45 degrees:

• Low map gravity.
• A close target.
• High weaponvelocity.

## High and Low Trajectory

Ignoring the possibility of intervening obstacles, there are two trajectories that will place a shot at a given point within range, which are referred to as "high" and "low" trajectory. The differences between the trajectories are outlined below for situations where the firer and target are at the same vertical level.

• The firing angles of the two trajectories differ from 45 degrees by the same amount. High trajectory fires at above 45 degrees, low trajectory below. The angle of one can be found by subtracting the angle of the other from 90 degrees. The higher angle of high trajectory makes it better at clearing obstacles.
• The time it takes for a shot to fall back to the level of its firer is given by 2v sin(a)/g. This means that a low trajectory shot will reach its target in less time: a factor of tan(a), where a is the angle of the low trajectory shot.
• The height of the shot at its peak is given by v2 sin2(a) / 2g. At 45 degrees this is a quarter of the maximum range.
• Impact velocity is the same as weaponvelocity. Impact angle is equal to the firing angle. This is true for both low and high trajectory.