aboutsummaryrefslogtreecommitdiff
path: root/apps
Commit message (Collapse)AuthorAgeFilesLines
* fix(audio): play engine loops for autonomous missilesValentin Popov4 days3-30/+125
| | | | Keep one spatial Op2 source per flight while it moves, with separate identities from manual and scene emitters. Confirm the original mode 5 phase and verify launch, overlap and teardown on the GOG AutoDemo. Flight-speed changes and a listening comparison with the original remain open.
* fix(audio): play warbot rocket launch soundsValentin Popov4 days1-13/+20
| | | | | | | | | | The two stock rack projectiles start gun_mis.wav through an Op2 row in their initial effect group. Accept the authored 0x6 effect flags after checking the phase and playback callback in the GOG Effect.dll. The licensed regression checks the launch event for the two racks and the hero missile. The stock Two Fortresses window also reaches rocket fire with clean Vulkan validation.
* fix(gameplay): fire hero projectiles along the posed muzzleValentin Popov8 days1-6/+15
| | | | Use the CPT direction after the current node, component mount, and body transforms. Validate the raised barrel axis with the original Constructor resources.
* fix(render): drive manual firing flashes from linked barrel nodesValentin Popov8 days2-32/+85
| | | | | | Use the current authored barrel blend as Effect mode 4 input when Control links the effect to that node. Leave projectile release and direct shot audio on their existing clocks. Verified the bound node and phase flags against GOG AniMesh and Effect, covered the stock Constructor cannon, and compared the flash at two phases in a validation-clean mission window.
* fix(combat): show muzzle flashes for manual fireValentin Popov9 days3-28/+32
| | | | Send the player's linked Control row through the existing firing flash sampler. On the stock Constructor start, the 25 mm cannon emits the authored sprite and a light at the muzzle from an external camera. Full node-driven mode-4 phase remains open.
* fix(combat): keep shots aligned with the sights during free lookValentin Popov9 days2-7/+16
| | | | | | Preserve the turret aim before applying cockpit look offsets. On a stock Firing Range start the view turns under Shift while the cannon keeps the same projectile heading. The Constructor camera regression checks the same separation with a pitched turret. Control and Ngi32 confirm the CPT direction transform. The original choice of world matrix for the barrel remains open.
* feat(camera): render the authored cockpit geometryValentin Popov9 days2-9/+222
| | | | | | Sample state 0, group 4 from the active camera component. Keep its moving model attached to the unit and apply the CTLD camera projection only to those draw ranges. Checked in the Constructor at the stock start and while looking sideways, plus the first cockpit in AutoDemo with Vulkan validation. The native depth ordering and matched warbot comparison remain open.
* feat(camera): free look with left Shift from the cockpitValentin Popov9 days1-1/+39
| | | | Route shifted mouse samples to the independent Control camera phases, apply yaw then pitch at the existing cockpit point, and recenter on Shift release or right click. Original World3D dispatch and Control camera calls verified wrapping, clamping, recentering, and the transform. A stock Firing Range window showed the view move and return with hull yaw and turret pitch unchanged.
* fix(input): use the original hero turret elevation rangeValentin Popov9 days1-6/+5
| | | | Apply the World3D mouse Y filter and reverse setting, update the normalized turret request, and use the authored neutral and span to share pitch with the cockpit and elevation tracks. Original World3D dispatch and Control manual mode confirmed the gain and clamp. Stock Firing Range captures show both endpoints and the licensed Constructor test checks the camera and turret together.
* fix(movement): carry unfinished hero turns across ticksValentin Popov9 days1-6/+3
| | | | 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 Popov9 days2-25/+45
| | | | 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 Popov9 days2-30/+39
| | | | | | | | | | 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.
* fix(movement): limit hero ascent using the Control slope profileValentin Popov9 days1-2/+2
| | | | | | | | | | | Use the normal of the same triangle that supplies terrain support, apply the walking profile's speed envelope, and resolve support again for the shortened step. The existing immediate-speed model still omits native braking inertia. The native Control call confirms the envelope and the downhill bypass. In the stock Firing Line window the hero stopped at the west slope and could walk back. The bridge and factory walkway corpus checks passed.
* fix(audio): attach the engine loop to the player's missileValentin Popov9 days5-17/+223
| | | | | | | | | | Prepare velocity-driven Op2 sounds with the projectile's CTL attachment. Move their source with the active flight and stop it when the flight ends or its slot is reused. Keep launch as a separate one-shot. The GOG phase function confirms the missile's 0 to 1 phase range. In the stock Firing Line window the engine loop began at the tail and stopped on terrain contact.
* fix(audio): start node-attached laser sounds during wind-upValentin Popov9 days4-23/+126
| | | | | | | | | | | Use the weapon descriptor's Control group to select the mode-1 sound rows. Update them through the existing FX clock and spatial Op2 playback for both manual and autonomous weapons. The GOG Control/Effect entry points confirm the selector, epoch and phase threshold, including retriggering after a sample at the exact phase peak. The stock Two Fortresses helicopter started the original sound at both weapon nodes in a Vulkan window.
* fix(audio): play projectile launch soundsValentin Popov9 days6-53/+143
| | | | | | | | | | Read phase-zero one-shot sounds from the projectile's initial Control effect group. Reuse the decoded effects for trails and play the launch sounds when the weapon creates a projectile. The native mode-1 phase probe and the licensed hero missile fixture both pass. A replayed trigger at the stock Firing Line start queued H_fire_missile.wav once and Vulkan validation was clean.
* fix(combat): recognize hits absorbed by shieldsValentin Popov9 days1-5/+12
| | | | | | Use the same impact result for manual fire and autonomous weapons. A shield that spends its charge and absorbs a whole shot completes the impact without reporting an unavailable target. Keep the existing hull damage API for callers that only need remaining health. Checked in a window on the stock Two Fortresses map. The laser first ended at the shield and then reduced hull health after the sector was depleted. At 180 seconds of AutoDemo the false unavailable reports disappear and the destruction sequence is identical.
* fix(terrain): cut basements when scripted buildings finishValentin Popov9 days3-8/+404
| | | | | | Use the authored footprint to rebuild the window terrain, floor support and shadow receivers together. Keep terrain draw slots stable across the rebuild, and publish the corrected building height in the construction frame. Verified in a stock Single.02 window with Vulkan validation while the clan built a plant. Headless terrain and native overlap and removal semantics remain open.
* refactor(terrain): share BAS projection for live building posesValentin Popov9 days3-110/+10
| | | | Move the authored contour projection out of the app so the same geometry can be prepared from an initial root or a live construction pose. The licensed stock Third Part construction test builds the real factory foundation and verifies that the original ground surface drops out beneath it. Constructor's normal Vulkan start retains clean validation.
* fix(render): reveal buildings when scripted construction endsValentin Popov9 days1-0/+6
| | | | Publish completed constructions with the same fresh world snapshot that the render tick consumes. Activate their prepared render roots and collision bindings through the existing spawn path. An unmodified Third Part start shows the actual factory appearing on the site between two Vulkan frames. Terrain rebuilding for a new basement remains open.
* feat(factory): order schemes with selected internal partsValentin Popov9 days1-3/+19
| | | | On the stock Constructor map, walk to the factory communicator, claim it, order the revised scheme, and walk back outside. The released custom robot advances the production objective. Check that an unresearched part prevents a new custom order before it uses the free quota.
* fix(player): use the Control forward limit for walkingValentin Popov9 days2-3/+3
| | | | Read the live Control profile for walking along the body's heading. The stock Firing Range window advances at roughly 14 units per second while the key is held. Size collision sweeps from actual requested displacement so the stock factory entrance, passage and exit still work.
* feat(player): play footsteps on ground and building floorsValentin Popov9 days3-3/+118
| | | | Select the original step effects from the hero's Control rows. A footfall follows the accepted movement and the camera rhythm. The Firing Range window starts the ground sound on the step and stays quiet when the player stops.
* feat(player): bob the cockpit view when walkingValentin Popov9 days1-1/+5
| | | | Use the 0.45 second vertical cycle observed in the GOG hero camera. The stock Firing Range window shows lift on an accepted walk and settles on release. The body and muzzle still use their own poses.
* feat(player): lower the communicator field on captureValentin Popov9 days2-4/+28
| | | | Drive the original CTLD type-13 tracks from the local capture. The Constructor window replay shows the raised and lowered field and four player projectiles stop at the mesh. Leaving resumes the authored open pose. Motion timing and exit trigger remain approximate.
* feat(player): announce a successful building captureValentin Popov9 days3-8/+18
| | | | Resolve the neutral or enemy cue through the original voice table. In a stock Constructor window replay the factory capture queues vc_nb_capt.wav before the objective notice.
* fix(player): capture buildings at the communicator floorValentin Popov9 days1-0/+4
| | | | On the stock Constructor map, walk through the factory basement to the communicator and press Enter. The first objective completes and the same path returns to ground level. The green ceiling no longer hides the floor in the contact query.
* fix(player): drown on first supported step into waterValentin Popov9 days1-10/+13
| | | | Carry the terrain surface flags through the walking collision decision. A mesh floor over water remains safe. The first accepted wet step removes the hero and produces the normal mission failure event. Verified the surface flag in the original Control DLL and walked from the stock Constructor spawn to the lake in the Vulkan window.
* fix(player): walk through cut terrain into factory basementsValentin Popov9 days1-10/+211
| | | | Use the same BAS cut surfaces for the walking sweep and the scene. The hero can descend along the building mesh and recover ground support on the way back. The stock Constructor route passes in both directions, the Firing Range bridge retains clearance, and the walk replay completes in the Vulkan window.
* chore(coverage): label shared route motion as approximateValentin Popov9 days1-1/+1
| | | | Use the same coverage label in runtime logs and simulation reports. Document the observed idle warbot handler and the parts of native locomotion still open. The stock AutoDemo keeps the same first shot and destruction times.
* fix(ai): follow capture passages through building doorsValentin Popov9 days1-0/+13
| | | | A stock Two Fortresses run now takes the generator after the capturer descends its authored hallway. Symmetric Res17 door links drive the CTLD animation and unsupported routes retain explicit coverage. Checked the approach and descent in the game window with Vulkan validation and verified the owner transfer in a licensed test.
* fix(ai): route capturers to authored building entrancesValentin Popov9 days1-0/+4
|
* feat(render): play authored shield pulses on impactValentin Popov9 days2-17/+346
| | | | Use the Control 9 resource and impact basis to start three reusable mode-1 instances per owner. Draw the Op9 layers with the sampled MAT0 color and start the authored Op2 sound. Check the blue pulse and its expiry in a fixed-camera Vulkan run.
* feat(render): animate player weapon tracks during firingValentin Popov9 days2-117/+167
| | | | Sample the authored barrel tracks on the existing weapon clock before resolving the muzzle. Check Control phase interpolation against the original DLL and verify plasma rifle travel in a fixed-camera capture on the stock firing range.
* feat(render): throw detached chassis nodes as fragmentsValentin Popov9 days4-49/+131
| | | | Pass the depleted node to an authored Op10 with a built-in mesh request. Reuse its existing draw ranges for the flight and keep the hull alive. The fixed-camera fixture shows the heavy track section separate and rotate after impact.
* feat(render): hide exhausted chassis geometryValentin Popov9 days2-0/+96
| | | | Use provider depletion and the node visibility flag to suppress the projected Vulkan ranges of a failed chassis part. The matching camera fixture shows the heavy warbot losing one track section after a hit while the rest of the hull remains visible.
* feat(combat): apply projectile hits to chassis nodesValentin Popov9 days1-1/+1
| | | | Use prepared chassis triangles to choose a loaded NDP node. Exhausted ordinary parts play their authored EXPL independently of root death. Unresolved mounted geometry keeps a sphere contact on exit. A stock side-shot fixture exhausts a heavy chassis part while the hull survives.
* fix(render): close the explosion billboard quadValentin Popov9 days1-2/+2
| | | | Use the cyclic Op3 corner order for the two triangles. A four-frame stock bunker fixture removes the missing wedge and overlap at the same camera and clock.
* feat(audio): drive chassis engine loops from actual movementValentin Popov9 days4-21/+198
| | | | Prepare the authored root-node CTL attachments and feed Control speed limits plus observed motion into FX modes 5 and 15. The stock AutoDemo window queues ground and flight engine loops from the starting scene.
* feat(combat): show detached assemblies after chassis destructionValentin Popov9 days3-16/+179
|
* feat(combat): play the referenced explosion on chassis destructionValentin Popov9 days2-1/+424
| | | | | | Read the version-one EXPL reference from the depleted NDP root. Retain the death position across slot reuse and show the authored billboard, light and sound after the mesh is removed. Verified the explosion sprite after a stock AutoDemo kill, with Vulkan validation clean. Node detachment, debris particles and building destruction remain open.
* feat(combat): activate mounted flash effects on autonomous shotsValentin Popov9 days2-4/+63
| | | | | | Carry the prepared effect row with each shot. Use the existing mode 4 visual effect for that component at release, with its authored geometry, lights and CPT placement. Keep the one-shot sound on its existing event path. Verified stock AutoDemo shot frames submit the authored muzzle light with Vulkan validation clean. A matched on-screen comparison and the full flash curve remain open.
* feat(combat): play spatial sounds for autonomous weapon shotsValentin Popov9 days3-10/+130
| | | | | | Carry the firing effect and muzzle position on the shot event. Resolve single-gun effects by their matching muzzle point when there is no node link. Play each one-shot as its simulation frame arrives. Verified a stock gun sound enqueues a spatial voice with the flight starting position. AutoDemo ran with Vulkan validation clean and no playback errors. Comparison by ear with the original remains open.
* feat(combat): render authored trails for autonomous projectilesValentin Popov9 days2-122/+162
| | | | | | Send simulated flight segments, clipped at their first contact, to the shared projectile trail renderer. A final trail can be presented after its projectile body is removed. The existing render pool serves both paths independently. Verified three prepared trail families and a visible laser segment from a stock AutoDemo start with Vulkan validation clean. Stock combat tests retain contact and weapon identities.
* fix(movement): drive tread material cycles from chassis travelValentin Popov9 days2-3/+114
| | | | | | Bind animated tread batches to their individual hull displacements. Preserve the authored phase sequence and derive nominal cycle length from the Control speed, scale and MAT0 duration. Checked stock tracked models in the normal AutoDemo window with Vulkan validation clean. Signed travel, stop and respawn are covered by a unit test. Per-track turning and physical cycle length are approximate.
* feat(combat): aim autonomous turrets with authored tracksValentin Popov9 days1-4/+38
| | | | | | 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.
* feat(movement): play authored walking cycles from chassis travelValentin Popov9 days2-9/+98
| | | | | | Select a closed forward stride from the model for explicit walking profiles. Drive it from world displacement and subtract baked forward travel before updating geometry, mounts and shadows. Verified light, medium and heavy stock model cycles and watched leg poses change from the normal AutoDemo start with Vulkan validation clean. Stop transitions and terrain-adaptive feet remain open.
* feat(movement): roll authored wheel loops from chassis travelValentin Popov9 days1-15/+60
| | | | | | Select wrapping controller rows backed by a full MSH rotation around a fixed axle. Use chassis displacement and the wheel radius to advance each loop. Sample the wheel nodes in the live component hierarchy and reset the phase when the rendered slot gets a new owner. The stock wheeled chassis samples a quarter turn after a quarter circumference and retains it while still. AutoDemo spawned the chassis and ran with clean Vulkan validation. Gait, tracks and in-place turning remain open.
* fix(movement): carry frame time across route waypointsValentin Popov9 days1-3/+0
| | | | | | Route following now spends the same frame interval on turning and all reachable waypoints. Go, Patrol and pursuit keep their existing speeds and share this step. Stop counting the obsolete per-waypoint time loss. Verified with the corner route regression, workspace checks, release AutoDemo in a window, and two-minute AutoDemo and Single.01 smoke runs. Obstacle avoidance, locomotion animation and comparison with the original remain open.
* fix(movement): use profile requests for scripted Go speedValentin Popov9 days1-4/+4
| | | | | | | | | | | | Scripted Go used a fixed speed of 9. Feed the temporary movement controller with the current Control forward limit multiplied by the loaded Behavior Go_SpeedPercent. Missing coefficients retain the native constructor default of 1; present VAR records use the first matching row's applied value. Rebind a produced unit's Behavior profile to its new full handle so the request remains available after spawning. Share Go and PatrolPlace speed sampling in unit_speed.rs while retaining the patrol coefficient of 0.8, and move profile-loading mechanics out of lib.rs into behavior_profile.rs. Reports distinguish Go and patrol samples and keep explicit fallbacks for unresolved inputs. An unmodified GOG Behavior.dll oracle executes the native profile constructor, current-profile getter and both Go start/update paths under x87 0x007f. A hardware breakpoint records the request before the MWalker call. It confirms default, fractional and zero vectors, including the stock request 0x41e52e74 (28.647682). This is requested-speed evidence; MWalker caching, acceleration, routing and physical integration remain explicit approximations. The licensed stock mission-19 test first failed because Go never requested its Control speed, then passed with the original robot at the stock start. Existing patrol and newly produced-unit profile tests also pass. In the stock game window the raid fires at 190671 ms instead of the preceding build's roughly 327 seconds, depletes the bunker root at 193620 ms, and completes both queued retreat Go orders before ShutDown. The hero stays at the starting position. Validation: cargo fmt --all -- --check; cargo check --workspace; cargo test --workspace; release build; six focused/ignored runtime speed tests; native start/update vectors; all 29 stock --sim-report 900 runs with zero Go speed fallbacks or damage errors. World summaries remain unchanged. Full original movement and mission chronology are not accepted by this change.