aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/boarding.rs
Commit message (Collapse)AuthorAgeFilesLines
* feat(game): cycle warbot cockpit control modesValentin Popov36 hours1-15/+47
|
* feat(ui): show cockpit speed and Control limitValentin Popov37 hours1-0/+2
|
* feat(ui): enable manual control from the bunker listValentin Popov2 days1-5/+16
| | | | | | Use the active Control camera record and its separate CPT origin and direction for the fixed turret. The original hand control opens the cockpit, its two weapon slots and aim tracks while leaving the operator at the command post. Verified from the stock Two Fortresses start against the GOG cockpit with Vulkan validation. The licensed tests cover the native camera pose, mounted weapon selection and stationary bunker and operator.
* feat(ui): follow mobile command posts with the strategic cameraValentin Popov3 days1-8/+10
| | | | Connect captured command vehicles and follow their native orbit. Verify the sweep and acceleration against the original DLL. In a Teleport debug copy, verify Enter, edge rotation and Esc with Vulkan validation enabled. The stock start opens cleanly. The stock route and the original window comparison remain pending.
* feat(ui): watch a warbot on autopilot from its cockpitValentin Popov3 days1-3/+8
|
* feat(ui): drive a strategic warbot with an automatic gunnerValentin Popov3 days1-7/+17
|
* feat(ui): control a warbot from the strategic cardValentin Popov3 days1-14/+30
|
* feat(player): announce vehicle capture when the hero stays outsideValentin Popov3 days1-0/+9
| | | | Restore the original warbot and mobile command centre acknowledgement bank. A capture that also seats the hero remains silent. The bank and non-repeat selection were checked against the native DLL, and a walk from the normal Teleport start queued the authored voice before the objective notice.
* fix(control): board a captured warbot on the same EnterValentin Popov3 days1-0/+77
| | | | The native Enter branch transfers the neutral owner before requesting a cockpit switch when the pilot device works. The firing-range window captured and boarded each of its two warbots on one press, and Teleport still credited the mobile HQ without boarding.
* fix(control): use the original neutral vehicle capture rangeValentin Popov3 days1-11/+21
| | | | The GOG Enter handler shares a strict horizontal 20-unit check for capture and boarding. The stock firing-range window transferred both neutral warbots beyond the old radius, and the licensed Teleport check still credited the mobile HQ.
* fix(gameplay): ground the hero when a warbot is destroyedValentin Popov4 days1-1/+17
| | | | | | | | | | | | | A passenger kept the destroyed chassis root height and carried that offset into walking. In Two Fortresses this left the hero above the entrance to the last bunker. Put the hero on the terrain at the last chassis position, and retain the current elevation when the chassis was on a building floor. The licensed chassis test reproduces the old height and verifies the ejection after projectile damage. The stock Two Fortresses replay confirms the height correction during combat. Workspace checks and a Vulkan validation run from the normal start passed. Native ejection placement and the flying vehicle case remain open.
* fix(movement): carry unfinished hero turns across ticksValentin Popov8 days1-2/+2
| | | | Use the angular limit in Control profile word 11 and preserve the unconsumed phase. The original Control read and write dispatch and orientation update delivered 0.5022847 then 0.4401929 radians at two 10 ms samples. The same steps changed the view in a Vulkan window from the stock Firing Range start.
* fix(input): match the original hero mouse turn scaleValentin Popov8 days1-0/+2
| | | | Use the stock relative X binding and control settings, filter once per input sample, and carry the filter across collision steps. World3D dispatch confirmed both directions, saturation and angle wrapping. Mission 2 was checked from a stock spawn in a Vulkan window with two view captures. The runtime still applies the requested rotation in one step.
* fix(movement): carry hero walking velocity between ticksValentin Popov8 days1-0/+2
| | | | | | | | | | Take both horizontal limits and acceleration from the active Control profile. Apply the measured slope braking after the input update and clear velocity on a blocking wall, teleport or boarding. Keep the terrain limit during geometric sweeps so momentum cannot skip a narrow cliff. In the stock Firing Line window the hero reached the slope, stopped at its foot, backed away, and coasted on key release.
* feat(player): carry inertia across manual flight inputsValentin Popov9 days1-0/+2
| | | | Use the current Control linear limits and the acceleration ramp exercised through the GOG Control DLL at RVA 0x153c0. On the stock Teleport map, walk to the helicopter, board, climb and move forward, release the controls to coast into a hover, then descend.
* feat(player): drive boarded ground warbots with chassis limitsValentin Popov9 days1-0/+10
| | | | Check the stock Two Fortresses bunker exit, approach and boarding in the game window. Forward input uses the live cap and a chassis with a zero lateral cap holds its position on sideways input.
* fix(player): board the selected friendly warbotValentin Popov2026-11-151-24/+68
| | | | | | Route the F command to the cockpit sight selection and keep that target for Enter. Use the original strict 20-unit horizontal reach and preserve the working Control gate. Select the neutral target immediately after capture. The original iron3d distance block accepts 19.99, rejects 20 and rejects larger values. A windowed stock Teleport run selected and boarded the helicopter through the ordinary input handlers, then climbed, with Vulkan validation clean.
* fix(player): read flight capability from chassis profileValentin Popov2026-11-141-1/+8
|
* fix(player): require working Control device for boardingValentin Popov2026-11-141-1/+21
|
* feat(runtime): fire from boarded warbotsValentin Popov2026-11-141-1/+3
|
* feat(runtime): board and drive allied warbotsValentin Popov2026-11-141-0/+160