ACE3/addons/medical_damage
SilentSpike 8483a4bcdc Medical - Fix severity of wound bleeding and adjust cardiac output calculations (#7010)
* Fix severity of wound bleeding

I'm simplifying the nastiness calculations so that the wound config
specifies the worst wound and we scale it between 25% to 100% based
on the wound damage and number of wounds recieved.

Similarly I've updated the wound configs to more reasonable maximum
bleeding values based on the fact that they're percentages of cardiac
output being bled.

* Limit variance of pain modifier

This is to avoid unexpectedly high pain for small wounds or unexpectedly
small pain for large wounds

* Make more wounds increase chance for nastiness

Rather than guarantee

* Adjust worst damage scaling

This handles torso wounds better as they're typically around 0.3-0.6 for
6.5mm shots which makes them roughly medium sized.

* Fix cardiac output calculation

Previously the calculation didn't make sense as it wasn't outputting
a value in l/s. This method of calculation makes more logical sense and
provides a point of reference for what the bleeding values actually
represent (percentage of the blood being pumped that is lost - which now
has an actual volumetric value).

* Fix blood pressure after change to cardiac output

* Fix heartrate skyrocketing between 5l and 4l blood

Pretty sure someone accidnentally got these conditions the wrong way
around. This way blood pressure will first drop and then heart rate will
later go up to compensate.

* Fix comment typo

Co-Authored-By: PabstMirror <pabstmirror@gmail.com>
2019-06-10 11:23:21 -05:00
..
functions Medical - Fix severity of wound bleeding and adjust cardiac output calculations (#7010) 2019-06-10 11:23:21 -05:00
$PBOPREFIX$ Add first step in medical rewrite 2016-06-30 17:33:29 +02:00
ACE_Medical_Injuries.hpp Medical - Fix severity of wound bleeding and adjust cardiac output calculations (#7010) 2019-06-10 11:23:21 -05:00
ACE_Settings.hpp move settings to sqf 2019-03-24 00:37:39 -05:00
CfgEventHandlers.hpp integrate medical-engine handledamage into medical-damage component 2016-08-27 09:39:24 +02:00
config.cpp Move medical settings into their respective components (#6493) 2018-08-06 17:08:43 +01:00
initSettings.sqf Medical Treatment - Modernize and Cleanup (#6933) 2019-06-03 10:31:46 -05:00
script_component.hpp Medical - Improve adjustment calcs / wound blood loss / medications (#6910) 2019-04-27 14:12:11 -05:00
stringtable.xml Translations - German (#6920) 2019-06-08 10:35:42 -05:00
XEH_preInit.sqf Limping / Splint Treatment (#6947) 2019-05-11 23:13:59 -05:00
XEH_PREP.hpp Strip medical component (#6442) 2018-07-18 19:13:25 +01:00
XEH_preStart.sqf Add first step in medical rewrite 2016-06-30 17:33:29 +02:00