Native projectile rules
The projectile rules decide three things every weapon of a match shares under
the TA rules: what an artillery shell does when its weapontimer runs out,
which fire routine a weapon flagged both turret and vlaunch gets, and two
details of how an explosion looks. They apply to every weapon of the match and
are resolved once when the weapons load; a shot reads them with no lookup.
| Rule | Stock (TA) | Other selection |
|---|---|---|
ballistic_expiry |
"fizzle-unless-burnblow": an expiring ballistic shell with a weapontimer explodes only when its weapon is burnblow; any other puffs white smoke and is removed with no damage. |
"detonate-unless-noautorange": it explodes, with full damage, unless its weapon is noautorange, which fizzles it. burnblow is not consulted. |
fire_handler_precedence |
"turret-first": a turret + vlaunch weapon fires as a turret weapon, through the fire-error gate and the aim scatter, along its aim. |
"vlaunch-first": it fires as a vertical launch, straight up and then onto the target, with no fire-error gate or scatter. |
endsmoke_explosion |
false: an endsmoke weapon's land hit draws one white puff in place of its explosion. |
true: the puff and then the explosion art, flash and smoke. |
explosion_ground_smoke |
true: a land explosion above the sea adds a grey smoke puff. |
false: explosions show only their own art. |
Only the ballistic expiry reads ballistic_expiry; line-of-sight and
self-propelled shots keep their own fuse rules. The expiry tick itself is the
one fixed when the shell is fired, under either selection. A weapon with only
one of turret and vlaunch is unaffected by fire_handler_precedence, and
the aim script starts the same way under either. The last two rules change
what a detonation draws, never what it does.
Add projectile-rules.toml at the mounted mod root:
version = 1
ballistic_expiry = "detonate-unless-noautorange"
fire_handler_precedence = "vlaunch-first"
endsmoke_explosion = true
explosion_ground_smoke = false
Version 1 requires version; every rule is optional, and an omitted rule
keeps TA's. 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 all four non-stock rules for TA:ESC 10.2. A file that selects only TA's rules keeps them even when that profile matches. With neither the file nor a matching profile the match plays TA's rules.
The rules enter the match's compatibility plan, in the engine and the bridge alike: a checkpoint, the simulation hash and the multiplayer data fingerprint all carry a non-stock selection, so players and saves with different rules are refused rather than desynchronised. TA's rules add nothing to the plan.
Zero reload
Not a selectable rule: under the TA rules a weapon that authors
reloadtime=0 (or any value under one TA tick) resets its reload to 0, as
TA does, so it fires again as soon as its fire routine takes the shot. A
weapon with no reloadtime keeps a one-second reload. AexEnhanced keeps its
own minimum reload for both.