aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/projectile_shield.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix(combat): recognize hits absorbed by shieldsValentin Popov10 days1-6/+5
| | | | | | 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(render): size warbot shield pulses from mounted modelsValentin Popov10 days1-5/+89
|
* feat(render): play authored shield pulses on impactValentin Popov10 days1-3/+98
| | | | 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(combat): spend directional shield charge before hull damageValentin Popov10 days1-0/+191
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.