Page 1 of 1

Algorithms/Formulas

Posted: Tue Apr 17, 2001 11:50 pm
by craig77
If possible, can you give me the formulas used for HE penetration and the formula used to convert AP penetrations to 0 meters and 0 degrees slope.

Thanx

Posted: Wed Apr 18, 2001 1:29 am
by Paul Vebber
HE penetration now uses the following appoximation

1.33*C*(2.75E-20*warhead*(velocity)^5.6+0.16*warhead)

This nominal value can vary form .66 to 1.33 based on a three "die" roll.

Where C is a constant depending on metric or english units. (if english use 25.4)

TO convert from range and angle to 0 degrees slope and 0

For range: pen at range/(((maxrange/4)-(range/50))/(maxrange/4))

this is the standard linear decay SP has always used

For penetration:

base armor*(SQRT(1/(COS(hor_angle*PI()/180)^2.8)+1/(COS(ver_angle*PI()/180)^2.8)-1))

The 2.8 is an "average" this value varies from 2 to a bit over 4 based on ammo type and T/D ratio. We also use a randon +/- 15 degrees in horizontal and -6 to +3 in vertical (to account for bumps in the ground that constantly change tilt of the vehicle) ITs skewed - becasue most shells arrive at a slight downward angle)

[ April 17, 2001: Message edited by: Paul Vebber ]