Skip to content

Medical - Make unconsciousness hide UI#11365

Open
DartRuffian wants to merge 7 commits intoacemod:masterfrom
DartRuffian:medical/uncon-hide-hud
Open

Medical - Make unconsciousness hide UI#11365
DartRuffian wants to merge 7 commits intoacemod:masterfrom
DartRuffian:medical/uncon-hide-hud

Conversation

@DartRuffian
Copy link
Copy Markdown
Contributor

When merged this pull request will:

  • Hide UI when knocked unconscious
    • Not sure if this should include compats for things like cTab since there's so many versions of it.

IMPORTANT

  • If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
  • Development Guidelines are read, understood and applied.
  • Title of this PR uses our standard template Component - Add|Fix|Improve|Change|Make|Remove {changes}.

Comment thread addons/medical_status/functions/fnc_setUnconsciousState.sqf Outdated
@DartRuffian
Copy link
Copy Markdown
Contributor Author

Could maybe throw this behind a setting, but tbh I prefer it being forced on

@DartRuffian
Copy link
Copy Markdown
Contributor Author

DartRuffian commented Apr 13, 2026

Also should this also do the ace_ui_hideHud event? Not sure if maybe some logic from the keybind should be abstracted out or not so it hides other mods' huds that hook into it
https://github.com/acemod/ACE3/blob/master/addons/ui/XEH_clientInit.sqf#L55

Or just emit event directly

@OverlordZorn
Copy link
Copy Markdown
Contributor

  1. will this hide the side panels as well?
  2. this should be a setting, but can be default on.

@DartRuffian
Copy link
Copy Markdown
Contributor Author

DartRuffian commented Apr 13, 2026

  1. Yes
  2. Meh, I don't mind adding one but don't really see the point. None of the hidden information is relevant while unconscious

@OverlordZorn
Copy link
Copy Markdown
Contributor

people use the sidepanels to communicate their location when down, so i definetly see some people going to be upset with this.

@DartRuffian
Copy link
Copy Markdown
Contributor Author

You're unconscious, you shouldn't be able to communicate with your squad. And if you're far enough away that your squad can't even find you were too far away anyway

@OverlordZorn
Copy link
Copy Markdown
Contributor

no need to argue with me, about that, im just pointing out that some people will be upset if they cant turn it off.

Copy link
Copy Markdown
Contributor

@PabstMirror PabstMirror left a comment

Choose a reason for hiding this comment

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

Comment thread addons/medical_status/functions/fnc_setUnconsciousState.sqf Outdated
@DartRuffian DartRuffian requested a review from PabstMirror April 13, 2026 17:33
@DartRuffian
Copy link
Copy Markdown
Contributor Author

DartRuffian commented Apr 18, 2026

This should probably keep the chat enabled actually, for Arma'd moments. You can send messages but I think the chat itself is hidden (so you can't see messages that are sent)

Nevermind, I commented that at work and forgot that showChat is a separate command and not a part of showHud. PR is good for review. Could potentially move the mask out to a const variable to let mods / missions tweak it

@PabstMirror
Copy link
Copy Markdown
Contributor

not a problem imho but adv fatigue stamina bar doesn't go away

@PabstMirror
Copy link
Copy Markdown
Contributor

I'm not sure about a setting
but we can add a missionNamespace getVariable [QGVAR(skipHideHud), false] check

@PabstMirror PabstMirror added this to the 3.21.1 milestone Apr 22, 2026
@PabstMirror PabstMirror added the kind/enhancement Release Notes: **IMPROVED:** label Apr 22, 2026
@DartRuffian
Copy link
Copy Markdown
Contributor Author

not a problem imho but adv fatigue stamina bar doesn't go away

That's an easy fix, should be able to just hide it from the keybind / ui hideHud event

@DartRuffian
Copy link
Copy Markdown
Contributor Author

DartRuffian commented Apr 26, 2026

Haven't messed with AF all that much, that should be good though. Worked when I did some testing in-game with some different settings setups

Comment thread addons/advanced_fatigue/XEH_postInit.sqf Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/enhancement Release Notes: **IMPROVED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants