This is a utility directed at modders who want visibility into AI flags, primarily for writing ship system AIs. It shows the following information for a focused ship (defaults to the player ship, only useful when it is on autopilot):
- Displays a red diamond on the maneuver target.
- Displays a blue diamond on the ship target.
- Displays a green diamond on the mouse position.
- Displays all active AI flags and their custom data (if any) on the right side of the screen.
- When flags are set/unset, displays them as floating text above the ship (in green/red text, respectively).
The display can be toggled with alt-f; ctrl-f shifts focus to the player ship's current target, and displays its last 8 target/flag changes. These shortcuts are customizable in ai_flag_tool_settings.json (which is mergable; you can put a copy in a personal mod to protect it from updates).
This also includes a console command OverrideFlag, which allows forcing an AI flag to see how it affects ship behavior--see the help in console for details. (I will caution not to count on this behavior being the same as when the AI turns on the flag itself, since many flags seem to be partly or entirely descriptive.)