ACE3/addons/medical_engine
SilentSpike 11547d7ff8
Fix environmental damage sources (#6515)
* Tidy handle damage code
* Fix environmental damage conditions

- Vehicle damage would never occur because it doesn't fire all the
hitpoints
- Missing sanity check on fall damage to check that unit isn't in a
vehicle
- Getting hit by a vehicle while on foot can be detected by checking for
a shooter

* Improve collision handling

- All collisions have a `_shooter` so we simply first check for that because burning doesn't and it could happen at any velocity
- We don't actually care what caused the collision because they should all cause the same type of wounding
- The exception is fall damage because we want to prioritise wounding the legs, we assume if the `_unit` had downward velocity and `_shooter == _unit` that it was fall damage (not necessarily always true, but almost always is and there doesn't look to be a more specific way to check).
2018-08-15 07:57:11 +01:00
..
functions Fix environmental damage sources (#6515) 2018-08-15 07:57:11 +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 Move scream and moan sounds to medical feedback (#6438) 2018-07-18 19:21:27 +01: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 Disable debugging (#6482) 2018-07-30 00:07:30 +02:00
script_macros_config.hpp Strip medical component (#6442) 2018-07-18 19:13:25 +01:00
script_macros_medical.hpp Minor code clean up (#6474) 2018-07-29 22:43:14 +01:00
XEH_postInit.sqf Ignore playable logic hitpoints (#6517) 2018-08-12 12:21:06 +01:00
XEH_preInit.sqf Move scream and moan sounds to medical feedback (#6438) 2018-07-18 19:21:27 +01:00
XEH_PREP.hpp Move scream and moan sounds to medical feedback (#6438) 2018-07-18 19:21:27 +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.