ValveSoftware / Source-1-Games

Source 1 based games such as TF2 and Counter-Strike: Source
644 stars 74 forks source link

[TF2] [VScript] [Feature Request] HIDEHUD_ for TAB Scoreboard #5446

Open Lizard-Of-Oz opened 9 months ago

Lizard-Of-Oz commented 9 months ago

Problem: There's no way to hide the TAB scoreboard via VScript. While VScript can detect the scoreboard being open (with FButtons.IN_SCORE), there's no way to hide it to replace with a custom one for gamemodes like VS Saxton Hale. Even HIDEHUD_ALL doesn't help.

Request: Add a HIDEHUD_ flag that hides the scoreboard.

Notes:

KaelaSavia commented 9 months ago

It's also worth noting that holding TAB/scoreboard causes text from HudMsg UserMessage to flicker in VSH this resulted in epileptic tier flickering of text (unsure if it's fixed as of yet)

Lizard-Of-Oz commented 9 months ago

Oh, right. It's desirable if the game wouldn't attempt to hide game_text when the scoreboard is open like it current does.

Lizard-Of-Oz commented 9 months ago

To provide more context, while the TAB scoreboard is open the game seemingly tries to hide game_text, but if vscript updates it every tick (like VSH does) it will start flickering. Ideally, game_text should remain visible when the TAB scoreboard is open.