aboutsummaryrefslogtreecommitdiff
path: root/crates/fparkan-runtime/src/projectile_shield.rs
Commit message (Collapse)AuthorAgeFilesLines
* fix(ui): frame cockpit miniatures using the unit node boundsValentin Popov2 days1-4/+4
|
* perf(render): prepare live factory scene geometry in backgroundValentin Popov3 days1-9/+13
|
* fix(combat): continue projectile flight after piercing shieldsValentin Popov4 days1-20/+207
| | | | | | Resolve shield sphere entrances before the first physical hit. Carry leftover volume into later ticks for both player and autonomous fire and let a geometric miss pass through a warbot bounding sphere. Checked Control.dll RVAs 0x1e9f0 and 0xd0c0 in-process with a sphere-only contact. The AutoDemo corpus covers a charged stop, a pierced field, and an unchanged hull on a miss. Ran the workspace suite and AutoDemo in the game window with Vulkan validation.
* fix(combat): select shield sectors from assembled warbot boundsValentin Popov4 days1-79/+100
| | | | Use the same assembled sphere for the charged sector and its impact pulse. Prepare the sphere in mission state so headless combat spends the same charge. Verify the sector change by calling Control.dll and observe the pulse during a stock AutoDemo encounter.
* fix(combat): recognize hits absorbed by shieldsValentin Popov9 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 Popov9 days1-5/+89
|
* feat(render): play authored shield pulses on impactValentin Popov9 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 Popov9 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.