bitbubbler / yet-another-dcs-server

YADS: A work in progress dcs server
The Unlicense
5 stars 3 forks source link

Permanent termination of critically hit Redfor helicopters (like the Havoc) #4

Open Alighierian opened 2 years ago

Alighierian commented 2 years ago

Probably speaks for itself, but I'll elaborate a bit

Havoc gets hit, either by missile or gunfire, but does not fully die, and spends the next however long it wants flying off into the sunset, to maybe land at an airfield of its choosing.

Side-on hits generally result in critical damage to the tail rotor assembly, causing death by crash explosion. Frontal hits often just get eaten up and shrugged off, to the point the Havoc decides it has had enough, jettisons its armament, and RTB's. It sometimes disappears from the F10 map in the process.

A method would be needed to detect sufficient critical damage, either by gun, missile, rocket, or other source, and subsequently terminate the damaged unit.

skeletonwburg commented 2 years ago
  1. Detect missile hit (only missile, we don't care about guns)
  2. create explosion a few seconds after hit was registered at Havoc's position

Short delay (5 s should be enough) is probably necessary. Instant explosion had some issues and can break the game.

Alighierian commented 2 years ago

I've also seen it happen with gun damage, but with the primary defences generally being missile-based, both A2A and S2A, that is indeed the priority.