diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-25 22:42:11 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-25 22:42:11 +0300 |
| commit | 6f746b8e31de323a55e2a47d8117faca2aa93a50 (patch) | |
| tree | 6ede0f9b453fd7b6a08c012abf07fdb9017cb067 /tools/native-frame-capture | |
| parent | 9e5a8867d1a12a66772e6e97c3a0213f9636d56c (diff) | |
| download | fparkan-6f746b8e31de323a55e2a47d8117faca2aa93a50.tar.xz fparkan-6f746b8e31de323a55e2a47d8117faca2aa93a50.zip | |
fix(combat): launch AI projectiles from mounted weapon CPTs
Resolve weapon node poses and EXTO socket chains on the CPU, replace each
mounted component root with its socket, and transform the selected CPT into
the world. Test terrain sight lines from each barrel rather than the hull.
Share initial Control pose sampling with the window renderer. Count missing
mounts and animation fallbacks by original object ID without losing history
when an object dies.
Checked Control.dll RVA 0x1b4f0 by native invocation, including nonuniform
scale and a rotated world matrix. cargo fmt/check/test workspace pass, as do
licensed stock AutoDemo and scripted patrol/factory regressions. All 29
stock missions reach --sim-report 900 with no script interruption or weapon
pose fallback. Both games were observed in stock AutoDemo windows.
AI turret aim, recoil and first-shot chronology remain approximate; this
change does not establish full G7 or G8 gameplay parity.
Diffstat (limited to 'tools/native-frame-capture')
0 files changed, 0 insertions, 0 deletions
