For anyone interested in this (AI changing aircraft loadouts to suit threats) here is a small scenario I've been playing with.
It's written with SE 2021.006 ( a version 6 SE) so I think it can be played with any GE 2020.008 or newer (but I can be wrong )
HCDB2 170909 database and 2003 medc battleset
I use the 'see all' command ctrl-alt-s so I can look at landed enemy aircraft loadouts using f5 'ready' key. Play as Red side. At game start most aircraft air in ferry loadout. You can speed things up by using the auto run ctrl-alt-z key and time compression. Send out a few attacking planes now and again.
A very interesting thing which seems to always happen is that the distant base sends out scalp land attack loadouts against the tankers, but of course they just 'get stuck' because they can't fire. There are also interesting occurrences of planes with short range AAW missiles only going after planes when long range AAW equiped planes are available, unnecessary carnage .
Plenty of food for thought.
AircraftManagement.zip