So, you are going on record as saying that auto-puffy has never shot at a clean fighter in lieu of buffs headed for the CV it was supposed to be protecting?
BnZs, read the code, if you can. And if you can't, then please get a clue and take it from those of us who can. The fact is, this code clearly shows *exactly* how the new auto-puffy target is chosen. And, other than skipping planes below the minimum altitude (which we know to be 3k), altitude doesn't factor into it. Range to the target does.
Yes, the auto-puffy will fire at a fighter, rather than a set of buffs, if the fighter is closer.
Please note that the distance being considered is the actual length of the vector from the gun to the target, not merely the X or Y offsets. This means that someone could be "closer" to the autogun than another target according to horizontal distance, and yet be further from the gun in absolute terms because it's at a much higher altitude. So, if you have a fighter at 4k off the deck and 2k out from the ship, or a set of buffs at 10k off the deck by only 1.5k out from the ship, the fighter is the closer target (despite being .5k further out horizontally), and the gun will fire at the fighter.
HiTech, is there any chance you guys would consider prioritizing bombers over fighters in these calculations? I would think that any sane gunner would regard the threat of a set of B-17s lumbering toward the CV or factory to be far higher than the threat of a bobbing and weaving P51 or Bf 109 (or Me 262, arg).