Defibrillation for ACE Dev

by Hypoxic125
Defibrillation for ACE Dev

Summary

Alpha Candidate for ACE Anvil

Medical Defibrillation expands ACE Circulation by adding functional AEDs. Increase the chance of reviving with successful defibrillations.

Description

ACE Medical - Defibrillation System Alpha Candidate

Adds functional AEDs to ACE Circulation. Increase revive chance with successful defibrillations.

--------------------------------------------------------------------------------------------------
Current:
    - Automated External Defibrillators (AEDs)

Future:
   -  Use defibrillators from hands
    - ECG waveform generator and UI
    - Manual External Defibrillators

Patch Changes

    - Reworked revive bonus formula - shocks now stack with diminishing returns
    - Added time-based decay option - chance decreases the longer patient is in arrest
    - Shocks can fail - success chance drops if shocks are too close together (anti-spam)
    - Added 5 presets: Custom, Realistic, Casual, Hardcore, Arcade, TimeBased
    - Expanded debug UI with time in arrest tracking and live revive chance plot
    - New decay formulas: Exponential, Linear, Reciprocal, SCurve, TimeBased

--------------------------------------------------------------------------------------------------
Server Header Example (Copy And Paste)

"missionHeader": {
    "m_ACE_Settings": {
        "m_ACE_Medical_Defibrillation": {
            "m_bEnabled": true,
            "m_bDefibIsMandatory": false,
            "m_eDefibSettingPreset": 1,
            "m_fAED_AnalysisDuration": 3.0,
            "m_fAED_CPRCooldownDuration": 120.0,
            "m_bAED_PlayCPRPacingBeats": true,
            "m_bPunishSpamShocks": true,
            "m_fPunishSpamShocksTimeout": 108.0,
            "m_bShockChanceDecay": true,
            "m_fShockSuccessDecayRate": 0.92,
            "m_eShockDecayFormula": 0,
            "m_fBaseShockSuccessChance": 0.9,
            "m_fMinShockSuccessChance": 0.0,
            "m_bReviveBonusDecay": true,
            "m_fReviveBonusDecayRate": 0.85,
            "m_eReviveBonusDecayFormula": 0,
            "m_fBaseReviveBonus": 0.25,
            "m_fMaxTotalReviveBonus": 0.9
        }
    }
}

m_eDefibSettingPreset:

    0 = Custom
    1 = Realistic
    2 = Casual
    3 = Hardcore
    4 = Arcade
    5 = TimeBased

m_eShockDecayFormula / m_eReviveBonusDecayFormula:

    0 = Exponential
    1 = Linear
    2 = Reciprocal
    3 = SCurve
    4 = TimeBased

Optional: Make defibrillation mandatory for revive chance.

Note: Due to engine limitations, all settings must be explicitly defined in mission headers. Omitted values will default to 0/false.

--------------------------------------------------------------------------------------------------
Feedback Requests

    Is it fun? Does it improve gameplay?

    Crash logs

    Console feedback (cannot test myself)

--------------------------------------------------------------------------------------------------
Alpha version. Expect issues. PC only for now

License

ACE Anvil - An experimental realism mod for Arma Reforger
Copyright (C) 2024  acemod

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

When publishing a derivative of this product you may not use a name that
might create the impression that your version is an official release.

A full copy of this license can be found at the following address:
https://github.com/acemod/ACE-Anvil/blob/master/LICENSE.

Rating
100%
Version
0.0.6
Game Version
1.7.0.49
Version size
8.25 MB
Downloads
418
Created
08.06.2026
Last Modified
15.06.2026
ID
684892630C2DFCA1

Dependencies