acemod / ACE3

Open-source realism mod for Arma 3
https://ace3.acemod.org
Other
1.01k stars 737 forks source link

Spectator - Backspace key doesn't hide all of the UI #10440

Closed Coryf88 closed 3 weeks ago

Coryf88 commented 1 month ago

Mods:

Description: In ACE's spectator, pressing the backspace key doesn't hide the map, help, compass, nor unit markers.

Steps to reproduce:

  1. Create a new mission.
  2. Place a ACE Spectator logic entity.
  3. Play.
  4. Press Backspace.

Expected behavior: All of the spectator UI to be hidden.

Where did the issue occur? Dedicated and Editor (Singleplayer/Multiplayer)

Log Files: Editor (Singleplayer)

Additional context: Also worthy of note, "Side" is spammed in the log file while spectator map is open. Tell me if I should make another issue specifically for it.

Screenshots: 20241019165527_1 20241019165530_1

johnb432 commented 1 month ago

Imo backspace shouldn't handle the map, as there's already a separate keybind for it.

johnb432 commented 1 month ago

Also worthy of note, "Side" is spammed in the log file while spectator map is open. Tell me if I should make another issue specifically for it.

Make a new issue. I've tried to find the cause, but I can't find the culprit. All I know is that it runs every frame when you are in the map screen at mission start.

Coryf88 commented 1 month ago

Imo backspace shouldn't handle the map, as there's already a separate keybind for it.

Help also has a separate keybind. It'd be nice to have it at least hide both and have to press the relevant keybind to show again, so could hide everything with just a single keypress for say time sensitive screenshots, instead of having to potentially press 3 different keys to hide all of the UI.

Make a new issue. I've tried to find the cause, but I can't find the culprit. All I know is that it runs every frame when you are in the map screen at mission start.

Seems Arma is responsible for the RPT spam, with this being the trigger: https://github.com/acemod/ACE3/blob/76d32f8528d50c8d4bfe8f3df6e79bb67019dc36/addons/spectator/functions/fnc_cam_setCameraMode.sqf#L64