Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Time calculation of NPWT is not working correctly #429

Closed
Nilia119 opened this issue Oct 20, 2023 · 0 comments · Fixed by #433
Closed

Time calculation of NPWT is not working correctly #429

Nilia119 opened this issue Oct 20, 2023 · 0 comments · Fixed by #433
Assignees
Labels

Comments

@Nilia119
Copy link
Contributor

Modlist and KAT Version will be auto extracted from your attached RPT
CBA
ACE
KAT

CBA Settings

CBA Settings
// ACE-Medicsystem
force force ace_medical_ai_enabledFor = 2;
force ace_medical_ai_requireItems = 0;
force force ace_medical_AIDamageThreshold = 0.8;
force force ace_medical_bleedingCoefficient = 0.5;
force ace_medical_blood_bloodLifetime = 900;
force force ace_medical_blood_enabledFor = 2;
force force ace_medical_blood_maxBloodObjects = 500;
force ace_medical_deathChance = 1;
force ace_medical_dropWeaponUnconsciousChance = 0;
force force ace_medical_enableVehicleCrashes = true;
force ace_medical_engine_damagePassThroughEffect = 1;
force force ace_medical_fatalDamageSource = 2;
ace_medical_feedback_bloodVolumeEffectType = 0;
force force ace_medical_feedback_enableHUDIndicators = true;
ace_medical_feedback_painEffectType = 0;
force force ace_medical_fractureChance = 0.6;
force force ace_medical_fractures = 2;
ace_medical_gui_bloodLossColor_0 = [0,0,0,1];
ace_medical_gui_bloodLossColor_1 = [1,0.95,0.64,1];
ace_medical_gui_bloodLossColor_2 = [1,0.87,0.46,1];
ace_medical_gui_bloodLossColor_3 = [1,0.8,0.33,1];
ace_medical_gui_bloodLossColor_4 = [1,0.72,0.24,1];
ace_medical_gui_bloodLossColor_5 = [1,0.63,0.15,1];
ace_medical_gui_bloodLossColor_6 = [1,0.54,0.08,1];
ace_medical_gui_bloodLossColor_7 = [1,0.43,0.02,1];
ace_medical_gui_bloodLossColor_8 = [1,0.3,0,1];
ace_medical_gui_bloodLossColor_9 = [1,0,0,1];
ace_medical_gui_bodyPartOutlineColor = [1,1,1,1];
ace_medical_gui_damageColor_0 = [0,0,0,1];
ace_medical_gui_damageColor_1 = [0.75,0.95,1,1];
ace_medical_gui_damageColor_2 = [0.62,0.86,1,1];
ace_medical_gui_damageColor_3 = [0.54,0.77,1,1];
ace_medical_gui_damageColor_4 = [0.48,0.67,1,1];
ace_medical_gui_damageColor_5 = [0.42,0.57,1,1];
ace_medical_gui_damageColor_6 = [0.37,0.47,1,1];
ace_medical_gui_damageColor_7 = [0.31,0.36,1,1];
ace_medical_gui_damageColor_8 = [0.22,0.23,1,1];
ace_medical_gui_damageColor_9 = [0,0,1,1];
ace_medical_gui_enableActions = 0;
force force ace_medical_gui_enableMedicalMenu = 1;
ace_medical_gui_enableSelfActions = true;
ace_medical_gui_interactionMenuShowTriage = 1;
force force ace_medical_gui_maxDistance = 4;
ace_medical_gui_openAfterTreatment = true;
force ace_medical_gui_peekMedicalInfoReleaseDelay = 1;
ace_medical_gui_peekMedicalOnHit = false;
force ace_medical_gui_peekMedicalOnHitDuration = 1;
force ace_medical_gui_showBloodlossEntry = true;
force ace_medical_gui_showDamageEntry = false;
ace_medical_gui_tourniquetWarning = false;
force force ace_medical_ivFlowRate = 1.3;
force force ace_medical_limping = 1;
force force ace_medical_painCoefficient = 0.7;
force ace_medical_painUnconsciousChance = 0.1;
force ace_medical_painUnconsciousThreshold = 0.5;
force force ace_medical_playerDamageThreshold = 2;
force force ace_medical_spontaneousWakeUpChance = 0.7;
force force ace_medical_spontaneousWakeUpEpinephrineBoost = 3.03885;
force force ace_medical_statemachine_AIUnconsciousness = true;
force ace_medical_statemachine_cardiacArrestBleedoutEnabled = false;
force force ace_medical_statemachine_cardiacArrestTime = 1800;
force force ace_medical_statemachine_fatalInjuriesAI = 2;
force force ace_medical_statemachine_fatalInjuriesPlayer = 2;
force force ace_medical_treatment_advancedBandages = 2;
force force ace_medical_treatment_advancedDiagnose = 1;
force force ace_medical_treatment_advancedMedication = true;
force ace_medical_treatment_allowBodyBagUnconscious = true;
force ace_medical_treatment_allowGraveDigging = 1;
force force ace_medical_treatment_allowLitterCreation = true;
force force ace_medical_treatment_allowSelfIV = 1;
force force ace_medical_treatment_allowSelfPAK = 1;
force force ace_medical_treatment_allowSelfStitch = 1;
force force ace_medical_treatment_allowSharedEquipment = 1;
force ace_medical_treatment_bandageEffectiveness = 1;
ace_medical_treatment_bandageRollover = true;
force ace_medical_treatment_clearTrauma = 0;
force force ace_medical_treatment_consumePAK = 1;
force force ace_medical_treatment_consumeSurgicalKit = 0;
force force ace_medical_treatment_convertItems = 0;
force ace_medical_treatment_cprSuccessChanceMax = 0.4;
force ace_medical_treatment_cprSuccessChanceMin = 0.4;
force ace_medical_treatment_graveDiggingMarker = true;
force ace_medical_treatment_holsterRequired = 0;
force force ace_medical_treatment_litterCleanupDelay = 600;
force force ace_medical_treatment_locationEpinephrine = 0;
force ace_medical_treatment_locationIV = 0;
force force ace_medical_treatment_locationPAK = 3;
force force ace_medical_treatment_locationsBoostTraining = true;
force force ace_medical_treatment_locationSurgicalKit = 0;
force force ace_medical_treatment_maxLitterObjects = 200;
force force ace_medical_treatment_medicEpinephrine = 0;
force force ace_medical_treatment_medicIV = 2;
force force ace_medical_treatment_medicPAK = 0;
force force ace_medical_treatment_medicSurgicalKit = 2;
force force ace_medical_treatment_timeCoefficientPAK = 1;
force ace_medical_treatment_treatmentTimeAutoinjector = 5;
force ace_medical_treatment_treatmentTimeBodyBag = 45;
force ace_medical_treatment_treatmentTimeCPR = 15;
force ace_medical_treatment_treatmentTimeGrave = 45;
force ace_medical_treatment_treatmentTimeIV = 12;
force ace_medical_treatment_treatmentTimeSplint = 7;
force ace_medical_treatment_treatmentTimeTourniquet = 7;
force force ace_medical_treatment_woundReopenChance = 0.6;
force force ace_medical_treatment_woundStitchTime = 5;

// Community Base Addons
cba_diagnostic_ConsoleIndentType = -1;
force cba_diagnostic_watchInfoRefreshRate = 0.2;
force force cba_disposable_dropUsedLauncher = 2;
force force cba_disposable_replaceDisposableLauncher = true;
cba_events_repetitionMode = 1;
force cba_network_loadoutValidation = 0;
cba_optics_usePipOptics = true;
cba_ui_notifyLifetime = 4;
cba_ui_StorePasswords = 1;

// KAT - ADV Medical: Airway
force force kat_airway_Accuvac_time = 8;
force force kat_airway_autoTriage = false;
force kat_airway_block_headTurning_ifAirwayItem = true;
force force kat_airway_CancelRecoveryPosition_Time = 6;
force force kat_airway_CheckAirway_time = 2;
force force kat_airway_checkbox_puking_sound = true;
force force kat_airway_enable = true;
force force kat_airway_Guedeltubus_time = 6;
force kat_airway_HeadTurn_Interval = 3;
force force kat_airway_Larynxtubus_time = 3;
force force kat_airway_medLvl_Accuvac = 1;
force force kat_airway_medLvl_Guedeltubus = 1;
force force kat_airway_medLvl_Larynxtubus = 1;
force kat_airway_occlusion_cooldownPeriod = 6;
force kat_airway_occlusion_repeatTimer = 60;
force force kat_airway_Overstretch_time = 3;
force force kat_airway_probability_headturning = 50;
force force kat_airway_probability_obstruction = 15;
force force kat_airway_probability_occluded = 10;
force force kat_airway_RecoveryPosition_Time = 6;
force force kat_airway_ReusableAirwayItems = true;
force force kat_airway_string_exit = "";

// KAT - ADV Medical: Breathing
force kat_breathing_advPtxChance = 5;
force kat_breathing_advPtxEnable = true;
force kat_breathing_BVMOxygen_Multiplier = 1;
force kat_breathing_clearChestSealAfterTreatment = false;
force kat_breathing_deepPenetratingInjuryChance = 30;
force kat_breathing_deterioratingPneumothorax_chance = 10;
force kat_breathing_deterioratingPneumothorax_interval = 60;
force force kat_breathing_enable = true;
force force kat_breathing_enable_selfChestseal = 1;
force kat_breathing_enableSPO2Flashing = true;
force kat_breathing_HPTXBleedAmount = 0.06;
force kat_breathing_hptxChance = 5;
force kat_breathing_inspectChest_enable = 2;
force kat_breathing_inspectChest_medLvl = 0;
force kat_breathing_inspectChest_time = 6;
force kat_breathing_locationProvideOxygen = 3;
force kat_breathing_lowSPO2Level = 90;
force kat_breathing_medLvl_BVM = 1;
force kat_breathing_medLvl_BVM_Oxygen = 2;
force force kat_breathing_medLvl_Chestseal = 0;
force force kat_breathing_medLvl_hemopneumothoraxTreatment = 2;
force kat_breathing_medLvl_PocketBVM = 0;
force force kat_breathing_medLvl_Pulseoximeter = 0;
force force kat_breathing_mildValue = 75;
force kat_breathing_PneumothoraxAlwaysVisible = false;
force kat_breathing_pneumothoraxChance = 5;
force force kat_breathing_pneumothoraxDamageThreshold = 0.4;
force kat_breathing_pneumothoraxDamageThreshold_TakenDamage = true;
force kat_breathing_PortableOxygenTank_RefillTime = 45;
force kat_breathing_PulseOximeter_SpO2Warning = 85;
force force kat_breathing_severeValue = 66;
force kat_breathing_showCyanosis = true;
force kat_breathing_showPneumothorax_dupe = true;
force force kat_breathing_slightValue = 90;
force force kat_breathing_SpO2_dieActive = true;
force force kat_breathing_SpO2_dieValue = 30.0517;
force force kat_breathing_SpO2_MultiplyNegative = 0.8;
force force kat_breathing_SpO2_MultiplyPositive = 2;
force force kat_breathing_SpO2_perfusion = true;
force kat_breathing_SpO2_PerfusionMultiplier = 1;
force force kat_breathing_SpO2_unconscious = 75;
force force kat_breathing_Stable_spo2 = 85;
force kat_breathing_staminaLossAtLowSPO2 = true;
force kat_breathing_stethoscopeListeningTime = 15;
kat_breathing_stethoscopeSoundVolume = 2;
force kat_breathing_TensionHemothoraxAlwaysVisible = false;

// KAT - ADV Medical: Chemical
force kat_chemical_affectAI = false;
force force kat_chemical_availGasmask = """G_AirPurifyingRespirator_01_F"",""M40_Gas_mask_nbc_green_k3_d"",""M40_Gas_mask_nbc_green_k4_d"",""M40_Gas_mask_nbc_green_k2_d"",""M40_Gas_mask_nbc_green_k1_d"",""jshk_contam_mask_m04_fleck_hood"",""jshk_cotam_mask_s10_fleck""";
force kat_chemical_gasmask_durability = 900;
force kat_chemical_infectionTime = 60;

// KAT - ADV Medical: Circulation
force force kat_circulation_AdvRhythm = true;
force kat_circulation_AdvRhythm_AED_ROSC_Chance = 50;
force kat_circulation_AdvRhythm_asystoleBloodlossThreshold = 3.6;
force kat_circulation_AdvRhythm_canDeteriorate = true;
force kat_circulation_AdvRhythm_CPR_ROSC_Chance = 5;
force kat_circulation_AdvRhythm_deteriorateAfterTreatment = true;
force kat_circulation_AdvRhythm_deteriorateTimeMax = 900;
force kat_circulation_AdvRhythm_deteriorateTimeWeight = 180;
force kat_circulation_AdvRhythm_Hardcore_Enable = false;
force kat_circulation_AdvRhythm_hardcoreDeteriorationChance = 10;
force kat_circulation_AdvRhythm_PEAChance = 50;
force kat_circulation_AdvRhythm_VTChance = 50;
force kat_circulation_AED_MaxChance = 50;
force kat_circulation_AED_MinChance = 1;
force kat_circulation_AED_X_MaxChance = 70;
force kat_circulation_AED_X_MinChance = 5;
force kat_circulation_AED_X_Monitor_SpO2Warning = 85;
force kat_circulation_AED_X_VitalsMonitor_BloodPressureInterval = 0;
force kat_circulation_AED_X_VitalsMonitor_BloodPressureInterval_Time = 30;
force kat_circulation_AED_X_VitalsMonitor_SoundsSelect = 1;
force kat_circulation_AEDX_VitalsMonitor_AttachTime = 6;
force kat_circulation_AEDX_VitalsMonitor_DetachTime = 3;
force force kat_circulation_blood_draw_limit = 3.6;
force force kat_circulation_blood_drawTime_250ml = 25;
force force kat_circulation_blood_drawTime_500ml = 50;
force force kat_circulation_bloodGroups = true;
force kat_circulation_bloodTypeCustomList = "O,O,A,A,O_N,B,A_N,AB,B_N,AB_N";
force kat_circulation_bloodTypeRandomWeighted = true;
force kat_circulation_bloodTypeSetting = 4;
kat_circulation_bloodTypeSettingPlayer = "O_N";
force kat_circulation_cardiacArrestBleedRate = 0.05;
force kat_circulation_CPR_ChanceInterval = 15;
force kat_circulation_CPR_MaxChance_Default = 20;
force kat_circulation_CPR_MaxChance_Doctor = 30;
force kat_circulation_CPR_MaxChance_RegularMedic = 20;
force kat_circulation_CPR_MinChance_Default = 10;
force kat_circulation_CPR_MinChance_Doctor = 5;
force kat_circulation_CPR_MinChance_RegularMedic = 0;
force kat_circulation_CPR_OxygenationPeriod = 15;
force kat_circulation_Defibrillator_DistanceLimit = 6;
force kat_circulation_DefibrillatorPads_AttachTime = 6;
force kat_circulation_DefibrillatorPads_DetachTime = 3;
force force kat_circulation_enable = true;
force force kat_circulation_enable_CPR_Chances = true;
force force kat_circulation_enable_selfBloodDraw = 1;
force force kat_circulation_medLvl_AED = 0;
force kat_circulation_medLvl_AED_Station_Interact = 0;
force force kat_circulation_medLvl_AED_X = 1;
force force kat_circulation_useLocation_AED = 0;

// KAT - ADV Medical: GUI
force kat_gui_ColoredLogs = true;
kat_gui_overlayBodyPart = false;
force kat_gui_showBleedRate = false;
force kat_gui_showInactiveStatuses = false;
kat_gui_showPatientSideLabels = false;

// KAT - ADV Medical: Misc
force kat_misc_allowSharedVehicleEquipment = 1;
kat_misc_armbandSlingLeftArm = "0.2,-0.39,-0.2";
kat_misc_armbandSlingLeftArmRotation = "240,33,26";
kat_misc_armbandSlingLeftLeg = "0.435,-0.075,-0.38";
kat_misc_armbandSlingLeftLegRotation = "-160,-5,45";
kat_misc_armbandSlingRightArm = "-0.228,-0.1,-0.43";
kat_misc_armbandSlingRightArmRotation = "5,-5,-5";
kat_misc_armbandSlingRightLeg = "-0.32,-0.29,-0.42";
kat_misc_armbandSlingRightLegRotation = "-30,-5,38";
force force kat_misc_enable = true;
force kat_misc_incompatibilityWarning = true;
force kat_misc_neckTourniquet = false;
force kat_misc_treatmentTimeDetachTourniquet = 7;

// KAT - ADV Medical: Pharmacy
force kat_pharma_blockChance = 20;
force kat_pharma_carbonateChance = 100;
force kat_pharma_chromatic_aberration_checkbox_fentanyl = true;
force kat_pharma_chromatic_aberration_checkbox_ketamine = true;
force kat_pharma_chromatic_aberration_checkbox_pervitin = true;
force kat_pharma_chromatic_aberration_slider_fentanyl = 1;
force kat_pharma_chromatic_aberration_slider_ketamine = 0.8;
force kat_pharma_chromatic_aberration_slider_pervitin = 4.98637;
force kat_pharma_coagulation = true;
force kat_pharma_ivCheckLimbDamage = true;
force force kat_pharma_IVdrop = 600;
force force kat_pharma_IVdropEnable = false;
force force kat_pharma_IVreuse = true;
force kat_pharma_kidneyAction = true;
force kat_pharma_MedicationsRequireInsIV = true;
force kat_pharma_medLvl_Amiodarone = 1;
force kat_pharma_medLvl_ApplyIO = 2;
force kat_pharma_medLvl_ApplyIV = 1;
force kat_pharma_medLvl_Atropine = 1;
force kat_pharma_medLvl_Carbonate = 0;
force kat_pharma_medLvl_EACA = 1;
force kat_pharma_medLvl_Etomidate = 2;
force kat_pharma_medLvl_Fentanyl = 2;
force kat_pharma_medLvl_Flumezenil = 2;
force kat_pharma_medLvl_Ketamine = 2;
force kat_pharma_medLvl_Lidocaine = 2;
force kat_pharma_medLvl_Lorazepam = 2;
force kat_pharma_medLvl_Nalbuphine = 1;
force kat_pharma_medLvl_Naloxone = 0;
force kat_pharma_medLvl_Nitroglycerin = 1;
force kat_pharma_medLvl_Norepinephrine = 1;
force kat_pharma_medLvl_Penthrox = 0;
force kat_pharma_medLvl_Pervitin = 0;
force kat_pharma_medLvl_Phenylephrine = 1;
force force kat_pharma_medLvl_Reorientation = 0;
force kat_pharma_medLvl_TXA = 1;
force kat_pharma_pervitinSpeed = 1.5;
force force kat_pharma_Reorientation_Enable = true;
force force kat_pharma_Reorientation_Slap = true;
force kat_pharma_reorientationChance = 100;
force force kat_pharma_RequireInsIV = true;
force kat_pharma_staminaMedication = false;
force kat_pharma_treatmentTime_Amiodarone = 7;
force kat_pharma_treatmentTime_ApplyIO = 7;
force kat_pharma_treatmentTime_ApplyIV = 7;
force kat_pharma_treatmentTime_Atropine = 7;
force kat_pharma_treatmentTime_Carbonate = 7;
force kat_pharma_treatmentTime_EACA = 7;
force kat_pharma_treatmentTime_Etomidate = 2;
force kat_pharma_treatmentTime_Fentanyl = 7;
force kat_pharma_treatmentTime_Flumazenil = 2;
force kat_pharma_treatmentTime_Ketamine = 7;
force kat_pharma_treatmentTime_Lidocaine = 7;
force kat_pharma_treatmentTime_Lorazepam = 2;
force kat_pharma_treatmentTime_Nalbuphine = 7;
force kat_pharma_treatmentTime_Naloxone = 7;
force kat_pharma_treatmentTime_Nitroglycerin = 7;
force kat_pharma_treatmentTime_Norepinephrine = 7;
force kat_pharma_treatmentTime_Penthrox = 8;
force kat_pharma_treatmentTime_Pervitin = 5;
force kat_pharma_treatmentTime_Phenylephrine = 7;
force kat_pharma_treatmentTime_Reorientation = 2;
force kat_pharma_treatmentTime_TXA = 7;
force kat_pharma_weapon_sway_pervitin = true;

// KAT - ADV Medical: Surgery
force kat_surgery_closedLocation = 0;
force kat_surgery_closedReduction_MedLevel = 2;
force kat_surgery_closedReductionFailChance = 10;
force kat_surgery_closedTime = 10;
force kat_surgery_compoundChance = 29.9874;
force kat_surgery_debridementAction_Location = 0;
force kat_surgery_debridementAction_MedLevel = 2;
force kat_surgery_enable_fracture = true;
force kat_surgery_enable_selfCheckFracture = 1;
force kat_surgery_etomidateTime = 60.1182;
force kat_surgery_fractureCheck_MedLevel = 1;
force kat_surgery_fractureCheck_Time = 10;
force kat_surgery_incisionTime = 10;
force kat_surgery_intermediateTime = 8;
force kat_surgery_npwtTime = 20;
force kat_surgery_openTime = 15;
force kat_surgery_simpleChance = 60;
force kat_surgery_Surgery_ConsciousnessRequirement = 1;
force kat_surgery_surgicalAction_MedLevel = 2;
force kat_surgery_surgicalLocation = 0;
force kat_surgery_woundDebrideTime = 5;

Description:

  • When using the NPWT Dressing, a time is shown (wounds * Basetime), but it automatically stops after the Base time is over (kat_surgery_npwtTime)
  • E.g. You have five wounds, the NPWT takes 20 seconds, the progress bar shows 100 seconds. After 20 Seconds, it finishes. All wounds are treated. Either it is intended to do that, then the time in the progress bar is off, or it is intended to calculate per wound.

Steps to reproduce:
Add the steps needed to reproduce the issue.

  1. Spawn AI
  2. Shoot AI
  3. Examine on Damaged body part and use NPWT Dressing on it
    3a. Change time of NPWT application time and nothing changes (Description).

Where did the issue occur?

  • Dedicated / Self-Hosted Multiplayer / Singleplayer (I did not test that!) / Editor (Multiplayer) / Virtual Arsenal

Additional information:
none

RPT log file:
Arma3_x64_2023-10-20_17-17-03.rpt.txt

@BlueTheKing BlueTheKing self-assigned this Oct 20, 2023
MiszczuZPolski pushed a commit that referenced this issue Nov 2, 2023
**When merged this pull request will:**
- Prevent being able to manually charge AED-X without pads attached
- Fix onOverDose not working
- Make medical menu item count hint include magazine items
- Fix NPWT treatment time, closes #429 
- Make TXA/EACA work wound by wound like before
- Move IV/IO retrieval action to advanced treatment tab

### IMPORTANT

- [Development Guidelines](https://ace3.acemod.org/wiki/development/)
are read, understood and applied.
- Title of this PR uses our standard template `Component -
Add|Fix|Improve|Change|Make|Remove {changes}`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants