The frigate reported a submarine's active ping with its exact bearing to
0.1 degree while the crewed boat's ears are ~2 degrees off. It now uses the
same deterministic error (PING_INTERCEPT_SIGMA_DEG, keyed by the saved
arrival time) and whole degrees. The browser periscope drew only when a
state arrived (2-4 Hz), so horizon and bearing stepped; it now eases
bearing and horizon toward the latest state every animation frame
(display only).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
The frigate sounded its low warning tone, flashed and logged a submarine's
active ping in the very frame the boat transmitted, however far away it
was, so the alarm came seconds before anything could have been heard. The
intercept now waits for the one-way travel time (about 1.2 s per nautical
mile, modelled sound speed on the path). Pings still travelling are part
of the save (root field ping_intercepts), so the schema is now
u-jagd-save-v16; v15 documents are rejected without migration.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
Previously uncommitted work: the game always runs in real time (no pause
or time acceleration), web client fixes (plot smoothing, spectrum peak
labels shared with the uConsole), regenerated contact-analysis images,
docs and manual updates.
UI/realism review, phase 1 (no truth leaks):
- Sonar CIC domain follows only the operator classification; new TORPEDO class.
- Torpedo alarm from intercepts only (launch transient, HF seeker pulses),
used by Bridge, Autocrew and the web Bridge threat block.
- ASM cue from measured speed/altitude or a jamming strobe; CIWS/ESSM/ECM
resolve missiles through their own M- tracks.
- HFDF fixes publish no domain; lookout domain needs recognition.
- No "hostile ping"/"submarine sunk" reports: breaking-up noises on a
bearing; score only in the debrief.
- Helicopter layer shown only after the dome passed it; web Bridge gets
published rows only.
Phase 2 (uConsole screen and text):
- Status ticker (default) frees 158 px; F11 event log/telemetry overlay
(display only); docked band selectable in the options.
- Layout helpers fall back to catalog abbreviations (<key>.short) before
any ellipsis; feed wraps, ticker scrolls; zero truncations EN/DE.
- Localised telemetry and OPZ affiliation/domain codes, bounded map labels.
Web: role map and chart draw NATO affiliation frames with domain glyphs.
Tests: truth boundary, text fit, session-wide preferences isolation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Anti-ship missiles are 3-DOF point masses: boost from the launcher's speed,
sustainer cruise, 20 m sea-skim (5 m terminal) with their own radar horizon
for radar detection and HOJ, inertial mid-course to the launch datum, an
active seeker with a +/-30 deg cone and 1.5 s lock, then proportional
navigation limited to 15 g. ESSM flies PN on its seeker line of sight. The
saved missile age is bounded by the powered flight time.
Chaff lays up to 8 saved clouds off the threat axis that bloom, drift with
the wind and fall out; seduction is the Swerling-1 contest of cloud and
ship echo, reduced when the cloud has not bloomed by the missile's arrival.
CIWS slews its mount (115 deg/s), uses its own latest measurement, and
kills by dispersion and prediction error over the rounds' time of flight;
calibrated to the 1.0.0 leak rate.
Raiders fly coordinated turns at a bank limit and pop up to lock their
fire-control radar (ESM emission) before each salvo. The helicopter burns
more fuel in the hover, drifts against its position hold, and launches and
lands only in a deck-motion window. Sonobuoys drift with current and
windage. Air-to-air combat is documented as out of scope.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add src/physics/torpedo_dyn.py and apply it to both torpedo classes:
- Energy store in cruise seconds with power ~ v^3 (range emerges, longer
when throttled); an empty battery stops the motor, the weapon coasts
against quadratic drag and is lost below 30 % speed.
- Constant turning radius (turn rate ~ speed); fin-limited depth control
with a saved vertical rate (hostile torpedoes gain depth control and rise
to keel depth when homing).
- Wire: torpedo and ship spools, tension breaks from ship overspeed or hard
turns held for 5 s; the old timers stay as datalink latency.
- Proximity fuze with shock-factor damage for submarines and ships.
- Speed-dependent propulsor lines and 60 log v source level; boats hear a
running torpedo through the passive sonar equation (re-anchored at its
6 NM reference range).
- Shallow hostile torpedoes leave a lookout-visible wake by day; hostile
torpedoes can home on the own-ship wake; ASROC payloads fly a helix
search at the splash point.
Manual EN/DE and simulation-gaps updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Submarines no longer use the legacy snapshot gate: every boat senses
through its PlatformSensorSuite. Bearing-only sonar contacts feed an own
passive TMA (saved track, 30 s re-solve) and the boat opens TMA legs when
range is unobservable; a range comes only from its own solution.
- ESM works only with the mast up (<= 18 m); the hostile datalink is
exchanged only by boats at mast depth or snorkelling/transmitting.
- Torpedo alarms take a per-boat crew recognition time (lognormal 2-15 s,
saved countdown) unless the boat is already evading.
Manual EN/DE and simulation-gaps updated; tests adjusted to the delayed
alarm.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>