GameConstants AI Settings

GameConstants.XML has a few interesting AI settings. Aside from the pathfinding controls, the pathfinding itself (for space units) can be exposed with ShouldDisplayPredictionPaths set to True. This shows a green line in front of units for their tracking path, most notably used in the mod AOTR.

There are other settings:

'''AIUsesFogOfWarGalactic AIUsesFogOfWarSpace AIUsesFogOfWarLand'''

All false by default, these tags turn the Fog of War on for the AI if set to true. In galactic mode, this prompts the AI to construct scouts. In tactical mode, it can activate a number of usually dormant plans. However, proceed with caution: these settings can seriously nerf the AI.

ShowUnitAIPlanAttachment
Probably the most useful setting to put as True is this. It will show you exactly what TaskForce, target and destination each unit has, in its encyclopedia popup. This can let you diagnose plans and AI behaviour, specifically in tactical mode. In Galactic mode, units tend to remain in FreeStore unit immediately required by a TaskForce; furthermore, the plan attachment only displays for landed ground units in GC.