Scripts / How to Stop F11 Showing Standard HUD

Author
Message
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 24th Nov 2016 08:19
I have been developing a custom HUD script which uses the HideHuds command to turn off the standard hud, but while using F11 to display FPS it turns the standard hud on again.

Does anyone know how to stop F11 forcing the stock HUD to display?

Thanks for any input.

Reliquia....
Intel(R) Core(TM) i3-4160 @ 3,60GHz. 8GB Ram. NVidia GeForce GTX 750. Acer 24" Monitors x 2 @ 1920 x 1080. Windows 10 Pro 64-bit.
PM
3com
9
Years of Service
User Offline
Joined: 18th May 2014
Location: Catalonia
Posted: 25th Nov 2016 19:24
I've noticed pressing f11 again, hide hud.
I've used "hideallhuds=1" in setup.ini file.

But maybe you don't want to press f11 again, but prevent f11 showing huds again, if so, you can right some script to deal with;
something like :

if scancode== f11 (don't remember now the code number) then
hide huds = 1 (or something like that) I'm too lazy now (today a hard work day, I'm too tired)
end

If you need some more help to elaborate it, please let me know.

3com
Laptop: Lenovo - Intel(R) Celeron(R) CPU 1005M @ 1.90GHz

OS: Windows 10 (64) - Ram: 4 gb - Hd: 283 gb - Video card: Intel(R) HD Graphics

PM
OldFlak
GameGuru TGC Backer
9
Years of Service
User Offline
Joined: 27th Jan 2015
Location: Tasmania Australia
Posted: 25th Nov 2016 21:08
@3com, thanks for the input.

Quote: "But maybe you don't want to press f11 again"

Yes I wanted to keep the F11\fps counter on screen to make a video of a game dev project I have been toying with.

It just seams weird to me that F11 Shows the HUD, but I will try your suggestion

Reliquia....
Intel(R) Core(TM) i3-4160 @ 3,60GHz. 8GB Ram. NVidia GeForce GTX 750. Acer 24" Monitors x 2 @ 1920 x 1080. Windows 10 Pro 64-bit.
PM

Login to post a reply

Server time is: 2024-04-30 16:13:32
Your offset time is: 2024-04-30 16:13:32