Native weapon-claim policy
Under the TA rules an order can take weapon slots away from auto-targeting: a claimed slot gets no target from the unit's own search, and the order either aims it or leaves it idle. The weapon-claim policy decides which slots the attack, attack-ground and mobile build orders claim. It applies to every unit of the match and to any number of authored weapon slots.
| Order | stock (TA) |
minimal |
|---|---|---|
| Attack a unit | slots 0 and 2, and the order slot when it is past slot 2 | the order slot only |
| Attack ground with the special attack (weapon 2, the D-gun) | every slot | slot 2 only |
| Attack ground with any other weapon | every slot but 2 | every slot but 2 |
| Mobile build, while the builder lathes the frame it started | every slot | none |
| Help build another frame or a factory's product, repair a unit, be repaired on a pad | every slot | every slot |
The order slot is the unit's first active weapon. Under minimal a
commander keeps auto-firing its laser while it aims and fires the D-gun, and
an armed builder keeps shooting at enemies in range while it lathes its own
frame (its unit script still decides whether it can aim while building).
Under either policy a builder holds its fire while it works at a frame it
helps build or a unit it repairs, and an
aircraft holds its fire while a pad repairs it; an attack order on a unit
takes the slots back at once. A mobile build holds the weapons only while
the builder lathes its own frame.
Add weapon-claims.toml at the mounted mod root:
version = 1
policy = "minimal"
Version 1 requires both fields. policy accepts "stock" or "minimal".
Unknown fields, tables, types, versions and values reject loading with
diagnostics. The highest-priority VFS copy wins as a whole.
An explicit native file takes precedence over the
compatibility library, whose verified-executable
profile selects minimal for TA:ESC 10.2. policy = "stock" keeps TA's
claims even when that profile matches. With neither the file nor a matching
profile the match plays stock.
The policy is resolved once when the weapons load, in the engine and the bridge alike, and enters the match's compatibility plan: a checkpoint, the simulation hash and the multiplayer data fingerprint all carry it, so players and saves with a different policy are refused rather than desynchronised.