Pages

Verified air order rules

The two match rules for aircraft at repair pads and escorts on Hold Position, set by air-orders.toml or a mod profile.

Two match rules decide how aircraft use repair pads and escort. Set them when your mod's aircraft should fight on instead of flying to a pad, or when escorts on Hold Position should stay put.

The worked example

Put air-orders.toml at the mod's mounted root:

version = 1
pad_retreat = "exclude-untransportable"
guard_retaliate_on_hold = false

Either field may be omitted; an omitted field keeps the stock rule.

The rules

Field Values Stock TA
pad_retreat "all-aircraft", "exclude-untransportable" "all-aircraft"
guard_retaliate_on_hold boolean true

With "exclude-untransportable", an aircraft whose FBI sets cantbetransported=1 fights on when damaged instead of breaking off to a repair pad, and clicking an airbase with it selected gives no land order. With guard_retaliate_on_hold = false, an escort set to Hold Position no longer attacks whatever shoots the unit it guards.

From a mod profile

Without that file, matcher "verified-executable-air-orders-v1" selects a profile's pad_retreat and guard_retaliate_on_hold only when the mounted mod has the profile's identity (Mod identity); a profile must select at least one non-stock rule. The bundled taesc-air-rules-v1, revision 1, recognizes Escalation 10.2 and selects both. The air order canon records the tests behind it. An unrecognized mod keeps stock rules. A non-stock selection enters the combined compatibility identity as the air-orders domain; stock rules add nothing to it.

What goes wrong

A profile that applies logs:

air order compatibility: profile taesc-air-rules-v1@1 selected pad_retreat exclude-untransportable, guard_retaliate_on_hold false; evidence: <evidence>

A root air-orders.toml is used without a log line. A wrong value stops the match from loading:

mod compatibility: air-orders.toml.pad_retreat: expected 'all-aircraft' or 'exclude-untransportable'
mod compatibility: air-orders.toml: version: required integer 1

A profile that keeps both stock rules is refused:

mod compatibility: mod-mappings.toml: profile[0]: an air-orders profile must select a non-stock rule

Next