.50 cal rounds should dismember infantry regularly

Issue #471 resolved
Colin Basnett created an issue

No description provided.

Comments (2)

  1. Matt Hands

    I've haven't ignored this. I've played around with some things and have one options that seems to sort of work. But overall it wasn't nearly as straightforward as I'd hoped/thought.

  2. Matt Hands

    Implemented in commit 416f8ac.

    50 cal now takes off arms & legs - and heads ! Uuurgggh ! Basnett, you sick ........ :)

    Turns out is was pretty easy. Adding bAlwaysSevers to the 50 cal DamageType is enough. It only severs if the bullet hits a limb or head and it takes off that body part, not some random dismemberment like an explosion, so the effect looks very realistic.

    The reason it wasn't working very well initially was that I had to fix a small error in DHPawn function ProcessLocationalDamage (which I had unwittingly introduced ages ago). That function breaks out of checking damage to different body parts if the cumulative damage reaches the point where the player is going to be killed. But I had moved the loop break above an update on the HighestDamagePoint hit, so the arm/leg/head HitPoint wasn't being recorded & passed to the damage effects functionality.

  3. Log in to comment