aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/weapon_pose.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix(render): size warbot shield pulses from mounted modelsValentin Popov10 days1-0/+43
|
* feat(combat): aim autonomous turrets with authored tracksValentin Popov10 days1-6/+57
| | | | | | Convert the selected target to the turret mount space and sample the authored azimuth and elevation tracks for rendering and the CPU muzzle query. Leave trigger cadence and target selection intact. Verified the stock AutoDemo launch, turret swivel with Vulkan validation clean, and a stock combat regression. Aim slew and recoil providers remain open.
* fix(combat): launch AI projectiles from mounted weapon CPTsValentin Popov10 days1-0/+338
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.