Programming Work wrote:
There needs to be a way for players to set their fleets to "hostile" or "passive". This would determine whether they would initiate combat if an enemy fleet is in the same system, and whether they would block enemy fleets from passing through a system if already present. Stealthy fleets wouldn't reveal themselves if not set to hostile, but would reveal themselves to start battles or block ships if set to hostile. There needs to be UI support for this, so human players can control whether their fleets are hostile, and backend support so that the UI can issue orders to control this setting, and so that AIs can do the same.
I think a simple checkbox in the fleet window can work for this.

When unticked it says "passive", when ticked it says "hostile". Now, you can argue, that this is counter intuitive, because it suggests you have to tick the box, if you want your fleet to be passive. The alternative is, to have it always say "hostile", no matter what is clicked, but by not clicking, it's not hostile(=passive). It's tricky.
I think the way it's done in the mockup works best, because it's interactive and in the worst case, it takes one click for the player to realize how it works.