From 2de3fd6567d6eee36910af260f1e5767213ba89c Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Tue, 1 Dec 2026 16:26:55 +0400 Subject: fix(combat): converge manual shots on the authored sight ray Read the ray origin and axis from the turret CTL rows. Match the Control sight query and its minimum convergence distance for compatible projectile profiles. Free look keeps using the same turret ray. Checked Control.dll RVA 0x2a610 with near, far, and clear rays. Used the stock firing range window for the changed launch vectors and replayed ordinary player inputs from the normal start through victory. --- crates/fparkan-runtime/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crates/fparkan-runtime/src/lib.rs') diff --git a/crates/fparkan-runtime/src/lib.rs b/crates/fparkan-runtime/src/lib.rs index c2b4f7e5..6150fa44 100644 --- a/crates/fparkan-runtime/src/lib.rs +++ b/crates/fparkan-runtime/src/lib.rs @@ -119,6 +119,7 @@ mod player_motion; mod unit_speed; pub use patrol_points::PatrolPointReport; pub use unit_speed::{UnitSpeedKind, UnitSpeedReport}; +mod aim_convergence; mod factory_release; mod player_status; mod player_weapon; @@ -164,6 +165,7 @@ mod wheel_animation; pub use weapon_pose::{initial_component_node_times, WeaponPoseReport}; pub use wheel_animation::WheelAnimation; +pub use aim_convergence::{projectile_sight_target, turret_sight_points}; pub use autodemo::{autodemo_camera, AutoDemoCamera, AutoDemoReinforcement, AutoDemoView}; pub use boarding::{ board_friendly_warbot, disembark_warbot, player_vehicle, select_boarding_target, -- cgit v1.2.3