A bit more on TOAW internal functioning, concerning the antipersonnel rating. I mentioned these two formulae before when discussing auto-generation of the anti-shipping capability:
(for fixed wing aircraft) the anti-ship capability is figured as the square root of (two times the AP rating), rounded down.
and,
Anti-ship capability for artillery, as auto-generated by TOAW.
Once again, with the antipersonnel rating (AP) as entered by an external editor into the equipment file:
Anti-ship capability is the square root of (AP divided by 2), rounded down.
What may not be obvious is that although one formula multiplies by two and the other divides by two, they are both using the same method to generate the anti-shipping capability.
Consider: when entering antipersonnel ratings in the equipment file using an external editor, for equipment that is not fixed wing aircraft, we enter an AP rating that is eight times what the game will display as the AP value. That is, if I want the game to show an AP value of 16 for a 105mm howitzer, I enter a value of 128 in the AP field of the equipment definition:
<ITEM_149>
<NAME>105mm Howitzer</NAME>
<COUNTRY>Common equipment</COUNTRY>
<EQUIP1>25</EQUIP1>
<EQUIP2>165</EQUIP2>
<AT>0</AT>
<AP>128</AP> . . .
But for fixed wing aircraft, the AP rating entered is only doubled from what the game will display as the AP value:
<ITEM_1865>
<NAME>P-40 (late)</NAME>
<COUNTRY>United States - 1941</COUNTRY>
<EQUIP1>256</EQUIP1>
<EQUIP2>187</EQUIP2>
<AT>2</AT>
<AP>6</AP> . . .
(P-40 (late) displays an AP value of
3 in-game, one-half of what is entered into the equipment file).
Back to the two formulae above: the calculation is taking the square root of a quantity and rounding the result down. But the quantity, in terms of units used, is the same for both formulae. This is happening because in the case of artillery (equipment file entry 8 times that used by the game) is DIVIDED BY TWO; that is, the AP value is then four times that used by the game. With fixed wing aircraft (equipment file entry 2 times that used by the game), the AP value is MULTIPLIED BY TWO; that is ... you guessed it ... four times that used by the game. So that "four times the value displayed by the game" for the AP rating is a sort of common ground for the AP ratings of fixed wing aircraft in relationship to the AP ratings of other equipment in the game (for internal calculations done by TOAW).
Lessons therein regarding how much projectile weight goes into a an AP rating of "1" for different equipment, and how air-delivered ordnance is scaled in relationship to that delivered by surface weapons.
Cheers