Restore daemon cockpit thermal medicine

This commit is contained in:
Meta Vens 2026-07-12 06:10:33 +01:00
commit b50c8a9053
12 changed files with 361 additions and 11 deletions

View file

@ -1942,9 +1942,13 @@ First Aetheria surfaces to publish:
equipment-local temperature/performance, shutdown, wear, conduction, and
radiation. The daemon orders radiator pumping before reactor settlement and
thermal conduction; client operations have no direct energy, heat, wear, or
equipment-online writer. The Eve game surface publishes the resulting power,
radiator, temperature, wear, and offline-equipment facts. Cockpit medical
consequences, rotated equipment footprints, and parent/child radiation remain
equipment-online writer. `AetheriaRuntimeThermalMedicalSimulation` derives
cockpit exposure, recovery, severe-risk crossings, and thermal death from the
cockpit's canonical cells; all death causes use the same destruction commit.
The Eve game surface publishes the resulting power, radiator, temperature,
wear, offline-equipment, cockpit, risk, render-weight, and typed death facts.
Rotated equipment footprints, parent/child radiation, schematic composition,
native thermal post effects, and the cause-specific death fade remain
migration work rather than presentation authority.
- `dotnet list package --vulnerable --include-transitive` is clean for active
maintained projects.

View file

@ -23,7 +23,7 @@ validation proves contract shape, not wiring, exclusivity, lowering, or parity.
| Targeting/contacts | sensors + `ActionGameManager` | daemon | contact/target semantics | target HUD and indicators | simplified owner wired/projected; daemon weapon lock now acquires and decays from facing, elapsed time, and observer-local contact confidence instead of granting an immediate perfect lock | target-switch reset, angular decay, visibility/nearest/explicit cases, and runtime lock feedback |
| Projectile flight | weapon/projectile classes | Eve presentation for ordinary tracers; Ymir for persistent physical payloads | receipt trajectory/effect facts or persistent payload state | native projectile visual | ordinary instant, charged, and constant execution creates no projectile body; each weapon state owns a stable shot sequence and receipts carry origin, endpoint, nominal duration, and effect identity for Eve presentation; `SpawnProjectile` and its alternate writer are deleted; Ymir projectile contacts are feedback-only for explicitly persisted payload rows and cannot write damage; Ymir.Core remains embedded for world integration, radial fields, circle contacts, pickups, and genuinely persistent/interceptable payloads | split/rename the remaining physical-payload interface and remove ordinary projectile terminology from runtime contracts |
| Shield/armor/equipment/hull damage | energy-funded shield, schematic armor cells, equipment and scalar hull | daemon canonical damage transaction | aggregate/exact armor grid, entity status, and layer-aware shot/damage receipts | schematic, meters, impacts, damage VFX | owner-exists; wired; exclusive; projected: daemon initializes armor/maximum-armor grids from hull plus hardpoint catalog topology; direct and deployable damage share one `shield -> armor cell -> equipment -> scalar hull` transaction; direct impacts select a cell or complete hardpoint footprint before orthogonal spread and 0.5-cell penetration, while splash payloads select the source-facing hull half; the fossil penetration infinite-loop defect is fixed; damage type is typed/pass-through without resistances because the fossil never applied them; Eve exposes aggregate and exact armor state and receipts identify reached/applied layers; fake Ymir contacts and presentation cannot decide damage | fossil parity fixtures for topology, edge impacts, orthogonal spread, multi-cell penetration, equipment interception, and generic shield/equipment effect lifecycle |
| Thermal/energy | cell conduction and capacitor/reactor/radiator network | daemon | ship/equipment state, power/temperature facts and warnings | schematic/post effects | owner-exists; wired; exclusive; projected: catalog hull and installed-item shapes derive cell mass/conductivity/topology; local temperature derives thermal performance, wear potential and online state; all consumers share capacitor-first/reactor-residual transactions; powered radiators pump before reactor settlement; reactor heat then enters the same cell network before conduction/radiation; Eve exposes capacitor, reactor, radiator, temperature, wear and offline-equipment facts; cockpit medical thresholds, rotated equipment topology and parent/child radiation remain incomplete | multi-consumer ordering, multi-radiator visibility, rotated topology, cockpit injury/death timelines and generic schematic/post-effect lowering |
| Thermal/energy | cell conduction, capacitor/reactor/radiator network, and cockpit thermal exposure | daemon | ship/equipment power, temperature, medical state, risk and death feedback | schematic/post effects | owner-exists; wired; exclusive; projected: catalog hull and installed-item shapes derive cell mass/conductivity/topology; local temperature derives thermal performance, wear potential and online state; all consumers share capacitor-first/reactor-residual transactions; powered radiators pump before reactor settlement; reactor heat then enters the same cell network before conduction/radiation; cockpit-cell temperature drives the fossil nonlinear heatstroke/hypothermia accumulation, linear recovery, severe-risk crossings, and ordinary exactly-once destruction with a typed cause; Eve exposes power, temperature, wear, offline-equipment, cockpit, risk, heatstroke render-weight, and death-cause facts; rotated equipment topology, parent/child radiation, schematic composition and native post/death lowering remain incomplete | multi-consumer ordering, multi-radiator visibility, rotated topology, reconnect across risk/death, generic schematic meters, heatstroke phasing and cause-specific death fade |
| Weapons | ServerShared behaviors + Unity effects | daemon plus Ymir geometry/kinematics | action capability, weapon state, shot/damage receipts | effects/audio/HUD | instant and constant resource/timing lifecycles are daemon-owned; charged weapons accept one semantic request, spool without requiring a solution, hold at full charge, commit automatically when a solution appears, and perform deterministic once-per-second malfunction hazard checks after the authored safe hold interval with increasing persisted risk; generic Eve `weapon.state` exposes charge hold/risk and feedback exposes readiness, commit, refusal, and malfunction chronology; committed direct damage now enters the shared daemon armor-cell transaction | guided persistent payloads, visibility/wear, remaining impact-distribution parity, and Unity effect reconciliation |
| Destruction/drops | hull death, 25% equipment rolls, unconditional cargo drops, 25-unit launch, 30-second pickups | daemon | destruction identity, death/drop events, typed pickups | provider-advertised destruction effect and pickups | owner-exists; wired; exclusive; projected: direct and deployable lethal damage commit one deterministic destruction transaction, clear live references, retain only a non-rendered identity tombstone, and emit exact pickups/events; the reserved client `DestroyEntity` command is rejected; Aetheria advertises its original big explosion as `effect.feedback.entity.destroyed`, lowered generically by EveUnity | equipment-destruction-before-hull parity and multiplayer reconnect chronology |
| Tractor/scoop | analog tractor and physical timed pickups | daemon + Ymir | tractor power, pickup body and receipt | beam/interaction feedback | fossil 2/s power ramp and authored forward radius/traction/distance feed pickup bodies into the shared Ymir world; shield contact collects exactly once when capacity permits or applies the fossil 25-unit rejection kick; 30s daemon lifetime; instant cargo teleport deleted | prove generic runtime beam, contact, success and rejection feedback |

View file

@ -97,6 +97,22 @@ Death unbinds gameplay input, presents cause, and transitions to appropriate
menu/restart flow. The client cannot clear or save authoritative world state as
a side effect of playing the animation.
The fossil's live heatstroke presentation uses two volume weights. Base weight
is `saturate(heatstroke / severeRiskThreshold)`. Severe weight is the normalized
amount above that threshold, with an authored sinusoidal pulse applied by the
lowerer. Heatstroke and hypothermia each have schematic exposure meters, while
cockpit temperature drives the shared thermal-limit meter. The scene contains
hypothermia volumes, but the inspected live update never drove them before
death; do not invent continuous hypothermia post processing as historical
parity. Cause-specific death fades cross the applicable thermal volumes into
the death volume over one authored second.
The current fossil settings still declare heatstroke and hypothermia control
limits, but the implemented heatstroke cockpit lockout was deliberately removed
and no hypothermia lockout was connected. Thermal exposure therefore does not
silently attenuate or reject semantic controls. The daemon owns medical state
and death; the runtime owns only meter, volume, and transition lowering.
## Effects And Audio
Weapon and impact effects consume semantic event facts and provider asset refs.

View file

@ -42,6 +42,15 @@ performance and online state derive from local temperature.
Cockpit temperature advances heatstroke/hypothermia accumulation and recovery.
Threshold crossings and death are authoritative events.
Above 330 K, heatstroke advances by `(temperature - 330)^2 * 0.00001 * dt`;
below the threshold it recovers by `0.2 * dt`. Below 273 K, hypothermia advances
by `(273 - temperature)^2 * 0.00001 * dt`; above the threshold it also recovers
by `0.2 * dt`. Values saturate to `[0,1]`, severe risk crosses at `0.25`, and a
value above `0.99` kills through the ordinary entity death path. The fossil's
hypothermia risk comparison accidentally read heatstroke; the daemon implements
the intended symmetric threshold crossing while retaining the exact exposure
and death formulas.
The daemon derives the grid from the equipped catalog, rather than accepting a
renderer-authored heat scalar. Hull mass and specific heat are distributed over
the hull shape; installed equipment contributes thermal mass and replaces the