aboutsummaryrefslogtreecommitdiff
path: root/apps/fparkan-game/src/projectile_render.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix(combat): converge manual shots on the authored sight rayValentin Popov4 days1-0/+2
| | | | | | 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.
* fix(audio): attach the engine loop to the player's missileValentin Popov9 days1-8/+30
| | | | | | | | | | 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 Popov9 days1-4/+43
| | | | | | | | | | 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(combat): render authored trails for autonomous projectilesValentin Popov10 days1-0/+149
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.