Skip to content

Medical AI - AI will remove tourniquets#10166

Merged
johnb432 merged 6 commits intomasterfrom
aiRemTq
Aug 11, 2024
Merged

Medical AI - AI will remove tourniquets#10166
johnb432 merged 6 commits intomasterfrom
aiRemTq

Conversation

@PabstMirror
Copy link
Copy Markdown
Contributor

Follow up to #10158

not sure if needed?
but AI would leave a tourniquete on forever and just endlessly pop morphine for the pain 😄

@PabstMirror PabstMirror added the ignore-changelog Release Notes: Excluded label Aug 5, 2024
@PabstMirror PabstMirror added this to the 3.18.0 milestone Aug 5, 2024
@johnb432
Copy link
Copy Markdown
Contributor

johnb432 commented Aug 6, 2024

Things that we can improve:

  1. If the injured has had too many drugs, the medic can't stabilise and remove the tourniquet.
  2. When waiting for drugs to take effect, the medic just waits and does nothing. It would be better to allow the medic to multitask by starting to stabilise the injured.
  3. Have the medic remove the tourniquet as soon as possible, instead of having to wait for all limbs to be stable before removing all tourniquets.

Imo, what would be nice to see implemented (I can do it, just tell me if you don't want to) is to have the unit first be woken up (so give epi), then remove the tourniquets and finally handle pain if necessary. It would mean that the tourniquets wouldn't be inducing more pain after morphine has been given.

* Fixes & tweaks

- Have AI remove tourniquets ASAP
- Fixed bug where AI would not remove tourniquet, because it didn't have any bandages
- Allowed for more multitasking

* Allow healer to administer morphine if out of bandages

* Remove TODO comment
@johnb432
Copy link
Copy Markdown
Contributor

Noticed that the AI won't remove tourniquets that are on "healthy" limbs (= no open wounds). I'm finding a solution as we speak.

Comment thread addons/medical_ai/functions/fnc_healingLogic.sqf Outdated
Copy link
Copy Markdown
Contributor

@johnb432 johnb432 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Comment thread addons/medical_ai/functions/fnc_healingLogic.sqf Outdated
@johnb432 johnb432 merged commit 0b4029b into master Aug 11, 2024
@johnb432 johnb432 deleted the aiRemTq branch August 11, 2024 07:19
blake8090 pushed a commit to blake8090/ACE3 that referenced this pull request Aug 18, 2024
* Medical AI - AI will remove tourniquets

* Medical AI - Improve tourniquet removal (for acemod#10166) (acemod#10178)

* Fixes & tweaks

- Have AI remove tourniquets ASAP
- Fixed bug where AI would not remove tourniquet, because it didn't have any bandages
- Allowed for more multitasking

* Allow healer to administer morphine if out of bandages

* Remove TODO comment

* Allow AI to remove tourniquets from limbs with no open wounds

* Update addons/medical_ai/functions/fnc_healingLogic.sqf

---------

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ignore-changelog Release Notes: Excluded

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants