diff --git a/context/combat-damage.md b/context/combat-damage.md index c0938ce..1edf23c 100644 --- a/context/combat-damage.md +++ b/context/combat-damage.md @@ -324,6 +324,34 @@ per ER-M laser; [[decomp-reference]] §5). Flying projectiles (LRM/autocannon) a reconstruction (`BTPushProjectile` — the 2007 Entity is too small for the binary's raw integrator offsets). [T2] +## "Mechs die with lightly damaged armor" — AUDITED, no port bug: it's AMMO COOK-OFF (2026-08-02) [T1 chain, T2 measured] +Field complaint (night 9): mechs die while their panels read nearly pristine, so "the scaling +must be off". A byte-level audit of the ENTIRE damage chain found **every link faithful**: +zone stream reads (arcade base ctor `@0041df5c` == engine DAMAGE.cpp, incl. the JointedMover +skip-5 branch); the BT ctor normalization loop (`@0049ce50` constants 1.0/1e-4/0.5 — and in +SHIPPED CONTENT the raw cells are EXACTLY `1/armorPts` uniform across all 5 types, so the +normalize is a no-op); `TakeDamage @0041e4e0` formula+clamps; the override `@0049c690` +(redirect gate, vital/leg thresholds 1.0/0.5/0.0 `@0049c99c..a4`); `CriticalHit @0049ccc4` +(fraction 0.5 `@0049ce48`, cap 1.0 `@0049ce4c`, the per-subsystem `applieddamageLevel, 0.1f)`** (part_007.c:9133, vtable `PTR_LAB_004f1730`, diff --git a/context/rendering.md b/context/rendering.md index e12433e..98a26e0 100644 --- a/context/rendering.md +++ b/context/rendering.md @@ -335,7 +335,9 @@ the limb swap ("the actual enemy mech in external view is not showing darkened a - **`.DZM`** (`VIDEO\SKIN.DZM`, 40 shipped) lists, per damage zone, the materials that zone paints: `[dz_ltorso] material=avaskin:avat2_dz_ltorso_mtl`. One file per SKIN VARIANT — the `dzm`/`dzms`/`dzmt`/`dzmo`/`dzma`/`dzmb`/`dzmc`/`dzmd` key family (same suffix set as the - `destroyed`…`destroyedd` video variants); the res compiler is `FUN_0041e4e0`. + `destroyed`…`destroyedd` video variants); the res-compiler address is UNKNOWN (the old + `FUN_0041e4e0` citation was WRONG — that is `DamageZone::TakeDamage`; corrected 2026-08-02, + swept with [[decomp-reference]]). - Compiled into BTL4.RES and parsed by **MUNGA's own `DamageZone` stream ctor** into `materialTable`, keyed by `EntitySegment::SkeletonType` (`engine/MUNGA/DAMAGE.cpp:311-336`, `GetMaterialList(skl_type)`) — real engine source [T0]. **This data was loaded and unused in the