Giter Site home page Giter Site logo

adv_medical's People

Contributors

pergor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

adv_medical's Issues

RPT spam

Hi Belbo,

I noticed a minor error in fn_actionCheckPulseLocal.sqf that leads to RPT spam whenever you check someone's pulse. It will spam string %1 checked Heart Rate: %2 not found to the RPT 30 or so times over 5 seconds.

I'm not great at github so please forgive me.

[_unit,"activity", localize "STR_ACE_Medical_Check_Pulse_Log",[[_caller] call ace_common_fnc_getName,_logOutPut]] call ace_medical_fnc_addToLog;

[_unit,"quick_view", localize "STR_ACE_Medical_Check_Pulse_Log",[[_caller] call ace_common_fnc_getName,_logOutPut]] call ace_medical_fnc_addToLog;

The word localize isn't required in lines 67 or 68, the ACE function handles localization, you just tell the ACE function which string to use.

[_unit,"activity", "STR_ACE_Medical_Check_Pulse_Log",[[_caller] call ace_common_fnc_getName,_logOutPut]] call ace_medical_fnc_addToLog;
[_unit,"quick_view", "STR_ACE_Medical_Check_Pulse_Log",[[_caller] call ace_common_fnc_getName,_logOutPut]] call ace_medical_fnc_addToLog;

[Steam 1.5.6] CPR doesn't seem to do anything.

From what I understood CPR with this mod is supposed to function like epinephrine regarding the revive state. I've done testing where I've turned on basic medical with revive on, and then shot an AI until he was not functional. I then bandaged, gave blood, and removed pain from the AI unit, and set the CPR chance to 100 prior to testing. Upon giving CPR, the AI Unit simply stood laying on the ground.

How is this mod supposed to work exactly regarding CPR?

Possible death of patients after successfull CPR.

As SnakeDocc wrote:
https://forums.bohemia.net/forums/topic/203195-adv-ace-cpr/?do=findComment&comment=3291793

Hey I've been getting some odd issues with CPR recently.

When you perform CPR successfully and stabilize your patient they sometimes wake up and then get killed to the ace spectator screen a second or two later.

I'm still trying to understand what causes it but it I think it only happens to non-medics who successfully perform CPR.

Only other thing I've noticed is I think when it does happen, at some point during the treatment of open wounds, they twitch awake for half a second, then later when you successfully perform CPR they wake up and get killed to ace spec.

Question: Any way to remove class restriction?

Hi man

very nice work with this mod! Is there any way to remove the class restriction for the defibrillator usage?
I'm playing with a small group of people and when playing workshop maps, we often struggle to find a medic slot..

Thanks

CPR Limbo

Our unit plays older decades where combat medics don't have defibs.

The ADV setting "Maximum Time for successful CPR" (default 1200 seconds) is pinned to the Ace Medical setting "Maximum Revive Time" -- Additionally, the "Seconds added to revive timer (+/- 3 seconds)" for CPR is minimum 15 seconds.

This means that in many cases, especially with multiple people doing CPR, if there is no defib it can get people stuck in a deathless limbo revive state where CPR will keep them alive but they can never be revived due to the patient having passed the Ace Revive timer which is tied to the Maximum Time for successful CPR... which has been exceeded by seconds added to revive through CPR.

I can see a few possible ways around this...

  1. Add a checkbox to decouple "Maximum time for CPR" from "Max Revive Time" so that the maximum time for CPR can be higher than Max Revive Time so that it's unlikely for players to get stuck in this CPR-Limbo.

  2. Allow the "Seconds added to revive timer" to go all the way down to 0 seconds so that CPR doesn't keep people alive beyond the point that they could be revived without a defib.

Revive not working

Hi there,

We were testing the revive function and we had an issue.
We could get someone back from having no heart rate, and an extremely low blood pressure back to standard using the defibrillator and blood (as you normally would). Once the person was stablised, they wouldn't wake up. We had to use a PAK to wake them.

Thanks 👍

Here are my settings:
// ADV - ACE CPR force force adv_aceCPR_addTime = 20; force force adv_aceCPR_AED_stationType = """Land_Defibrillator_F"""; force force adv_aceCPR_chance_0 = 3; force force adv_aceCPR_chance_1 = 10; force force adv_aceCPR_chance_2 = 20; force force adv_aceCPR_chance_aed = 85; force force adv_aceCPR_enable = true; force force adv_aceCPR_maxTime = 1200; force force adv_aceCPR_useLocation_AED = 0;

// ACE Medical force force ace_medical_ai_enabledFor = 2; force force ace_medical_AIDamageThreshold = 1; force force ace_medical_allowLitterCreation = true; force force ace_medical_allowUnconsciousAnimationOnTreatment = false; force force ace_medical_amountOfReviveLives = -1; force force ace_medical_bleedingCoefficient = 1; force force ace_medical_blood_enabledFor = 2; force force ace_medical_consumeItem_PAK = 1; force force ace_medical_consumeItem_SurgicalKit = 0; force force ace_medical_delayUnconCaptive = 3; force force ace_medical_enableAdvancedWounds = true; force force ace_medical_enableFor = 0; force force ace_medical_enableOverdosing = true; force force ace_medical_enableRevive = 1; force force ace_medical_enableScreams = true; force force ace_medical_enableUnconsciousnessAI = 1; force force ace_medical_enableVehicleCrashes = true; force force ace_medical_healHitPointAfterAdvBandage = false; force force ace_medical_increaseTrainingInLocations = false; force force ace_medical_keepLocalSettingsSynced = true; force force ace_medical_level = 2; force force ace_medical_litterCleanUpDelay = 0; force force ace_medical_litterSimulationDetail = 2; force force ace_medical_maxReviveTime = 480; force force ace_medical_medicSetting = 2; force force ace_medical_medicSetting_basicEpi = 1; force force ace_medical_medicSetting_PAK = 2; force force ace_medical_medicSetting_SurgicalKit = 2; force force ace_medical_menu_allow = 1; force force ace_medical_menu_maxRange = 3; force force ace_medical_menu_openAfterTreatment = true; force force ace_medical_menu_useMenu = 1; force force ace_medical_menuTypeStyle = 0; force force ace_medical_moveUnitsFromGroupOnUnconscious = false; force force ace_medical_painCoefficient = 1; ace_medical_painEffectType = 1; force force ace_medical_painIsOnlySuppressed = true; force force ace_medical_playerDamageThreshold = 1; force force ace_medical_preventInstaDeath = true; force force ace_medical_remoteControlledAI = true; force force ace_medical_useCondition_PAK = 1; force force ace_medical_useCondition_SurgicalKit = 1; force force ace_medical_useLocation_basicEpi = 0; force force ace_medical_useLocation_PAK = 2; force force ace_medical_useLocation_SurgicalKit = 0;

Not Really a Issue but a question

private _gotEpi = _target getVariable ["ace_medical_epinephrine_insystem",0];
if ( _gotEpi > 0 ) then {
private _probabilityGain = 20*_gotEpi;
_probability = _probability + (round _probabilityGain);
//diagnostics:
[_caller,format ["probability has been raised by %1 due to epinephrine. New probability is %2",_probabilityGain,_probability]] call adv_aceCPR_fnc_diag;
};

Hey, I try to understand Epi effects CPR at all. If i got 12% chance of success how much gain I got out of 1 and 2 epi´s?

ACE and Real Life

Hi there

I have been a paramedic for a number of years, have a degree in Emergency Medicine and Rescue. Just wanted to give some feedback regarding some of the ACE Medical procedures:

  • For a resus (patient unconscious with no heart rate) I think the procedure should be the following to revive them:
  1. Establish the patient is in a unconscious and no heart rate state
  2. As the patient is in this state due to bleeding and hence hypovolaemic shock, wounds should be bandaged first to stop the bleeding
  3. An Infusion of some kind need to happen before the patient goes in a state where he can be revived
  4. CPR should be performed to prolong the revivable state
  5. After the IV and Bandages, the patient is now in a revivale state. It is virtually impossible to revive someone with only CPR and Epinephrine.

A sequence of Shocks via a defibrilator should be delivered to get the heart started at 360J
For ingame I would suggest:

  1. Deliver 1st Shock (25% chance of revival)
  2. Give epinephrine
  3. Deliver 2nd Shock (50% chance of revival)
  4. Give Epinephrine
  5. Deliver 3rd Shock (75% chance of revival)
  6. Give Amiodorone, as the patient is now in a persistant Ventricular Fibrilation.
  7. Deliver 4th Shock (100% chance of revival)

Adenosine does not slow the heart, it actually stops the heart for 10 seconds. This is usually a treatment for a very specific supraventricular tachycardia and is not useful in a trauma case. Atropine does not slow the heart, it actually increases the heart rate by blocking the parasympathetic nervous system. Also never used in a trauma case.

Epinephrine by injection should not be used to increase the BP. If given via IV, it will probably kill a live patient, and given IntraMuscular (like we do in ARMA) it is almost impossible to know what the effect is. I would recommend that BP can be increased by IV. Epinephrine can be used to increase BP, but only if you titrate it through an IV and can manage it per drop rate.

ACE Medical is a great MOD! Keep up the good work!

Feature Request: Ability to turn off mod functionality in CBA Settings

The ability to turn off the functionality of advCPR and advSplint would be useful for units like mine where we require different settings/functionality for each server but try and keep the mods uniform to avoid player confusion.

For example, it is possible to completely disable Ace's medical system without removing the PBO

Wounded stable and healthy vitals not waking up

im not 100% sure which is the possible cause, however i got to start somewhere right?

Have you had any issues of the wounded being treated and stable (healthy heart and blood pressure / no pain etc) will not wake up from revive state. Unsure why.

before this mod our unit used PAK's in the field but its happened twice on 2 different occasions.

using latest cpr mod dated 25/5/18 off steam workshop
using ACE/rhs mainly also your splint mod.

BELOW ARE THE CURRENT SETTINGS OUR SERVER USES.

// ACE Medical      
force ace_medical_ai_enabledFor = 2;      
force ace_medical_AIDamageThreshold = 0.8;      
force ace_medical_allowLitterCreation = true;      
force ace_medical_allowUnconsciousAnimationOnTreatment = true;      
force ace_medical_amountOfReviveLives = -1;      
force ace_medical_bleedingCoefficient = 1.2;      
force ace_medical_blood_enabledFor = 2;      
force ace_medical_consumeItem_PAK = 1;      
force ace_medical_consumeItem_SurgicalKit = 0;      
force ace_medical_delayUnconCaptive = 3;      
force ace_medical_enableAdvancedWounds = true;      
force ace_medical_enableFor = 1;      
force ace_medical_enableOverdosing = true;      
force ace_medical_enableRevive = 1;      
force ace_medical_enableScreams = true;      
force ace_medical_enableUnconsciousnessAI = 0;      
force ace_medical_enableVehicleCrashes = true;      
force ace_medical_healHitPointAfterAdvBandage = false;      
force ace_medical_increaseTrainingInLocations = false;      
force ace_medical_keepLocalSettingsSynced = true;      
force ace_medical_level = 2;      
force ace_medical_litterCleanUpDelay = 300;      
force ace_medical_litterSimulationDetail = 4;      
force ace_medical_maxReviveTime = 450;      
force ace_medical_medicSetting = 2;      
force ace_medical_medicSetting_basicEpi = 0;      
force ace_medical_medicSetting_PAK = 1;      
force ace_medical_medicSetting_SurgicalKit = 1;      
force ace_medical_menu_allow = 1;      
force ace_medical_menu_maxRange = 3.47594;      
force ace_medical_menu_openAfterTreatment = true;      
force ace_medical_menu_useMenu = 1;      
force ace_medical_menuTypeStyle = 1;      
force ace_medical_moveUnitsFromGroupOnUnconscious = false;      
force ace_medical_painCoefficient = 1.2;      
ace_medical_painEffectType = 1;      
force ace_medical_painIsOnlySuppressed = true;      
force ace_medical_playerDamageThreshold = 1.4;      
force ace_medical_preventInstaDeath = true;      
force ace_medical_remoteControlledAI = true;      
force ace_medical_useCondition_PAK = 1;      
force ace_medical_useCondition_SurgicalKit = 0;      
force ace_medical_useLocation_basicEpi = 0;      
force ace_medical_useLocation_PAK = 2;      
force ace_medical_useLocation_SurgicalKit = 0;      
// ADV - ACE CPR    
force adv_aceCPR_addTime = 20;    
force adv_aceCPR_chance_0 = 14.7059;    
force adv_aceCPR_chance_1 = 15;    
force adv_aceCPR_chance_2 = 14.7059;    
force adv_aceCPR_chance_aed = 39.9584;    
force adv_aceCPR_enable = true;    
force adv_aceCPR_maxTime = 600;    

AED Station can't handle the item

Description
If you leave the AED Item on the ground, it will bring up a AED Station. But if you take it again and the weapon ground holder is not empty, you can still use the station at the weapon holder.

Limb checkup feature

IRL, standard procedures regarding first aid checkup with traumatic concept involved, include a limb analysis for all 4 members on both sensibility and mobility. This allows first aid teams to hasty identify potential limb injuries that have mobility consequences. It would be nice to provide a simple (but perhaps lengthy) limb analysis that would display whether each limb has a traumatic wound (when damage is above threshold) or not. This feature shall be added to in the heart frequency / blood pressure / consciousness test menu.

This would allow first aid respondents to tell whether victims needs a splint or not. For lower members its easy to detect, as victims will then limb. Regarding arms, the diagnostic relies on the victim's ability to differentiate aiming precision which is usually somewhat limited to experienced ACE players.

Splints not falling off

Tested with usual modset but also with just ACE, CBA and splint loaded, replicated in editor as well as local host settings.

Splint does not fall off after set time, when either or both reopen chances are set up to 100%, and the reuse probability is 0%.

The limb remains splinted and minus the broken effect, well past the set reopen time.

Status of IVs during AED or CPR

Apparently IVs running through are being deleted after AED or CPR action.
Could not yet reproduce or find an error.
But I'm looking into it.

Will AED implementation use times limit ?

Will AED implementation use times limit ?
Because in real world, the AED need battery to power it up, so I think you can implementation use times limit into CBA setting to let people adjust this limit.
(For example: if I set to 10 times, the AED need to recharge after use more than that number.)

What are you think ? :)

Pull requests

Hi friend,

Great work, a much needed addition! My unit is switching to this and entirely replacing PAK with it.

Are you accepting pull requests or just feature requests?

Thanks
Cyp

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.