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

People don't wake up from unconsciousness #7378

Closed
Brumes-Wolf opened this issue Jan 3, 2020 · 20 comments
Closed

People don't wake up from unconsciousness #7378

Brumes-Wolf opened this issue Jan 3, 2020 · 20 comments
Labels
kind/enhancement Release Notes: **IMPROVED:** status/stale

Comments

@Brumes-Wolf
Copy link

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 Brumes-Wolf added the kind/enhancement Release Notes: **IMPROVED:** label Jan 3, 2020
@Bummeri
Copy link

Bummeri commented Jan 3, 2020

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

@Brumes-Wolf
Copy link
Author

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.

@Bummeri
Copy link

Bummeri commented Jan 3, 2020

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?

@Brumes-Wolf
Copy link
Author

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

@dedmen
Copy link
Contributor

dedmen commented Jan 3, 2020

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.

@Brumes-Wolf
Copy link
Author

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.

@Rod6er
Copy link

Rod6er commented Jan 5, 2020

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.

@Brumes-Wolf
Copy link
Author

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

@commy2
Copy link
Contributor

commy2 commented Jan 5, 2020

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%.

@Rod6er
Copy link

Rod6er commented Jan 5, 2020

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

@Brumes-Wolf
Copy link
Author

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.

@psYGer
Copy link

psYGer commented Jan 8, 2020

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.

@DylanFrese
Copy link

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.

@stale
Copy link

stale bot commented Aug 15, 2020

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 stale bot added the status/stale label Aug 15, 2020
@stale
Copy link

stale bot commented Aug 29, 2020

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 stale bot closed this as completed Aug 29, 2020
@Bummeri
Copy link

Bummeri commented Jan 31, 2021

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.

@commy2
Copy link
Contributor

commy2 commented Jan 31, 2021

You answered a one year old resolved issue...

@Brumes-Wolf
Copy link
Author

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.

@Bummeri
Copy link

Bummeri commented Jan 31, 2021

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
Copy link

Bummeri commented Jan 31, 2021

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:

    if (_critialDamage || {_painLevel > PAIN_UNCONSCIOUS}) then {
    [_unit] call FUNC(handleIncapacitation);
    };

  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":

    class CriticalInjuryOrVitals {
    targetState = "Unconscious";
    events[] = {QEGVAR(medical,CriticalInjury), QEGVAR(medical,CriticalVitals), QEGVAR(medical,knockOut)};
    };

  4. From that state you are automaticaly but randomly thrown to injured state because pain level is not prerequisite for staying unconscious:

    class WakeUp {
    targetState = "Injured";
    condition = QEFUNC(medical_status,hasStableVitals);
    events[] = {QEGVAR(medical,WakeUp)};
    onTransition = QUOTE([ARR_2(_this,false)] call EFUNC(medical_status,setUnconsciousState));

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Release Notes: **IMPROVED:** status/stale
Projects
None yet
Development

No branches or pull requests

7 participants