Frigate and crewed boat stand three watches relieved every hour of game
time. Action stations make the crew more alert but tire everybody;
morale moves with kills, damage and HQ tasks. The crew's performance
raises the sonar recognition threshold, needs more lookout/periscope
contrast and slows damage-control work. A fresh crew is exactly the
calibrated crew (77/77 metrics unchanged). Damage page 3, Bridge G,
boat keys B/M, Remote Crew cards and orders, save v21 "watch" and
crew.watch.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
Six compartments with depth-dependent leaks, spill through open
bulkheads, fire, chlorine gas from a flooded battery and power loss; two
damage-control teams seal, pump and fight fire; shut bulkheads contain
water, fire and gas. Floodwater feeds the trim model; flooded, burning or
gassed compartments take out the tubes, masts, diesels or half the speed.
Damage page on the uConsole engine room, damage-control card in the web
station. Save format v20.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
Main ballast, regulating and trim tanks with fill levels; an HP air store
for several blows, refilled while snorkelling; torpedo launches and flooding
shift weight and trim, pumps are audible. Tanks page on the uConsole engine
room, cross-section card in the web station. Save format v19.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
The crewed boat's mast now intercepts real radar signals through
scan_for_signals with the boat as observer. The crew keeps an emitter
list (fingerprint association, agile hops merged), classifies emitters
against the library, sees the bearing history, a Gauss-Newton cross-fix
from own motion with a 95 % error ellipse, the level trend, a warning
when a radar can see the mast and a recommended mast time from the sea
state. Bearing lines and fixes appear on the boat chart and web map and
can be transferred to the boat plot. Save format v18 (crew.esm).
The uConsole boat contact list shows quality as a percentage instead of
the bare "q0.98".
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
Stage A of the boat-station plan. Conventional boats now carry diesel
(300 h of generator output, 65 % at start, burned only while the diesels
run), a crew-ordered snorkel charge rate (full / half / air only, with
matching noise and diesel lines) and a modelled atmosphere (O2 down, CO2 up
dived; absorber sets, oxygen candles, airing while snorkelling). Stale or
foul air slows the crew (reload); AI boats manage their air and come up
when it turns foul.
The web engine room gets an Energy & stores card (bars, energy balance,
endurance table by telegraph step, air, orders). The uConsole engine room
gets a second page Stores with R / A / O. Remote Crew actions
uboot_charge_rate, uboot_absorber and uboot_o2_candle (engine room only).
Battery phase and engine telegraph now display translated.
Save format v17 (endurance state version 2); v16 saves are rejected.
Calibration 77/77 unchanged.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
The weather panel was frigate-only on the uConsole: aboard the crewed boat
key 0 did nothing. It now opens over the whole station area from the boat's
own instruments and BT, with the boat block (mast on radar, sighting range,
ambient noise, snorkel) instead of the helicopter flight weather.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
The horizon of the bridge lookout strip, the new binoculars and the
submarine's periscope showed open sea even with a coast ahead. They now draw
the charted coast (known geography only) as far as the eye can see land:
rays cast against the coastline polygons (NumPy, cached per 0.1 NM of
position, bounded), hills an assumed 25-70 m since the chart has no
elevation, fading into the haze. The binoculars' panorama marks the coast
along its foot.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
Command (station 1) may now raise the boat's mast so it can look through
the periscope it already shows (uConsole P and the web periscope card). The
uConsole eyepiece no longer spills over the bottom of its frame. On the
frigate's bridge lookout page, B raises the lookout's binoculars large over
the chart: a 16 degree trainable field (, / . or a click on the all-round
panorama) with the outlines and list of the lookout's own sightings
(display only, not saved).
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
The crewed boat's Remote Crew roles no longer get the frigate's helicopter
flight weather, cloud ceiling or icing. Their weather_station block carries
"boat" instead: mast radar detection range (reference surface radar, mast
RCS, sea clutter, rain, radar horizon) beside the calm-sea value, the range
a ship's lookout sights the surfaced boat in the current light/visibility/sea,
wind and rain ambient noise above the calm reference per sonar band, and the
snorkel limits (6 kn, +12 dB, 50/100 Hz diesel lines). Only environment and
own-boat data are read. The frigate block is unchanged.
The weather allowlists now live in src/commander/v2/schema.py and are
rendered into the browser validator; the browser shows the boat block for
the boat roles. EN/DE catalog keys and the reference manual are updated.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01BdXs5tkJ6kzdeubNWqPHtG
The static preview reports runtime_effective, the field metadata names
the runtime scope, the browser and preview show editor.runtime_scope;
AGENTS limits, manual and run log describe the mission runtime.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Phase 9 of plan 1.3. Third Command page and second Mast & ESM page show
the periscope (uboot_scope.py): eyepiece with day/night light, haze,
horizon motion from the wave slope, true-bearing scale and crosshair;
arrows train the scope, Enter reads the stadimeter. Sightings come from
the frigate lookout's contrast model at periscope eye height and live in
the crew block (save v15 crew.orders: scope_rel_deg, sightings,
sightings_seen). The stadimeter range becomes a VISUAL fix on the boat's
sonar contact, usable like a ping fix. Snorkelling diesels raise the
radiated level, lower the quiet factor and add 50/100 Hz lines. Web:
scope projection, canvas view, uboot_scope_bearing/uboot_scope_mark
commands and a Chromium contract. Manual, help and catalogs updated.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
A hostile boat fires on its own bearing-only solution only once the
solution's range sigma over range is at or below the new difficulty field
enemy_solution_threshold (0.25 patrol, 0.15 SSN, 0.20 custom default) and
the last bearing is younger than 90 s. A measured bearing the dead-reckoned
solution cannot explain restarts the plot and needs three new bearings.
Active and datalink fixes keep their old rules; sigma, time and reopen state
are part of the sub row's memory in save v15.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The crew block keeps the boat's orders, modes, mast, wires, plot, feed and
its sonar station; sub rows carry the crew-facing orders and the uConsole's
local side is part of the ui block. A loaded boat keeps its crew binding for
UBOOT_RESTORE_HOLD_S until its crew returns, then the AI takes it back. The
frigate's sonar save/restore/validation is shared with the boat's station.
v14 documents are rejected without migration.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Command and Navigation order periscope, snorkel, above/below the
measured layer (only after the boat's own BT) and deep in one step
(browser buttons, uConsole U/J/H). The browser boat stations get a wide
dock with large readouts, coloured mode and alarm chips, a water-column
graphic, an ESM/alarm bearing rose, explicit raise/lower buttons for
mast and snorkel and a compact two-column layout; the uConsole's Mast &
ESM page gets the rose and the engine room the water column.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A submarine at periscope depth with its mast or snorkel up (crew mast,
snorkelling or at radio depth) returns a tiny, clutter-limited echo to
the surface radar. It shows only as a glowing dot without symbol or
track; clicking it (uConsole or browser OPZ) or pressing B marks it
into a radar track that later echoes update. Blips and marks are
transient; the AI and calibration are unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Playing the submarine, keys 1-6 (or Tab, or a click on the top-bar
tabs) select command, sonar, weapons, engine room, mast & ESM and
navigation. Each order key works only at the station that owns it, as
the browser allowlist; the engine room and mast & ESM get their own
pages. Browsers may crew the boat's other stations beside the uConsole;
a browser-held station is marked and not operated locally.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The uConsole asks "Which unit do you play?" before every new game
(frigate or hostile submarine, last choice preselected). The browser
lobby first shows the unit, then its stations. A solo browser switches
all its stations to the boat's six (and back) from the host bar.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The boat gets weapons, engine room, mast & ESM and navigation stations
beside command and sonar. Each boat order is accepted only from the
station that owns it (fire, wire and decoys from weapons; snorkel from
the engine room; the mast from ESM; plot and course from navigation).
The browser shows each station's cards on the shared boat panel.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A browser that asks for a free station gets it immediately, with every
right the station can have (command, direct fire, sonar audio). A
station a crewmate holds becomes a request the host can hand over; a
released station goes to the oldest waiting request. The host still
revokes stations or single rights. Also fixes direct-fire validation
for the submarine in the browser and helicopter audio in the admin room.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The submarine commander draws on the boat's own transient plot (never
the frigate's; the boat's sonar room has none). The web station gets
telegraph buttons. A chart check along the ordered course reports land
or a seabed shallower than the boat within 5 NM, and the water under
the keel is shown on web and uConsole. The manual gains the "Not
modelled" list for the crewed boat.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Ping and torpedo alarms carry the boat's own measured (noisy,
deterministic) bearing. At periscope depth the crew can raise a mast
whose ESM reports sweeping radars; it lowers itself when diving. The
commander can ping and take a BT without a sonar operator. The tube
arc is drawn on the web and uConsole charts, the sonar's designated
target is preselected and fire readiness shows boat reasons.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Crew shots take a run depth (5-300 m) and one torpedo or a +/-4 degree
spread, each with its own datum.
- Every crew torpedo runs on a wire (transient, cut by a load): the crew
moves its datum and the wire turns it on until the seeker acquires; the
frigate's spool/tension rules apply with the boat's limits (10 kn,
1.5 deg/s); broken wires are logged; the crew can cut a wire.
- Remote Crew: uboot_fire gains depth_m/salvo, new uboot_wire_steer and
uboot_wire_cut; own_weapons publish wire state and datum; web fire
controls and wire panel. Local: T depth, Y spread, F bearing then
range, W steer, Shift+W cut. Help, manual (EN/DE) and tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- A crewed boat never ascends, snorkels or radios by itself: the endurance
model runs in crew mode (AIP still takes the load), and the crew snorkels
at snorkel depth to charge (max 6 kn; diving deeper stops the diesels).
- Silent running (max 5 kn) and lying on the bottom (3 m keel clearance,
no drift, lifts off with any way/depth order) give the lurker's quiet.
- Crewed boats stop before land instead of veering; telegraph steps; boat
log warnings for low/empty battery, shallow water and obstacles.
- Transient CrewOrders (never saved); AI behaviour unchanged (calibration
77/77). Own rejection reasons for the submarine instead of frigate words;
local BT notices go to the boat log, not the frigate feed.
- Remote Crew actions uboot_snorkel/silent/bottom, projection and browser
validator fields, web mode buttons and battery warning; local keys
G, Shift+G, N, +/-; help, manual (EN/DE) and tests.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Remote Crew roles "uboot" (command) and "uboot_sonar" bind the living
hostile submarine with the smallest id; the binding is transient (never
saved) and hands the boat back to the AI on release, load or reset.
- Manual Sub mode: course/speed/depth orders within the physics limits,
checked fire (arc, tubes, stores), decoy, active ping, emergency blow.
- SonarStation extracts the operator state; the boat gets its own full
sonar workstation (observer adapter, frigate acoustic source), audio
stream and projections with the frigate's shape, without towed array.
- Options page 2 chooses the uConsole side (frigate default, never saved;
only outside a mission); --play-sub for one launch.
- uConsole U-boat command station in the Bridge layout: shared chart
geography with the boat, its contacts and own torpedoes, threat bar,
Navigation (water column) and Weapons & contacts pages, boat log and
telemetry in the configured bottom band; chart zoom/follow/drag.
- Web: the boat's own torpedoes on the U-boat chart (own_weapons).
- Sonar view reads the active workstation's observer, never the frigate
truth, while the boat's sonar is shown.
- Tests: determinism with equal entity-id starts, truth guard while
drawing, chart/page controls, schema with own_weapons, web-host rooms
hold the nine frigate stations only. Manual EN/DE and help updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Web ACTIVE page: the PPI canvas sat in a grid row without a definite
height, so height:auto took the bitmap height (CSS size x device pixel
ratio) and grew past its cell on every redraw, clipping the circle at the
bottom. The canvas now fills a minmax(0, 1fr) row; the stacked narrow
layout keeps its fixed height.
- BT environment page (web and uConsole): the pointer shows a depth guide
with depth, interpolated sound speed and above/below the layer; the web
plot also labels the layer, the seabed and the sound-speed minimum.
- Weather/sonar analysis (key 0, web and uConsole): over the profile the
pointer reads depth and sound speed, over the sound-path section range,
depth and sound speed plus shadow zone / convergence zone.
- Display only, from the operator's own BT measurement; shared native
helper src/ui/profile_cursor.py. Manual EN/DE updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Game flow:
- Esc dialog in a mission offers "Main menu (without saving)"; M at the
mission end returns to the main menu; Esc in the scenario list goes back
to the main menu instead of opening the quit dialog.
- R after an editor mission restarts that mission instead of a random one.
- The end panel shows the remaining time after any early defeat, and
"time expired" only when the clock ran out.
- Survive (convoy) missions announce the last minutes as progress instead
of a deadline.
Stations -> OPZ -> weapons:
- An affiliation set on an OPZ fusion applies to the sonar contact inside
it (FRIEND/NEUTRAL block every torpedo shot, HOSTILE counts for the
autocrew), as the manual already promised.
- A fusion built from exactly one sonar contact can be designated to
Weapons; its classification counts for fire control unless Sonar has
classified the contact itself. The lookup never prunes the register.
- The OPZ domain filter sorts sonar reports by the operator's
classification, so SUBSURFACE shows classified submarines.
Documents:
- The station shortcut sheet is now generated from src/core/help.py (the
F1/manual source), so it lists P/plot, 0, F11, the full sonar and
helicopter acoustic keys and the browser keys; dialog keys stay local.
- New tools/build_manual_pdf.py prints docs/manual/handbuch.de.pdf and
manual.en.pdf with a local Chromium; both ship in the sdist.
- Manual, READMEs and help cover the new keys; native screenshots
regenerated. Saves stay exact v14.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- src/core/plot.py: strict, bounded plot layer (64 objects, 24-char labels),
chart geometry (bearing/distance, DR position, CPA to own ship)
- uConsole: P toggles plot mode on the Bridge/Weapons/Helo map and OPZ chart;
M/R/B/C/D tools, arrows/click + Enter, Backspace (Shift: clear), Esc
- Remote Crew: common "plot" projection (field "shape"), plot_add/remove/
relabel/clear for every station, collapsible plot panel on the map
- Saved as the new root field "plot" (save v14 only; v13 rejected)
- Help, manual (reference chapter) and EN/DE catalogs updated
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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>
The lookout now reports sightings in up to three steps (Johnson criteria
with binocular gain, scaled by silhouette size): sighted, class (merchant,
warship, carrier, fishing vessel, speedboat, surfaced sub, airliner,
military aircraft) and type (cargo, tanker, passenger, tug, frigate,
destroyer, corvette; warship/military aircraft class name). Classes are
derived from existing catalog keys/categories, so v12 saves and the
catalog snapshot stay valid; the class rides on the saved lookout track
label and is validated on load.
Reports appear as AUSG feed lines ("Brücke/Ausguck: Fregatte ... in 040°"),
torpedo wakes and surfaced subs with a banner, "land in sight" per
landmass. OPZ and chart tooltips show "Lookout: ..."; the web bridge gets
visual_class/visual_type on tactical rows and a bounded sightings list.
Observations only: no operator classification or affiliation, no merchant
names, live traffic indistinguishable. Manual EN/DE, i18n, protocol docs
and tests updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Wrecks and underwater rocks are drawn on every chart (native map view,
OPZ basemap, web role map) as chart symbols with the depth of their top
when zoomed in and a chart tooltip; they are published as public chart
geography to Remote Crew.
- Wrecks now raise the seabed within half their length, like rocks, so
they are obstacles for grounding, submarines and weapons.
- An evading submarine near the frigate may creep to a charted wreck
within 8 NM and lie still on the bottom beside it (new WRACK state,
silent, no current drift, derived from saved fields so save v12 is
unchanged). A zero-Doppler echo in the same range cell and beam merges
with the wreck echo: hidden from CW (750 m cell), separable with LFM
(about 8 m).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Weather & sonar analysis (key 0, uConsole full screen and every Remote
Crew station): own-ship atmosphere derived from the weather system
(barometer leading the sea with WMO tendency and storm warning, air
temperature with cold outbreaks, snow and icing, gusts, Beaufort, cloud
ceiling, twilight from sun elevation, moon phase), weather effects, and a
helicopter flight decision (CLEAR/LIMITED/NO-GO; gusts, ceiling and icing
now limit launch and dipping, light icing costs fuel). The ocean profile
(layer, sound-speed curve, SOFAR axis, rays and shadow zone) appears only
after a sonar bathythermograph measurement and is always that
measurement. Rain freshens a surface lens in the Mackenzie sound speed;
ray profiles and the BT continue to the seabed (to 1500 m) so a deep
sound channel can form. New common v2 block `weather_station`, browser
validator and dialog, protocol docs, manual EN/DE.
Also included from the parallel session: selectable 30/60 FPS frame-rate
preference with bounded catch-up of slow frames, elastic sonar audio
buffering (local mixer and AudioWorklet), and a German presentation of
the simulation under docs/presentation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Closes every gap in docs/simulation-gaps.md in phases 0-13. Conflict in
AGENTS.md resolved by keeping both build_manual and calibrate checks; the
HFDF reference row names the 120 NM ground-wave anchor again, and the
manual export is regenerated.
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>
Radar: SNR ~ sigma/R^4 anchored so the nominal range is the Pd = 0.5 point
for a broadside target; Swerling-1 behind a 16-cell CA-CFAR; GIT-type sea
clutter (+3 dB per sea state, CNR ~ R^-3); two-way rain attenuation; aspect
as RCS. The antenna turns in simulation time (phase and pending sweep are
saved) and a contact gets one deterministic look only when the beam swept
it. Missile noise jammers are solved from their burn-through range (JNR ~
R^-2). The CIWS search/track radar holds missiles inside 3 NM. Hostile
platform radars use the same Pd = 0.5 range.
ESM: one-way level vs power class, main beam once per revolution and side
lobes at -25 dB, peak level, measured scan period (drives the LIVE window)
and a range estimate from the best candidate's power class (ELOKA page and
Remote Crew projection).
HFDF: boats pick OWF = 0.85 MUF for their shore path; ground-wave range
falls with frequency, sky wave beyond the skip distance with doubled
bearing error; frequency and mode are published on the observation.
Lookout: Koschmieder contrast, Blackwell threshold vs angular size, optical
horizon, whitecap clutter for sea-level targets and a moon-phase night.
Calibration gains an air-defence section (impact time, CIWS and chaff leak)
recorded on the 1.0.0 tree; all 77 metrics are within tolerance.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Compartments get volume, centroid, floor height, fuel and electrical load.
Flooding follows the orifice law against the outside waterline (dynamic
draft plus heel), so it slows as levels equalize and high rooms stay dry.
Floodwater mass, free-surface GM loss and transverse moment give draft and
list; the ship sinks beyond reserve buoyancy and capsizes when GM is lost
or the heel passes 35 degrees (replaces the 540-point rule).
Torpedo impact point selects the compartment and the hole area scales with
warhead stand-off; missiles hit above the waterline and mainly start fires.
Fire grows with fuel load and oxygen, is smothered by flooding, spreads
through hot bulkheads, starts from shorted switchboards and can cook off
the magazine. Repair teams walk the compartment graph (20 s per hop) and
patch holes with a limited stock of 8 kits before pumping. Station
capability degrades continuously (sonar/radar range). Hostile hulls flood
progressively and lose radar/missile launch with damage.
Save v12 carries team positions/ETAs, patch kits, holes, heat timers,
shorts, cook-off and capsize state with strict validation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Homing seekers score candidates by received level (source level,
spreading, depth mismatch) with a Doppler gate against stationary echoes
and a 6 dB lock hysteresis; a torpedo that overruns a decoy remembers it
(bounded, saved) and re-attacks with its remaining energy.
- Hostile submarine decoys fade with their battery and carry slowly swept
replica tonals.
- Nixie on a physical cable: depth and layback from the drag/weight
equilibrium (deeper when slow), lagging tow bearing (saved), cable parts
above 25 kn; designed emission 12 dB above a quiet hull.
- Hostile combatants stream acoustic decoys (saved store of 2) when they hear
a torpedo launch.
Manual EN/DE and simulation-gaps updated.
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>
Add src/physics/submarine.py and apply it to hostile platforms:
- Ordered versus actual speed: the AI orders, the hull follows at its
acceleration limit (saved speed_order); external speed overrides still
set both.
- Hydroplane authority ~ v^2 (slow depth changes below ~4 kn).
- Emergency blow from a bounded HP-air store for a flooded boat; pressure
hull fatigue beyond 0.9 x test depth and crush at 1.5 x test depth.
- Cavitation onset rising with depth; radiated source level ~40 log v
(auxiliary-machinery floor), cavitation jump and launch/blow transients,
used by every passive sonar path.
- Lurking boats hold station against the current.
- Surface ships: Nomoto-linear turning and speed loss in heavy seas by hull
length; their radiated level follows speed.
Manual EN/DE and simulation-gaps updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add src/sonar/equation.py and route own-ship, dipping and NPC sonars
through it, calibrated so the 1.0.0 detection ranges hold:
- Passive SE = SL - TL - NL + DI - DT per band: source level from target
quietness, spherical spreading plus path excess and Francois-Garrison
absorption, Wenz/Knudsen wind, shipping (nearby merchants) and rain
noise power-summed with a hull self-noise floor and the speed/cavitation
self noise; own wake astern masks the hull array.
- Active SE with aspect/length target strength, bottom (sediment Lambert),
surface and volume reverberation, CW Doppler rejection growing with
radial speed, LFM processing gain, Cramer-Rao range accuracy.
- Selectable CW/LFM pulse (W, saved); charted wrecks return unassociated
echoes (saved pending clutter).
- NPC passive sonars hear louder targets farther and use their catalog
receiver sensitivity.
Sea-state deviations at cavitating own speed are recorded with reasons.
Manual EN/DE and help updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add src/physics/ship_dynamics.py with hull/propeller data in
data/loadouts/ownship_hull.json, calibrated at load time against the
1.0.0 references (top speed, 92 s to 90 % of FULL, 92 s stop, 1.2 deg/s
at FULL, cavitation at 15 kn, cubic fuel law):
- Surge from propeller thrust (linear K_T(J)) against quadratic resistance
and added resistance in waves; three exactly integrable regimes
(load-up programme, governed, reverse-pitch braking) keep the result
independent of the step size.
- Cavitation from the cavitation number at the screw depth (earlier when
pitching lifts the stern); physical shaft rpm; fuel from shaft power.
- First-order Nomoto steering (turn circle ~0.4 NM at all speeds).
- 1-DOF roll/pitch driven by a Pierson-Moskowitz wave slope, turn heel,
list and speed-dependent fin stabilizers.
- Displacement from fuel and floodwater; hydrostatic draft plus Barrass
squat feed swept grounding.
- Jammed rudder when the aft steering-gear room is destroyed, stabilizers
lost with a destroyed hull compartment.
- Saved wake ring with bubble decay for later sensor/weapon phases.
Deviations (rpm display values, HALF turn rate) are recorded in
tests/calibration/deviations.json. Manual EN/DE updated.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Add src/world/ocean.py and wire it into World:
- Tides (M2 + S2, seeded amplitude/phase, spatial gradient, Green's-law
shoaling); depth_m/physical_depth_m are chart datum + tide, so grounding
and submarine safe depth follow the tide. charted_depth_m keeps the datum.
- Mixed-layer depth with diurnal heating (zero 24 h mean), wind-mixing
deepening (saved exact relaxation) and three internal-wave components.
- Seasonal/diurnal SST, thermocline temperature profile and the Mackenzie
sound-speed equation; the bathythermograph and ping echo latency use it.
- Wind-driven surface drift (3 %, 20 deg right) added to current_vec.
- Seeded sediment grid with Rayleigh bottom-loss parameters, and up to 64
wrecks/submerged rocks (rocks shoal depth, never above 15 m).
- Save v12 world block gains the ocean clock and wind-mixing state.
- HQ weather bulletin reports tide and water temperature; manual EN/DE.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>