Skip to content

Medical

ACE Medical in its first iteration tries to address some of the shortcomings of the vanilla medical system: Most notably that players die too easily and get healed too fast. The former is addressed by introducing a second chance that keeps players from dying outright without falling unconscious. The latter is addressed by removing the healing effect of morphine, which in return increases the importance of medical kits.

Other features:

  • Wounds can cause pain, which is visible through a white flash screen effect and can be treated with morphine.
  • Epinephrine injector (yellow cap), which speeds up wake-up of incapacitated units.
  • Supply usage of medical kits and healing power outside of medical facilities can be configured by the server (see Settings)

Note that ACE Medical currently only affects players, but not AI.

Second Chance

Second chance gets triggered when a player would have been killed without falling unconscious first. Instead of dying, the player will stay alive with 1 HP. On the other hand, they can only wake up from this state when epinephrine is administered (Automatic wake-up can be enabled by changing m_fSecondChanceRegenScale to a value above zero). Second chance is deactivated for headshots by default.

Settings

Certain aspects of the medical system can be configured in the mission header section of a server config file. An overview of available fields is given below in the table:

FieldTypeDefaultDescription
m_fSecondChanceRegenScalefloat0.0Scales the unconsciousness recovery rate when second chance was triggered. The default recovery rate (full recovery in 20 s) will be multiplied by this factor. Note that recovery only starts 10 s after the last incoming damage.
m_bSecondChanceOnHeadEnabledbool*falseEnables second chance on headshots.
m_bHealSupplyUsageEnabledbool*trueHealing consumes supplies when enabled. Ignored when global supply usage is disabled.
m_fMedicalKitMaxHealScaledfloat0.5Maximum scaled health (from 0.0 to 1.0) that a medical kit can heal outside of medical facilities.

* Note that bool has to be provided as integer in the config: 1 (true) or 0 (false).

Example for the missionHeader in a server config:

"missionHeader": {
"m_ACE_Settings": {
"m_ACE_Medical_Settings": {
"m_fSecondChanceRegenScale": 0.025,
"m_bSecondChanceOnHeadEnabled": 1,
"m_bHealSupplyUsageEnabled": 0,
"m_fMedicalKitMaxHealScaled": 1.0
}
}
}