-
Notifications
You must be signed in to change notification settings - Fork 740
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Medical Engine - Remove ACE_HDBracket hitpoint #9732
Conversation
Co-authored-by: Jouni Järvinen <[email protected]>
Looks like this has been pushed to 2.18 |
Check if this made it into 2.16 or not. SPOTREP says it did. |
Made it into 2.16. Just need to fix merge conflicts |
I was not expecting this at all and thought we had more time for 2.16. |
Eh, it'll work. |
Don't we need to include this in 3.17.0 for 2.16 compatibility? |
Nothing breaks AFAIK |
Doesn't seem like anything breaks, at least for "normal" damage (being shot, being driven over and falling). I didn't test very much, I feel more in depth testing could be better done by an RC. |
Co-authored-by: johnb432 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested being shot, falling, being driven over, crashing and drowning - all work as expected.
Co-authored-by: johnb432 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, testing suggests this is fine.
I played around with this for about an hour or so, tried a bunch of things to cause different types of injury, no obvious issues or errors. Only change this PR needs to address now is this: ACE3/addons/medical/XEH_preStart.sqf Line 5 in 565d64d
|
Co-authored-by: johnb432 <[email protected]>
Green button go brrt (flood my inbox if something breaks) |
* Medical Engine - Remove ACE_HDBracket hitpoint * skip context 4 * move checks to vars * skip uav/logic entities * add check for arm/leg hitpoints * Update addons/medical_engine/functions/fnc_handleDamage.sqf Co-authored-by: Jouni Järvinen <[email protected]> * don't skip context 2 * clearer custom hitpoint array name * reenable compile cache * remove debug mode * lazy eval * whitespace * update comment * Update fnc_handleDamage.sqf header * Update addons/medical_engine/functions/fnc_handleDamage.sqf Co-authored-by: johnb432 <[email protected]> * Update addons/medical_engine/XEH_postInit.sqf Co-authored-by: johnb432 <[email protected]> * update hitpoint test * missing " * Update addons/medical/dev/test_hitpointConfigs.sqf Co-authored-by: johnb432 <[email protected]> --------- Co-authored-by: Jouni Järvinen <[email protected]> Co-authored-by: johnb432 <[email protected]>
When merged this pull request will:
I'm looking into whether it's possible to simplify more of the function via other events or the
directHit
param.IMPORTANT
Component - Add|Fix|Improve|Change|Make|Remove {changes}
.