How is Air Support bonus modifier from having CAS in the strategic area calculated? (The wiki has the formula for CAS damage but not support bonus.)
(It could be getting the maximum number of CAS unintercepted and not countered by enemy AA into combat.)
(And I think the maximum CAS per combat is 3*enemy combat width.)
What I know:
As maximum attack bonus from air support you get 25% (Defines.NMilitary.AIR_SUPPORT_BASE = 0.25) without air doctrines.
With full battlefield support doctrine you get +40% thats (0.25*1.4 = 0.35) 35%
What I don't know:
How you get the maximum value.
(It could be getting the maximum number of CAS unintercepted and not countered by enemy AA into combat.)
(And I think the maximum CAS per combat is 3*enemy combat width.)
I'll try to track in my games whether max air support is only attained when LAND_AIR_COMBAT_MAX_PLANES_PER_ENEMY_WIDTH is exceeded.
EDIT: On a second thought, that's not enough. I know the CAS that counts towards air support is modified by mission penalties such as weather and night. Only checking the max case is too small a step towards the whole formula.
The code seems to agree with this. Full bonus when plane limit is filled and the planes' damage factor is not reduced (by AA, weather, night etc.)(It could be getting the maximum number of CAS unintercepted and not countered by enemy AA into combat.)
(And I think the maximum CAS per combat is 3*enemy combat width.)