I could prevent the AI from using certain types of naval power units to escort if you (and others) think that would be helpful. I don't see a practical way to make more subtle changes to the escort logic though. It would be nice if it were possible to make the AI prefer destroyers over battleships for escort duty but still be able to use both if needed but that's hard because the AI does minimal coordination between units.I think the work you've done with escorts has been excellent. I think the difficulty with escorts is partially the number required, and also which units are chosen by the computer. Since Naval Power covers all kinds of bases, the AI can't tell to use a destroyer for protection and a battleship to bombard. They really needed to make an escort and a combat AI strategy, essentially offense and defense strategies for sea.
That's a good idea. In fact I don't even have to use checkboxes since I've found out how to add images to menu items. The game uses that function to add icons to the production chooser menu you get by shift + right clicking on a city. Here's what it looks like on a unit:This discovery is gold.
Since you did the work, its easy for you to add the following functionality:
The grayout menu entry refers to units without any other move points, but the checkbox entry could refer the unit can attack this round.
When I attack a city, I first bombard the units inside the city and then, manually select my attack units to attack.
Many times I cannot identify easily what units I used for attack and as a result a few times I select a unit that has already attacked and as a result I get the error: This unit has already attacked (something like that)
So, when you have a stack of units attacking enemy you can easily identify what units you used for attacking so you can select a unit that has not attacked.
I could add any image there, even one loaded from the mod folders. I'm not sure what would be a good icon to communicate that the unit can't attack again this turn. Maybe a grayed out or hollowed out sword? Maybe a hollowed out lightning bolt to indicate it's lacking the blitz ability?