ACE3/addons/medical_engine
pterolatypus c949a07c83
Medical Engine - Apply damage to the correct hitpoint (#7415)
* HandleDamage uses armour values to determine which hitpoint was damaged

* Tidied up comments

* Newlines

* Tabs? In MY code?!

* Added uniform caching and option to force disable caching

* Review suggestions

* Review suggestions/code style

* Spelling and select

* Removed unnecessary validity check

* Apply suggestions from code review

Co-Authored-By: commy2 <commy-2@gmx.de>

* Tweaks and optimisations, removed _noCache

Also fixed cache nil vs empty

* Different approach with fewer loops
Lookup is now done per-hitpoint and default values cached
fnc_getItemArmor made a helper function as it's now only a few lines

* Tabs & newlines

* Moved uniform logic inside helper function

* Optimisations

* Tweaks & optimisations, improved formatting

* Ignore explosionShielding

* Moved getArmor back to separate func, add per-unit caching

* Formatting

* Review suggestions

Co-authored-by: commy2 <commy-2@gmx.de>
2020-02-28 17:54:53 +01:00
..
functions Medical Engine - Apply damage to the correct hitpoint (#7415) 2020-02-28 17:54:53 +01:00
$PBOPREFIX$ merge medical engine component into medical rewrite branch 2016-07-30 14:00:42 +02:00
CfgActions.hpp merge medical engine component into medical rewrite branch 2016-07-30 14:00:42 +02:00
CfgEventHandlers.hpp merge medical engine component into medical rewrite branch 2016-07-30 14:00:42 +02:00
CfgExtendedAnimation.hpp treatment functions and unconsciousness rework 2016-10-06 00:54:57 +02:00
CfgMoves.hpp simplify animations config 2018-07-21 09:16:05 +02:00
CfgVehicles.hpp Medical - fix the Enoch pilot uniform not taking damage, fix hitpoints test (#7527) 2020-02-16 18:34:46 -06:00
CfgWeapons.hpp merge medical engine component into medical rewrite branch 2016-07-30 14:00:42 +02:00
config.cpp Move scream and moan sounds to medical feedback (#6438) 2018-07-18 19:21:27 +01:00
README.md merge medical engine component into medical rewrite branch 2016-07-30 14:00:42 +02:00
script_component.hpp Medical Engine without parentheses 2019-06-18 16:03:21 +02:00
script_macros_config.hpp Strip medical component (#6442) 2018-07-18 19:13:25 +01:00
script_macros_medical.hpp Medical - Make some constants variables (#7236) 2019-10-20 11:14:31 -05:00
XEH_postInit.sqf Medical - Fix being stuck in unconscious animation after ragdoll (#7499) 2020-02-22 21:39:14 +01:00
XEH_preInit.sqf Medical Engine - Apply damage to the correct hitpoint (#7415) 2020-02-28 17:54:53 +01:00
XEH_PREP.hpp Medical Engine - Apply damage to the correct hitpoint (#7415) 2020-02-28 17:54:53 +01:00
XEH_preStart.sqf merge medical engine component into medical rewrite branch 2016-07-30 14:00:42 +02:00

ace_medical_engine

Links Arma 3 soldier health simulation to ACE medical system.

Maintainers

The people responsible for merging changes to this component or answering potential questions.