fix(ground-ai): follow up the Berlin decision layer review
The first battles with the single-vehicle decision layer showed bots sensing from a stale turret direction, fixed mounts and elevation-limited guns that never got the hull turned for them, and bots braking late for vehicles and wrecks. - Perception samples the live barrel before sensing; near, mid and sight arcs are all measured from the barrel, and visible near and mid contacts in the barrel's front half are ranked with the same danger model. - The turret may swing to a contact before it is confirmed; the trigger still waits for visual confirmation. - A short halt only brakes. A fixed mount beyond its yaw span (turret.fixedMountYawSpanDeg) asks the hull to turn; an elevation-limited gun asks for a hull turn only when the stock elevation table shows the turn opens a sector that reaches the target. - Friendly and enemy vehicles and wrecks take part in front and rear dynamic braking; detours try the sides, then backing off. Builds and loads on the 2.61.0.64 lab client; played in three lab battles together with the replay trace.
This commit is contained in:
1 parent
038d897b1e
commit
0b841ce2a2
28 files changed
+518
-284
No files matched your search
@@ -371,6 +371,7 @@ function readTurretSection(turret: TuningReader): GroundAiTuning['turret'] {
|
||||
switchMargin: turret.number('switchMargin', { min: 0, max: 3 }),
|
||||
scanArcDeg: turret.number('scanArcDeg', { min: 0, max: 180 }),
|
||||
scanPeriodSec: turret.number('scanPeriodSec', { min: 1, max: 30 }),
|
||||
fixedMountYawSpanDeg: turret.number('fixedMountYawSpanDeg', { min: 0, max: 180 }),
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user