Battle behaviour could only be judged by watching one bot at a time. The AI now logs a replay trace and a local viewer plays it back on the map. Game scripts: - wto_ai_trace_common.das writes every diagnostics.traceIntervalSec the capture zones (WTO_AI|TRACE_CAP), every ground unit including players (TRACE_U) and each bot's decision state (TRACE_B: order, behavior, targets, what the turret looks at and why, barrel heading, fire denial, hit probability), plus part damage with its offender (HIT) and deaths (DEATH). It uses no engine module so a simulator can load it as is. - The turret state records the reason and world direction of each look. - New tuning diagnostics.trace and diagnostics.traceIntervalSec through server reader, patcher constants, launcher schema, fields and labels. packages/ground-sim: readers for the baked .wtonav pack (mesh polygons, cover points, tactical grid) and .pois.json, the trace parser and the names of the logged codes. apps/ai-lab: Vite viewer with a local API that lists nav packs and lab logs and decrypts a chosen .clog with wtotools. It draws the nav mesh, vehicles, barrels and wished turret directions, goals, target links, shots, hits and deaths over a timeline, with per-bot strips for behavior, fire denial and turret reason. Paths live in an untracked lab.local.json. The lab has its own tsconfig and stays out of the root typecheck. Root and launcher typechecks pass; the lab typechecks and replayed two lab battles.
469 lines
18 KiB
JSON
469 lines
18 KiB
JSON
// Ground battle AI configuration.
|
|
// Per-client overrides live in <dataDir>/tuning/ground-ai.jsonc. The game copy build compiles the
|
|
// layer settings into game/wtoai/wto_ai_config_common.das; the local server reads lineupWeights.
|
|
{
|
|
// "full": every custom layer (default).
|
|
// "fire": stock movement and destinations, custom perception and fire permission.
|
|
// "drive": custom team orders and driving, stock aiming and firing (debugging).
|
|
// "stock": stock AI only, no scripts packed, stock lineup weights (troubleshooting).
|
|
"mode": "full",
|
|
|
|
// AI tank spawn ammunition selection (offline values; ignored in "stock" mode).
|
|
// Carries first-stage / autoloader ready-rack capacity, topped up when below threshold,
|
|
// split between best anti-armor primary (APFSDS preferred) and HE/HEAT secondary when available.
|
|
"loadout": {
|
|
"lowReadyRackThreshold": 15,
|
|
"topUpAmmoCount": 22,
|
|
"primaryAmmoPct": 80,
|
|
"secondaryMinRounds": 3,
|
|
"penetrationCompareDistM": 500
|
|
},
|
|
|
|
// Relative pick weights of AI tank classes in a battle's bot pool. Offline values; ignored in
|
|
// "stock" mode, where every vehicle keeps the stock weight of 1.
|
|
"lineupWeights": {
|
|
"spaa": 0.12,
|
|
"lightTank": 0.85,
|
|
"tankDestroyer": 0.55,
|
|
"heavyTank": 0.85,
|
|
"mediumTank": 1.0,
|
|
"other": 0.85
|
|
},
|
|
|
|
"cadence": {
|
|
"maxBots": 64,
|
|
"macroTickSec": 0.5,
|
|
"tacticsTickSec": 0.25,
|
|
"navTickSec": 0.2
|
|
},
|
|
|
|
// Team commander role quotas and timing (offline values).
|
|
"commander": {
|
|
"rebalanceSec": 5.0,
|
|
"roleHoldSec": 20.0,
|
|
"bttlAssaultPct": 45,
|
|
"bttlFlankPct": 15,
|
|
"bttlOverwatchPct": 20,
|
|
"conqAssaultPct": 50,
|
|
"conqFlankPct": 20,
|
|
"conqHoldDefendPct": 30,
|
|
"conqHoldOverwatchPct": 30,
|
|
"domAssaultPct": 70,
|
|
"domMaxDefendersPerCap": 1,
|
|
"overwatchStandOffM": 95.0,
|
|
"flankStandOffM": 75.0,
|
|
"spaaFollowOffsetM": 160.0,
|
|
"flankMaxLengthRatio": 1.6,
|
|
"flankMinSeparationM": 45.0,
|
|
"rallyProgressFrac": 0.40,
|
|
"rallyWaitSec": 25.0,
|
|
"rallyMinFrac": 0.66,
|
|
"rallyRadiusM": 55.0,
|
|
"recallSafeHoldSec": 15.0
|
|
},
|
|
|
|
"macro": {
|
|
"openingSplitSec": 40.0,
|
|
"capMaxInsiders": 3,
|
|
"recaptureMinBots": 2,
|
|
"recaptureMaxBots": 4,
|
|
"capStickyBonusM": 165.0,
|
|
"deathZoneRadiusM": 55.0,
|
|
"deathZoneTtlSec": 60.0,
|
|
"deathZoneMinKills": 3,
|
|
"spaaRearOffsetM": 185.0,
|
|
"spaaRelocateSec": 28.0,
|
|
"enemySpawnAvoidM": 180.0
|
|
},
|
|
|
|
"crowd": {
|
|
"personalSpaceM": 14.0,
|
|
"clusterRadiusM": 28.0,
|
|
"clusterMaxAllies": 2,
|
|
"disperseStepM": 24.0,
|
|
"disperseHoldSec": 4.2
|
|
},
|
|
|
|
"terrain": {
|
|
"maxClimbSlopeDeg": 25.0,
|
|
"maxDropSlopeDeg": 20.0,
|
|
"maxWaterDepthM": 0.6,
|
|
"collisionMarginM": 0.3,
|
|
"crestLookaheadM": 28.0,
|
|
"ridgeMaxDwellSec": 10.0,
|
|
"ridgeMaxShots": 6
|
|
},
|
|
|
|
// Offline map baking parameters. These are copied into the generator's per-level POI input.
|
|
"coverMap": {
|
|
"minCoverHeightM": 1.55,
|
|
"peekMinM": 3.5,
|
|
"peekMaxM": 6.0,
|
|
"retreatMinM": 8.0,
|
|
// Low dry-stone fence models observed to give unreliable shot protection.
|
|
"excludedCoverRendinst": ["stone_fence_a", "damaged_stone_fence_a", "damaged_stone_fence_b"]
|
|
},
|
|
|
|
// Offline navigation mesh baking parameters, copied into the generator's per-level POI input.
|
|
"navBake": {
|
|
// Placed objects whose stock destructionImpulse (config/rendinst_dmg.blk) is at most this
|
|
// value are knocked down by tanks and baked as crushable rather than solid (N*s).
|
|
"crushableMaxImpulse": 45000,
|
|
// riExtra objects with no destructionImpulse are crushable when their stock hp is at most
|
|
// this value (wooden fences 2, dry-stone fences 12, car wrecks 20; buses 40).
|
|
"crushableMaxRiExtraHp": 20,
|
|
// Passages narrower than this many standard-tier vehicle widths are flagged as chokepoints.
|
|
"chokepointMaxWidthVehicles": 2.0,
|
|
// Water up to maxFordDepthM is forded (shallow water cost). Deeper water is a wall: besides the
|
|
// vehicle's half width, the mesh keeps deepWaterMarginM more ground from it where the bank is
|
|
// less than deepWaterBankHeightM above the water line,
|
|
// because low banks slope into the water and a hull at the water line slides in. Higher quays
|
|
// and ramps keep only the half width.
|
|
"maxFordDepthM": 0.9,
|
|
"deepWaterMarginM": 1.5,
|
|
"deepWaterBankHeightM": 1.0
|
|
},
|
|
|
|
"navigation": {
|
|
// "vehicle_phys" uses custom inputs with native ownership. "movesys" keeps stock movement.
|
|
"driveMode": "vehicle_phys",
|
|
"maxPhysBots": 64,
|
|
"steerSign": 1.0,
|
|
"deadEchoSec": 1.2,
|
|
"controlTimeoutSec": 1.0,
|
|
// Speed error at which the moving-fire controller applies full throttle or braking.
|
|
"movingFireSpeedRampMps": 1.0,
|
|
"pivotAngleDeg": 75.0,
|
|
"tacticalReverseDistM": 34.0,
|
|
"tacticalReverseMaxSec": 9.5
|
|
},
|
|
|
|
// Baked navigation packs (tools/navgen), loaded once per battle by the native engine.
|
|
"navEngine": {
|
|
"enabled": true,
|
|
// When the battle's pack is missing or broken: true keeps the script's own navigation for the
|
|
// whole battle, false leaves the bots standing so the problem shows (testing). Decided once at
|
|
// battle start, never in the middle of a battle.
|
|
"allowFallback": true,
|
|
// Farthest a path's start or goal may lie from the mesh.
|
|
"snapRadiusM": 12.0,
|
|
// A goal farther than snapRadiusM from the mesh (a position chosen by tactics inside a building
|
|
// or on a slope) is moved to the nearest walkable point within this distance; beyond it the
|
|
// goal counts as unreachable. Also used to find the way back onto the mesh.
|
|
"goalSnapRadiusM": 40.0,
|
|
// Path searches are spread over frames; this is the search time allowed per frame.
|
|
"pathBudgetMsPerFrame": 0.5,
|
|
// Team traffic: each teammate path planned within trafficHoldSec through a stretch of mesh
|
|
// raises its cost for the team's next searches by trafficCostPerPath, up to trafficCostMaxMul,
|
|
// so a team spreads over parallel routes instead of queueing on one road.
|
|
"trafficCostPerPath": 0.35,
|
|
"trafficCostMaxMul": 2.5,
|
|
"trafficHoldSec": 12.0,
|
|
// Path corners are moved this far away from the building or wall they turn around.
|
|
"cornerOffsetM": 1.5
|
|
},
|
|
|
|
// Path cost multipliers per surface for tracked vehicles; chokepoint multiplies the surface cost
|
|
// of passages narrower than navBake.chokepointMaxWidthVehicles.
|
|
"navCostsTracked": {
|
|
"road": 0.75,
|
|
"bridge": 0.9,
|
|
"ground": 1.0,
|
|
"rough": 1.65,
|
|
"forest": 2.1,
|
|
"crushable": 2.4,
|
|
"shallowWater": 2.6,
|
|
"chokepoint": 1.8
|
|
},
|
|
|
|
// The same for wheeled vehicles.
|
|
"navCostsWheeled": {
|
|
"road": 0.55,
|
|
"bridge": 0.75,
|
|
"ground": 1.15,
|
|
"rough": 3.2,
|
|
"forest": 2.8,
|
|
"crushable": 3.5,
|
|
"shallowWater": 4.0,
|
|
"chokepoint": 2.2
|
|
},
|
|
|
|
// Following the path, local avoidance and unstick (offline values).
|
|
"pathFollow": {
|
|
// Plan again after this long, when the goal moved this far, or when the bot is this far off its path.
|
|
"replanIntervalSec": 3.5,
|
|
"replanGoalMoveM": 15.0,
|
|
"offCorridorReplanM": 12.0,
|
|
// Steering point: speed times lookaheadTimeSec, kept within the range of the vehicle kind.
|
|
"lookaheadTimeSec": 1.4,
|
|
"trackedLookaheadMinM": 6.0,
|
|
"trackedLookaheadMaxM": 18.0,
|
|
"wheeledLookaheadMinM": 10.0,
|
|
"wheeledLookaheadMaxM": 24.0,
|
|
// Path corners sharper than cornerAngleDeg are taken at the speed the sideways acceleration
|
|
// allows; the vehicle brakes toward it (and toward its destination) at cornerBrakeDecelMps2.
|
|
"cornerAngleDeg": 35.0,
|
|
"cornerLateralAccelMps2": 2.8,
|
|
"cornerBrakeDecelMps2": 2.0,
|
|
"arriveRadiusM": 3.0,
|
|
"arriveMinSpeedMps": 1.5,
|
|
// The mesh already keeps the vehicle's half width from walls; less room than this beyond it,
|
|
// or a baked chokepoint, counts as a narrow passage.
|
|
"narrowWallMarginM": 1.5,
|
|
"narrowSpeedMps": 4.5,
|
|
// Rays from both front corners of the hull for obstacles the baked mesh does not know.
|
|
"bumperRayM": 7.0,
|
|
"bumperStopM": 1.5,
|
|
"bumperBlockSec": 0.6,
|
|
// Moving vehicles that come within reach in trafficTtcSec: follow them, or in narrow passages
|
|
// give way to the bigger one for at most yieldWaitMaxSec.
|
|
"trafficTtcSec": 2.5,
|
|
"yieldWaitMaxSec": 3.0,
|
|
// Vehicles slower than stationarySpeedMps, wrecks and players' vehicles in the way are passed
|
|
// on the side the mesh leaves room, keeping passMarginM between hulls, at up to passSpeedMps.
|
|
"stationarySpeedMps": 1.0,
|
|
"passMarginM": 0.8,
|
|
"passSpeedMps": 4.0,
|
|
// No side free: stop short, and after blockWaitSec mark the obstacle for path searches for
|
|
// blockTtlSec and plan again. A hull within contactGapM of it for contactReverseSec backs off.
|
|
// Pressed again within contactRepeatSec near the same place: mark the obstacle, try the other
|
|
// side, and after unstickMaxAttempts such repeats give the order up.
|
|
"blockWaitSec": 2.0,
|
|
"blockTtlSec": 15.0,
|
|
"contactGapM": 0.8,
|
|
"contactReverseSec": 1.0,
|
|
"contactRepeatSec": 20.0,
|
|
// Less progress than stuckMinProgressM within stuckWindowSec while wanting to move is stuck.
|
|
"stuckWindowSec": 3.0,
|
|
"stuckMinProgressM": 0.8,
|
|
"unstickReverseM": 6.5,
|
|
"unstickReverseSec": 3.0,
|
|
"unstickRepeatSec": 8.0,
|
|
"unstickMaxAttempts": 3,
|
|
// Temporary path costs: jams found by unstick, fresh obstacles hit by the front rays, wrecks.
|
|
// A place given up on after unstickMaxAttempts is all but closed (giveUp*), so the next order
|
|
// routes elsewhere instead of returning to it.
|
|
"jamRadiusM": 10.0,
|
|
"jamCostMul": 12.0,
|
|
"jamTtlSec": 45.0,
|
|
"giveUpRadiusM": 15.0,
|
|
"giveUpCostMul": 40.0,
|
|
"rubbleRadiusM": 6.0,
|
|
"rubbleCostMul": 25.0,
|
|
"rubbleTtlSec": 90.0,
|
|
"wreckRadiusM": 6.0,
|
|
"wreckCostMul": 6.0,
|
|
"wreckTtlSec": 120.0
|
|
},
|
|
|
|
// Exposure-based visual perception (offline values; foliageTransparency matches stock infantry AI).
|
|
"perception": {
|
|
"foliageTransparency": 0.01,
|
|
"nearSpotRangeM": 190.0,
|
|
"firingSpotRangeM": 750.0,
|
|
"fastSpotSec": 0.25,
|
|
"normalSpotSec": 0.60,
|
|
"farSpotSec": 1.45,
|
|
"decayPerSec": 1.5,
|
|
// Every visual arc is relative to the barrel. The sight covers gunFovHalfDeg either side;
|
|
// near awareness covers nearArcDeg around the barrel and every lookAroundSec opens the rear
|
|
// for lookAroundHoldSec. Mid-distance awareness covers the barrel's front half.
|
|
// Near and mid spotting use nearSpotMul and midSpotMul respectively.
|
|
"gunFovHalfDeg": 30.0,
|
|
"nearAwareM": 150.0,
|
|
"nearArcDeg": 270.0,
|
|
"midAwareM": 600.0,
|
|
"nearSpotMul": 1.5,
|
|
"midSpotMul": 2.0,
|
|
"lookAroundSec": 8.0,
|
|
"lookAroundHoldSec": 1.0,
|
|
"discoverScore": 0.35
|
|
},
|
|
|
|
// Timings and thresholds of the hull actions (short halt, cover pull-back, reposition, repair).
|
|
"stateMachine": {
|
|
"shortHaltMaxSec": 3.0,
|
|
"shortHaltCooldownSec": 4.0,
|
|
"turnLaunchSpeedMps": 2.1,
|
|
"coverMinDistM": 6.0,
|
|
"coverMaxDistM": 24.0,
|
|
"coverRetreatBudgetSec": 6.0,
|
|
"maxTotalHaltSec": 12.0,
|
|
"stalemateMissShots": 2,
|
|
"stalemateNoShotHalts": 2,
|
|
"repositionMinMoveM": 20.0,
|
|
"repositionStepM": 48.0,
|
|
"repairSafeEnemyDistM": 140.0
|
|
},
|
|
|
|
"tactics": {
|
|
"visionRangeM": 1250.0,
|
|
"engineAudioRangeM": 150.0,
|
|
"shotAudioRangeM": 380.0,
|
|
"radioShareRangeM": 450.0,
|
|
"memoryTtlSec": 12.0,
|
|
"targetStickinessSec": 4.5,
|
|
"peekCooldownSec": 6.0
|
|
},
|
|
|
|
// Target velocity estimation from own visual samples, last-seen watch, and bounded shot bias.
|
|
"estimation": {
|
|
"watchMinSec": 2.0,
|
|
"watchMaxSec": 5.0,
|
|
"velSampleMinSpanSec": 0.25,
|
|
"velStableSpanSec": 1.2,
|
|
"velJumpResetMps": 4.5,
|
|
"baseAimSigmaM": 0.28,
|
|
"leadErrorFrac": 0.26,
|
|
"maxBiasM": 2.2
|
|
},
|
|
|
|
// Threat table (decision layer design, section 4): how dangerous each discovered enemy is to the
|
|
// bot. Danger falls with distance as 1 / (1 + distance / rangeScaleM) and is multiplied by
|
|
// discoveredMul until the enemy is seen clearly, by notAimingMul unless its hull or gun points
|
|
// within aimConeDeg of the bot (or it hit the bot), by unseenMul when the bot is out of its
|
|
// sight, and by hitMul for hitMemorySec after it hit the bot. Penetration is not counted yet.
|
|
"threat": {
|
|
"rangeScaleM": 400.0,
|
|
"discoveredMul": 0.7,
|
|
"aimConeDeg": 25.0,
|
|
"notAimingMul": 0.5,
|
|
"unseenMul": 0.4,
|
|
"hitMemorySec": 6.0,
|
|
"hitMul": 2.0
|
|
},
|
|
|
|
// The turret gives visible contacts attention by danger, then checks memory and directional cues.
|
|
// While engaged, the competing threat needs switchMargin more danger to take over.
|
|
// The turret sweeps the route when it has no contact or cue.
|
|
"turret": {
|
|
"minDwellSec": 0.6,
|
|
"switchMargin": 0.25,
|
|
"scanArcDeg": 60.0,
|
|
"scanPeriodSec": 6.0,
|
|
"fixedMountYawSpanDeg": 60.0
|
|
},
|
|
|
|
// Hull channel: choose a behavior by score, holding each for its configured commitment time
|
|
// unless an emergency or a large score difference interrupts it. A cover withdrawal runs
|
|
// through its arrival or timeout. A short halt lasts through the weapon's shooting window.
|
|
// Tracked tanks and tank destroyers face the main threat at the post or during a halt.
|
|
// They can reverse along a short route segment to keep their front toward that threat.
|
|
"behavior": {
|
|
"scoreIntervalSec": 0.5,
|
|
"advanceHoldSec": 1.5,
|
|
"engageHoldSec": 1.5,
|
|
"haltHoldSec": 3.0,
|
|
"coverHoldSec": 2.0,
|
|
"repositionHoldSec": 2.0,
|
|
"postHoldSec": 1.5,
|
|
"disperseHoldSec": 1.5,
|
|
"targetValueWeight": 0.1,
|
|
"nearThreatHaltBonus": 0.28,
|
|
"switchMargin": 0.15,
|
|
"advanceScore": 0.5,
|
|
"engageScore": 0.55,
|
|
"urgencyWeight": 0.15,
|
|
"haltScore": 0.55,
|
|
"crossfirePenalty": 0.15,
|
|
"coverScore": 0.45,
|
|
"coverDangerWeight": 0.25,
|
|
"coverOffensivePenalty": 0.2,
|
|
"coverRetrySec": 4.0,
|
|
"repositionScore": 0.7,
|
|
"holdScore": 0.6,
|
|
"disperseScore": 0.62,
|
|
"urgentSpeedKeep": 0.5,
|
|
"hullAngleDeg": 20.0,
|
|
"faceToleranceDeg": 15.0,
|
|
"faceMinDanger": 0.15,
|
|
"reverseTravelAngleDeg": 110.0,
|
|
"reverseMaxTurnDistM": 45.0,
|
|
"reverseMinSpeedMps": 2.5,
|
|
"reverseHoldSec": 3.0
|
|
},
|
|
|
|
// Fire permission (decision layer design, section 6). A main-gun shot needs its estimated hit
|
|
// probability to reach the fire threshold. The hit probability compares the visible part of the
|
|
// target (its projected width, targetHalfHeightM high, shrunk when only part of it is visible)
|
|
// with the expected angular error: aimErrorDeg, plus moveErrDegPerMps per m/s of own speed and
|
|
// turnErrDegPerDegSec per deg/s of hull turn (times stabErrFactor with a stabilizer), plus the
|
|
// lead uncertainty on a crossing target, with the barrel's current offset as the mean error.
|
|
// The threshold starts at fireThreshold and drops by aimingThresholdBonus when the target aims
|
|
// at the bot, by up to closeThresholdBonus inside closeRangeM, by enemyReloadThresholdBonus for
|
|
// enemyReloadSec after the target fired, and by fleetingThresholdBonus if its estimated motion
|
|
// will take it out of sight. Longer reloads, scarce ammunition and falling back raise the threshold.
|
|
// The pre-fire budget limits ballistic checks per frame. Every firing request gets fresh checks.
|
|
"fireControl": {
|
|
"maxEngageRangeM": 1250.0,
|
|
"closeRangeM": 100.0,
|
|
"midRangeM": 300.0,
|
|
"longRangeM": 800.0,
|
|
// At or below this speed the bot counts as standing (also the answer "stop" to a speed request).
|
|
"stopSpeedMaxMps": 0.45,
|
|
"longRangeWindowSec": 1.0,
|
|
// Fixed (casemate) guns: how far off the gun may be before the hull is asked to turn.
|
|
"baseAlignDeg": 0.42,
|
|
// Outside close range, the rate at which barrel alignment drifts relative to the aim direction.
|
|
"barrelSettleDegSec": 1.8,
|
|
"closeSettleHoldSec": 0.06,
|
|
"settleHoldSec": 0.12,
|
|
"aimErrorDeg": 0.07,
|
|
"moveErrDegPerMps": 0.35,
|
|
"turnErrDegPerDegSec": 0.03,
|
|
"stabErrFactor": 0.2,
|
|
"targetHalfHeightM": 1.0,
|
|
"fireThreshold": 0.45,
|
|
"minFireThreshold": 0.1,
|
|
"aimingThresholdBonus": 0.1,
|
|
"closeThresholdBonus": 0.15,
|
|
"enemyReloadThresholdBonus": 0.08,
|
|
"enemyReloadSec": 3.0,
|
|
"fleetingThresholdBonus": 0.1,
|
|
"fleetingLateralMps": 3.0,
|
|
"fleetingLookAheadSec": 0.65,
|
|
"reloadThresholdPenalty": 0.08,
|
|
"longReloadSec": 15.0,
|
|
"lowAmmoRounds": 5,
|
|
"lowAmmoThresholdPenalty": 0.08,
|
|
"aimSkill": 0.5,
|
|
"autocannonMinShotsPerSec": 1.5,
|
|
"retreatThresholdPenalty": 0.2,
|
|
"minShotIntervalSec": 0.65,
|
|
// Automatic cannons are identified from stock belt and firing-rate data. They fire in bursts
|
|
// while within the aim slack. A longer wait between rounds counts as a reload.
|
|
"autocannonAimSlack": 3.0,
|
|
"burstSec": 1.2,
|
|
"burstPauseSec": 0.6,
|
|
"autocannonReloadDetectSec": 0.6,
|
|
// Secondary and coaxial guns have their own aim and ballistic checks. The armor toggle allows
|
|
// coaxial fire at vehicles outside the light-vehicle filter.
|
|
"auxWeapons": true,
|
|
"auxMaxRangeM": 300.0,
|
|
"auxFireAtArmor": false,
|
|
"friendlyCorridorM": 3.2,
|
|
"ballisticStepMaxM": 25.0,
|
|
"ballisticSweepRadiusM": 0.12,
|
|
"maxPreFireChecksPerTick": 2
|
|
},
|
|
|
|
"diagnostics": {
|
|
"telemetry": true,
|
|
"telemetryIntervalSec": 5.0,
|
|
// Battle statistics for comparing builds (WTO_AI|BATTLE_STATS): cumulative per vehicle class,
|
|
// logged every statsLogIntervalSec and when the battle ends. Every statsSampleSec each bot
|
|
// checks the nearest enemy in line of sight within statsSampleRangeM: whether it knows it,
|
|
// how far the turret is off it, and whether its rear (statsRearArcDeg wide) faces it.
|
|
"battleStats": true,
|
|
"statsLogIntervalSec": 60.0,
|
|
"statsSampleSec": 1.0,
|
|
"statsSampleRangeM": 300.0,
|
|
"statsRearArcDeg": 120.0,
|
|
// Replay trace for the AI viewer (WTO_AI|TRACE_*, HIT, DEATH): every traceIntervalSec the
|
|
// capture zones, every ground unit and every bot's decision state. About 10 MB of log for
|
|
// 32 bots over 15 minutes at 0.5 s.
|
|
"trace": true,
|
|
"traceIntervalSec": 0.5
|
|
}
|
|
}
|