aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/boarding.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix(gameplay): ground the hero when a warbot is destroyedValentin Popov5 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 Popov10 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 Popov10 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 Popov10 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 Popov10 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 Popov10 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