Drawhud command
Moderator: GZDoom Developers
- Rexen
- Posts: 110
- Joined: Thu Jun 30, 2016 3:08 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11 Home
- Graphics Processor: nVidia with Vulkan support
- Location: E1M1: Hangar
- Contact:
Drawhud command
Add a command (something like cl_drawhud) to disable/enable the hud. Unless I'm mistaken their is no why to disable the hud fully with out change the screen size and disable the cross hair which gets annoying after a while. The reason I want this feature is for screenshot reasons ,to show off areas in my mod I'm making and having the hud gets in the way sometimes. If this is already a feature and I missed it, sorry about that.
Re: Drawhud command
Put that in your autoexec.cfg:
Now bind your screenshot key to cleansrn instead of screenshot.
Code: Select all
alias cleansrn "savescrn;hidescrn;wait;screenshot;wait;resetsrn"
alias hidescrn "r_drawplayersprites 0;screenblocks 12;crosshair 0;show_messages 0"
alias savescrn "set ep_screenblocks $screenblocks; set ep_crosshair $crosshair; set ep_show_messages $show_messages"
alias resetsrn "r_drawplayersprites 1;crosshair $ep_crosshair;screenblocks $ep_screenblocks;show_messages $ep_show_messages"
- Rexen
- Posts: 110
- Joined: Thu Jun 30, 2016 3:08 pm
- Preferred Pronouns: They/Them
- Operating System Version (Optional): Windows 11 Home
- Graphics Processor: nVidia with Vulkan support
- Location: E1M1: Hangar
- Contact:
Re: Drawhud command
Thanks that works now only if it still display the screenshot was save on the screen, but I guess it does but gets hidden in the split second cleansrn is run because it gets hidden with the hud
