So, short answer that means the calculation method in game is more sophisticated than the wiki math code reflects. Possibly it has more stages than just the two, whereas the wiki doesn’t, or possibly just updated values.
The two shells you picked out above are good examples. The US 76.2 mm is a big core in a small pallet (42% of weight is core). The soviet 85mm is a smaller core in a bigger pallet (13% of weight is core). So they fall on either side of that two stage Javascript step function for APCR mass adjustment (less than 36% multiply by 0.4, greater multiply by 0.5)
When you plug in the values, the Wiki calc generates exactly what you’d expect:
|
|
ShellDiam |
CoreDiam |
Mass |
CoreMass |
Speed |
%Core |
PalletMass |
AdjMass |
deMarre |
WikiPen |
US |
76.2mm |
0.0762 |
0.0381 |
4.22 |
1.79 |
1036 |
42 |
2.43 |
3.01 |
184.74 |
185 |
SU |
85mm |
0.085 |
0.028 |
4.99 |
0.648 |
1050 |
13 |
4.342 |
2.38 |
222.20 |
223 |
You can explain the game variation by assuming they calculate the mass adjustment differently, and reversing the equation to solve for what the adjusted mass they’re using must be:
|
|
WikiAdjMass |
WikiPen |
GamePen |
GameAdjMass |
US |
76.2mm |
3.01 |
185 |
190 |
3.12 |
SU |
85mm |
2.38 |
223 |
195 |
1.99 |
So the 76.2 mm shell is getting credit for more of its pallet weight in game than in the wiki, and the 85 mm shell is having the impact of pallet weight on the average mass further reduced than in the wiki calculation.
So the logical inference is the wiki has an older version of the mass adjustment determination, and the game has got a more complex one now, or at least a different one.
We can even figure out the mass adjustment for the pallet-penetrator ratio they’re using in game now, assuming the function is otherwise unchanged between wiki and game.
|
|
Wiki Adjustment |
Game Adjustment |
US |
76.2mm |
0.5 |
0.55 |
SU |
85mm |
0.4 |
0.3 |
So the 76.2mm HVAP on the wiki is getting credit in the impact mass for 50% of the mass of its pallet. In game it’s getting credit for 55. The SU-85 APCR, which has a much higher pallet-penetrator ratio (so overall it’s a significantly less dense shell), is getting credit for 40% of its pallet weight on the wiki, and 30% in game.
Those numbers are suspiciously rounded, so the game function probably isn’t that complex. Adding a few more HVAP values would tell you if this is still a two-step function, just the numbers have changed, or there’s more steps in here now than are on the wiki.
Bottom line, changing this line:
var kf_pallet_mass = (part_pallet_mass \ u003E36.0) ? 0.5 : 0.4;
to
var kf_pallet_mass = (part_pallet_mass \ u003E36.0) ? 0.55 : 0.3;
would get you the same values for those two specific shells you picked on the wiki as in game. Just for those two shells for sure though… if there’s more steps in the function now than the original two there would have to be more of the “if-then” ladder you see with the regular AP calculator.