Algorithms/Formulas

SPWaW is a tactical squad-level World War II game on single platoon or up to an entire battalion through Europe and the Pacific (1939 to 1945).

Moderator: MOD_SPWaW

Post Reply
craig77
Posts: 8
Joined: Mon Sep 18, 2000 8:00 am
Location: Alba,Mo

Algorithms/Formulas

Post 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
User avatar
Paul Vebber
Posts: 5342
Joined: Wed Mar 29, 2000 4:00 pm
Location: Portsmouth RI
Contact:

Post 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 ]
Post Reply

Return to “Steel Panthers World At War & Mega Campaigns”