ACE3 icon indicating copy to clipboard operation
ACE3 copied to clipboard

People don't wake up from unconsciousness

Open Brumes-Wolf opened this issue 6 years ago • 20 comments

Is your enhancement related to a problem? Unlike before the rewrite people/AI seem to never wake up on their own, and also seem to go uncon quite easily

Solution you'd like: A setting or toggle that allows people to wake up when they are not stable.

Additional context: For a small non milsim group having people be forced to respawn as soon as they go uncon is not very fun nor good gameplay. The previous system of people waking up on their own if they weren't very damaged worked better for this use case.

Brumes-Wolf avatar Jan 03 '20 15:01 Brumes-Wolf

Can you adjust the "seem to go uncon quite easily" by adjusting this setting? Uncon set

Does the epipen not help with the chance of waking up? Especially if you adjust this setting higher? Epi set

Bummeri avatar Jan 03 '20 16:01 Bummeri

I adjusted the unconsciousness wake up chance to 1.0 and people still did not seem to wake up. I have not tried changing the pain coefficient yet, nor did I change the Epi wake up chance. I will try these sometime soon.

But my main request here is for people to be able to wake up on their own without help from others. so epipens aren't relevant to that.

Brumes-Wolf avatar Jan 03 '20 17:01 Brumes-Wolf

I adjusted the unconsciousness wake up chance to 1.0 and people still did not seem to wake up.

I guess the unit cannot wake up since it:

  • Is bleeding still too much
  • Has lost too much blood
  • Is in too much pain

I dont think bleeding slows on its own? Does pain go down on its own?

It might be that the system does not permit any random wakeups if nothing is made to assist the uncon unit?

Bummeri avatar Jan 03 '20 20:01 Bummeri

I adjusted the unconsciousness wake up chance to 1.0 and people still did not seem to wake up.

I guess the unit cannot wake up since it:

  • Is bleeding still too much
  • Has lost too much blood
  • Is in too much pain

I dont think bleeding slows on its own? Does pain go down on its own?

It might be that the system does not permit any random wakeups if nothing is made to assist the uncon unit?

What I meant is that previously units could randomly wake up without assistance if they were hit only a few times and didn't lost too much blood previously. I would like a settings to return this behavior to the rewrite version

Brumes-Wolf avatar Jan 03 '20 23:01 Brumes-Wolf

I think the default random wakeup chance is too low? With advanced medication you seem to basically have to wait for it, and it has only a 5% chance, checked every 15 seconds. you can give epi, but epi boost by default is 100%, so.. none.

just tried on an AI, bandaged all wounds, no pain, full blood, epi in system, pulse 70, no wakeup. increased wakeup chance from 5% to 50%., woke up after ~20 seconds,

But pushing the wakeup chance up, works for me.

dedmen avatar Jan 03 '20 23:01 dedmen

With wakeup chance at 1.0. People still don't wake up on their own. But i am talking about people who are NOT stable. So they have not been bandaged or given blood or given epi. In the old system those people would wake up on their own, now they don't.

Brumes-Wolf avatar Jan 03 '20 23:01 Brumes-Wolf

I will add to this that over a few hours of playtime with our group, there was not one instance of spontaneous waking up as was the case before...this means that as people start to go down, and with the new procedures to wake people up taking more time rather than being able to force lightly wounded persons up with a shot of epi, it started a death spiral and we were always overrun...

TBH I think we are going to simply downgrade ace until there are better parameters to control the medical rewrite because this is unplayable for small group sizes with only one or two medics.

Rod6er avatar Jan 05 '20 10:01 Rod6er

We have no medics, means everyone just force respawns when they get knocked. We already downgraded because of the many issues there are now.

Brumes-Wolf avatar Jan 05 '20 10:01 Brumes-Wolf

I think "Epinephrine Increases Wake Up Chance" is a multiplyer. This is why range is 1-30.

If your base chance ("Uncon Wake Up Chance") is 10%, you want the multiplyer to be 10x. 10%*10 = 100%.

commy2 avatar Jan 05 '20 19:01 commy2

We've got it set to the max (30).

Rod6er avatar Jan 05 '20 19:01 Rod6er

Regardless my suggestion/request has nothing to do with epinephrine. My request is for a toggle allowing people to wake up without any help or treatment, like in the pre rewrite system.

Brumes-Wolf avatar Jan 05 '20 22:01 Brumes-Wolf

It would perhaps help if you had an untreated multi in addition to the existing epi multi. So everyone can set it according to their own preferences.

As an example: chance to wake up 0.05 (5%) epi given multi of 5.0 (25%) untreated give multi of 0.2 (1%)

The new multi should then have a range between 0 and 1.

psYGer avatar Jan 08 '20 07:01 psYGer

Using the function ace_medical_fnc_setUnconscious I can set myself unconscious, and then wake myself up. I will also wake up according to the spontaneous chance set in the settings. However, if I get shot, I will not wake up on my own and trying to use this function does nothing, despite returning true.

I would guess this is related; whatever normal mechanism there is for forcing a unit unconscious or awake is bypassed when falling unconscious immediately due to shock. But I'm not certain what's actually going on.

DylanFrese avatar Feb 13 '20 06:02 DylanFrese

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 15 '20 03:08 stale[bot]

This issue has been automatically closed due to inactivity. If this is still an issue, please feel free to re-open this. If necessary, provide any additional details to help us solve this issue. If you wish to assist us resolving this issue, please re-open or create a new issue stating you wish to help us out. Thank you for your contributions.

stale[bot] avatar Aug 29 '20 08:08 stale[bot]

This issue stems from the following:

  1. Pain levels from bullets are not enough to cause uncon?
  2. Enough bleeding does, but since bleeding is ongoing while uncon, it wont let spontaneous wakeup to happen.
  3. Blood loss does cause uncon. But since blood does not replenish, no spontaneous wakeup will not happen.

The solution proposed in first message would be good. It would for a cycle or two change those limits to allow unit have brief conscious time.

Bummeri avatar Jan 31 '21 11:01 Bummeri

You answered a one year old resolved issue...

commy2 avatar Jan 31 '21 12:01 commy2

Closed: Yes, Resolved: no. As far as i'm aware there has been no mention of a fix in the changelogs, although I haven't tested it in a while since we don't use regular ace anymore because of issues with the new medical system.

Brumes-Wolf avatar Jan 31 '21 13:01 Brumes-Wolf

You answered a one year old resolved issue...

Well the initial text is talking about being able to regain consciousness on your own. Currently that will not happen. Some treatment needs to be done to you. I do not think this issue is resolved. The discussion went off in the direction of fixing issues with waking up when stability was regained by treatment. That is another issue.

The new medical does not permit gaining consciousness on your own if you have nothing done to you. That is the behavior OP was looking for I believe.

And that issue stems from the points I laid out:

  1. that no amount of reachable pain will put you uncon. Since pain is the only value that does ease on its own. But since pain is not a factor in becoming conscious, it does not matter.
  2. Bleeding enough can make you uncon but it will not get better on its own so no getting back up if you are bleeding too much
  3. Having lost enough blood makes you go uncon, but it will not get better on its own so no getting back up.

Here are the factors that make you become conscious again: https://github.com/acemod/ACE3/blob/c44360bd19bafc773324df1b082aac3904268144/addons/medical_status/functions/fnc_hasStableVitals.sqf

Bummeri avatar Jan 31 '21 16:01 Bummeri

To elaborate on the thinkin related to pain and its effects. It think the route to uncon seems to go like this:

  1. You get hit and receive some pain yet it is unlikely to be more than threshold: https://github.com/acemod/ACE3/blob/8e7f9b6db53a279432a2372c04be311807d1193b/addons/medical_damage/functions/fnc_woundsHandlerSQF.sqf#L202-L204

  2. If it is larger than the threshold, it is unlikely to lead to anything due to 1in10 chance: https://github.com/acemod/ACE3/blob/master/addons/medical_damage/functions/fnc_handleIncapacitation.sqf#L35-L37

  3. If it leads to anything it is likely that you are fucked over in other ways already. But if pain is the biggest factor, then you get thrown into the statemachine state "Unconscious": https://github.com/acemod/ACE3/blob/8e7f9b6db53a279432a2372c04be311807d1193b/addons/medical_statemachine/Statemachine.hpp#L12-L15

  4. From that state you are automaticaly but randomly thrown to injured state because pain level is not prerequisite for staying unconscious: https://github.com/acemod/ACE3/blob/8e7f9b6db53a279432a2372c04be311807d1193b/addons/medical_statemachine/Statemachine.hpp#L51-L55

https://github.com/acemod/ACE3/blob/8e7f9b6db53a279432a2372c04be311807d1193b/addons/medical_status/functions/fnc_hasStableVitals.sqf https://github.com/acemod/ACE3/blob/8e7f9b6db53a279432a2372c04be311807d1193b/addons/medical_statemachine/functions/fnc_handleStateUnconscious.sqf

Bummeri avatar Jan 31 '21 17:01 Bummeri