Base Air Combat Strength

There doesn't seem to be such a method... :p
 
What exactly are you trying to do?
 
What exactly are you trying to do?

The same thing I did for land and sea units. I take the air combat values of 3 aircraft and add them together to give the new (Tactical or Strategic) "Air Force" unit the combined value for air combat. The <iCombat> value can be set for land and sea units, but since air units use the <iAirCombat> value for strength, and there is no python method to edit that <iAirCombat> value; it looks like I'm hosed.
 
You need a custom DLL, then. Where there is a CvUnit.setAirCombat() method exposed to Python as CyUnit.setAirCombat().
 
You could, as an alternative, define identical units with different air combat strength values? Then convert the unit to some other UnitType whenever you need to change the value.
 
You could, as an alternative, define identical units with different air combat strength values? Then convert the unit to some other UnitType whenever you need to change the value.

If someone introduces a new air unit, then there would be a need to create more "identical" units. No. I think I have a better solution. I will have to limit the combined air units to the same type of unit. When I convert the units, I will give one of them a 100% combat promotion for each unit added to the Air Force (Max 5 units for an industrial Air Force built in the future era). It looks like this is another work around that will be solved by using a custom promotion.
 
Back
Top Bottom