Reduced AI Single Ship Spam
This is an attempt at reducing the AIs annoying tendency to spam "fleets" that only consist of one ship. The short of it is that you should be seing far less single ships and also less light ships. From my testing, this seems to mostly work. There still is the occasional lone ship, but I haven’t seen the AI do much outside of scouting with those, which is fine by me.
The table I mostly used for this was cdir_unit_balances_tables. It contains template Information for the AI. Basically, the AI gets Instructions on what type of ship goes in what fleet. The problem causing the single fleets seems to have been that the "Min Units" column was set to 1 for all templates. What this seems to have caused is that the AI thought "Hey, I have one ship, just as the template says, this is the fleet I am going to use forever". I turned up the value to 2 for all templates that contain multiple Ship Types and to 4 for "single type" templates. The latter for some reason includes FOTS, which goes a long way to unterstand why it’s naval AI is so insistent on monotonous fleets.
That same table can probably also be used to manipulate AI army comps on land, so there is some potential here.