aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src/projectile_trail.rs
Commit message (Collapse)AuthorAgeFilesLines
* perf(render): reuse archives across effect material phasesValentin Popov3 days1-13/+10
|
* feat(factory): build newly loaded projects without restarting the missionValentin Popov3 days1-3/+3
| | | | | | Transfer a saved design from the original designer panel, prepare it with the regular AniMesh scene builder, and queue the selected factory order. Appended world batches keep existing draw handles and gain the normal cockpit, walking animation, weapon and shield bindings. The Field Camp window witness adds a one-gun Unit DAT after mission start, uses the normal transfer and order controls, supplies the factory with a scripted test fixture, and captures the released unit with Vulkan validation clean. The two licensed factory tests also verify the assembled component records and weapon control.
* fix(render): draw laser trails as authored Op5 segmentsValentin Popov4 days1-16/+16
|
* fix(audio): attach the engine loop to the player's missileValentin Popov8 days1-5/+10
| | | | | | | | | | 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): play projectile launch soundsValentin Popov8 days1-27/+6
| | | | | | | | | | 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.
* feat(audio): drive chassis engine loops from actual movementValentin Popov9 days1-1/+3
| | | | 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(fx): render manual laser projectile trailsValentin Popov2026-11-141-0/+133
Load the constant-width Op5 layers and their original materials from the projectile Control group. Draw the sampled segment through its first contact and hide it after that frame. Coalesce native subdivisions while keeping both layers. Effect.dll RVA 0x2a20 was checked directly with two world positions. A diagnostic input replay started Firing Range on the original map, crossed the bridge, captured and boarded its flying warbot, climbed, and fired. The two trails are visible on the terrain-hit frame with Vulkan validation clean.