aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/projectile.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix(combat): use authored range for autonomous weaponsValentin Popov10 days1-0/+3
|
* feat(combat): spend directional shield charge before hull damageValentin Popov10 days1-0/+14
| | | | Resolve the nearest sector in the target basis and apply the Control 9/21 capacity before the hull modifiers. Verify power queries and depletion with the original Control DLL, then check live AutoDemo and Two Fortresses encounters from stock starts.
* feat(render): throw detached chassis nodes as fragmentsValentin Popov10 days1-2/+5
| | | | 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 Popov10 days1-0/+1
| | | | 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 Popov10 days1-87/+139
| | | | 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.
* feat(combat): enable the authored weapons of hostile animalsValentin Popov10 days1-1/+1
| | | | The armed Constructor creatures use the shared enemy search and fire their CTL weapon from Gun_Y. The stock start is outside range. The close encounter fixture shows the projectile in the Vulkan window and leaves the hero at 30 percent after one hit.
* feat(combat): reduce damage with Control protection coefficientsValentin Popov10 days1-8/+12
| | | | Keep the two damage coefficients in the existing tag-27 owner cache and apply the native quadratic clamp to projectile contacts. The calculation matches live GOG damage samples at single precision, and the AutoDemo window reaches combat and replacement after the change.
* feat(combat): play explosions for depleted building partsValentin Popov10 days1-0/+72
| | | | Use the EXPL referenced by the struck NDP row once the part runs out of capacity. Queue the blast at contact and keep the rest of the structure alive. The renderer shows the stock bunker effect in the Vulkan damage fixture.
* fix(combat): let projectiles damage animalsValentin Popov10 days1-1/+65
| | | | Verify the placed Constructor animal can be reached by a projectile segment, wounded and removed. The stock mission also starts in the Vulkan window.
* feat(combat): play the referenced explosion on chassis destructionValentin Popov10 days1-0/+4
| | | | | | 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.
* fix(combat): aim at exposed unit hullsValentin Popov2026-11-141-1/+1
|
* feat(combat): damage the building part struck by a projectileValentin Popov2026-11-141-7/+120
|
* feat(runtime): board and drive allied warbotsValentin Popov2026-11-141-1/+2
|
* feat(runtime): engage hostile robots in AutoDemoValentin Popov2026-11-141-13/+29
|
* feat(game): damage and remove units hit by player projectilesValentin Popov2026-11-141-4/+119
|
* feat(game): render player projectiles in flightValentin Popov2026-11-141-0/+168