Commit Graph
7 Commits
Author SHA1 Message Date
Claude ea5ba4b705 Red light and alarm lamps, debrief replay, bioluminescence, knuckles, wreck echoes, thunderstorms, deck motion windows
Save format v41 (knuckles root key, ship deck_quiet_s).

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017YR7xGwbpmkYJFGyiMJBvo
2026-09-30 16:53:46 +00:00
Claude a683a2661f Crewed boat may dive below test depth at the risk of hull failures (1.3.21)
Below test depth bolts shear, seals fail and the pressure hull cracks,
more often and worse the deeper the boat goes; crush depth collapses it.
Depth ladders mark the crush depth and a red alarm shows the overdepth.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019eZphdvoJiBgWqq2zSH4aJ
2026-09-28 12:02:15 +00:00
db9979andClaude Fable 5.1 13506278f5 Weapons: second lightweight torpedo, search patterns, enable point, salvo
frigate_torp_mk2 (55 kn, 8 NM) shares the tubes with Mk1 through a two-magazine
ownship loadout (2:1 split); selecting a type retasks a tube. Each torpedo
carries its terminal search pattern (snake, circle, helix) and seeker enable
point (0.6-3.0 NM); a salvo of two opens a +/-8 deg spread with rotated datums.
Keys W/X/,/./Y, browser settings card and command, weapon_settings save block,
manual and catalogs updated. Calibration 77/77 (defaults reproduce 1.0.0).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-27 02:19:26 +02:00
db9979andClaude Opus 5.5 97319f313e Phase 12: missile flight physics, chaff clouds, CIWS, raiders, helo, buoys
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>
2026-09-23 22:45:18 +02:00
db9979andClaude Opus 5.5 ae3991bece Phase 8: torpedo physics
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>
2026-09-23 17:55:31 +02:00
db9979andClaude Opus 5.5 8f7970059c Phase 6: submarine and surface-ship physics
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>
2026-09-23 16:29:56 +02:00
db9979andClaude Opus 5.5 236d23be0f Phase 2: force-based own-ship hydrodynamics
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>
2026-09-23 14:09:53 +02:00