Medical Damage - Add alternate armor penetration
When merged this pull request will:
- Add alternate damage calculation that takes ammo's penetrative ability into account (aka "caliber"). Includes CBA setting to disable if players prefer previous balance or have custom ammo configs. The idea is that AP ammo should actually make a difference against armored infantry, rather than just cover and vehicles.
- Pass ammo classname to wound handler data (validation for return data remains the same).
Requires #10573.
Armor is converted to RHAe ( pulled from \a3\Data_F\penetration\*.bisurf) based on its scaled value and ignored based on projectile's ability to penetrate material.
Balanced around ACE ammo values. We don't have to worry about 3rd party armor values because of #9216 and an armor soft-cap (at RHAe 110m) implemented in this PR. Overpenetration and angle of incidence are taken into account naturally by using impact damage to calculate impact speed, I actually trust the engine's handling of this more than whatever math we cook up.
IMPORTANT
- [ ] If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
- [x] Development Guidelines are read, understood and applied.
- [x] Title of this PR uses our standard template
Component - Add|Fix|Improve|Change|Make|Remove {changes}.
I've realized a way to improve performance on this would be to move it to medical_damage instead, but I don't want to separate damage handling from engine (or add more things to the woundReceived event)
I'm happy with this for now. Ready for review.
Hi @LinkIsGrim, I'm really looking forward to this modify to ACE medical, but it is still not adopted. So could you please make a separate addon that contain this modify, then released on workshop?
Feel free to build and publish it yourself