Is there a way to turn off HUD in bo2 zm?
-
Quite ashamed to ask for such a simple thing. It took me way too long to find nothing, so I turn to you guys for assistance. There has not been a single dvar that has worked for me so far. Any suggestions?
-
Quite ashamed to ask for such a simple thing. It took me way too long to find nothing, so I turn to you guys for assistance. There has not been a single dvar that has worked for me so far. Any suggestions?
t38 You can do this with a GSC script.
#include maps\mp\_utility; #include common_scripts\utility; main() { level thread toggle_hud()(); } toggle_hud() { while ( true ) { level waittill( "say", message, player, isHidden ); if ( message == "tog_hud" && isHidden ) { if ( !is_true( player.hud_disabled ) ) { player.hud_disabled = true; player setclientuivisibilityflag( "hud_visible", 0 ); } else { player.hud_disabled = false; player setclientuivisibilityflag( "hud_visible", 1 ); } } }Compile and place in t6/scripts and while in game bind a key to "say /tog_hud".
-
t38 You can do this with a GSC script.
#include maps\mp\_utility; #include common_scripts\utility; main() { level thread toggle_hud()(); } toggle_hud() { while ( true ) { level waittill( "say", message, player, isHidden ); if ( message == "tog_hud" && isHidden ) { if ( !is_true( player.hud_disabled ) ) { player.hud_disabled = true; player setclientuivisibilityflag( "hud_visible", 0 ); } else { player.hud_disabled = false; player setclientuivisibilityflag( "hud_visible", 1 ); } } }Compile and place in t6/scripts and while in game bind a key to "say /tog_hud".
JezuzLizard Thanks for the help dude. I just had to remove the second brackets after toggle_hud for the script to compile.
It seems like the crosshair doesn't count as a hud element. Not a problem for me, cg_drawCrosshair 0 does the trick.

-
hello Both, Sorry to be a massive pain but I was wondering if you guys could help me with this? I'm completely new to this & have no idea where to paste this script to get the no hud, I know this is the most basic thing ever but I've never used a console or mod menu & Don't know what I'm doing at all. If either of you could help a complete beginner set this up It would be massively appreciated. Many thanks xo
-
hello Both, Sorry to be a massive pain but I was wondering if you guys could help me with this? I'm completely new to this & have no idea where to paste this script to get the no hud, I know this is the most basic thing ever but I've never used a console or mod menu & Don't know what I'm doing at all. If either of you could help a complete beginner set this up It would be massively appreciated. Many thanks xo
NathanielKD You create a text document, copy paste the code and then follow this tutorial https://plutonium.pw/docs/modding/loading-mods/. also change
level thread toggle_hud()();to
level thread toggle_hud();before you compile the file
-
NathanielKD You create a text document, copy paste the code and then follow this tutorial https://plutonium.pw/docs/modding/loading-mods/. also change
level thread toggle_hud()();to
level thread toggle_hud();before you compile the file
chicken emoji Thank You So Much!
-
NathanielKD You create a text document, copy paste the code and then follow this tutorial https://plutonium.pw/docs/modding/loading-mods/. also change
level thread toggle_hud()();to
level thread toggle_hud();before you compile the file
chicken emoji Sorry again, I keep getting 'Bad syntax in line 27' when I try to compile. Is it because I'm using txt? Again I'm so sorry for what is probably the most basic of things. I just want to make some cinematic footage of Mob Of The Dead.
-
chicken emoji Sorry again, I keep getting 'Bad syntax in line 27' when I try to compile. Is it because I'm using txt? Again I'm so sorry for what is probably the most basic of things. I just want to make some cinematic footage of Mob Of The Dead.
NathanielKD it was missing a bracket actually
#include maps\mp\_utility; #include common_scripts\utility; main() { level thread toggle_hud(); } toggle_hud() { while ( true ) { level waittill( "say", message, player, isHidden ); if ( message == "tog_hud" && isHidden ) { if ( !is_true( player.hud_disabled ) ) { player.hud_disabled = true; player setclientuivisibilityflag( "hud_visible", 0 ); } else { player.hud_disabled = false; player setclientuivisibilityflag( "hud_visible", 1 ); } } } }this should be a working version
-
chicken emoji Sorry again, I keep getting 'Bad syntax in line 27' when I try to compile. Is it because I'm using txt? Again I'm so sorry for what is probably the most basic of things. I just want to make some cinematic footage of Mob Of The Dead.
This post is deleted! -
NathanielKD it was missing a bracket actually
#include maps\mp\_utility; #include common_scripts\utility; main() { level thread toggle_hud(); } toggle_hud() { while ( true ) { level waittill( "say", message, player, isHidden ); if ( message == "tog_hud" && isHidden ) { if ( !is_true( player.hud_disabled ) ) { player.hud_disabled = true; player setclientuivisibilityflag( "hud_visible", 0 ); } else { player.hud_disabled = false; player setclientuivisibilityflag( "hud_visible", 1 ); } } } }this should be a working version
chicken emoji YOU ARE THE G.O.A.T. !
Thank You!!! So Much!!! Dude, you're my hero!
-
Hello guys, After nearly i year
So I installed the script correctly cuz it had an error first then I saw the fixed one
but I don't know which one to run it
cg_drawCrosshair 0
hud_visible 0
neither did work
I think my console doesn't work, any idea how to fix it? -
Green_Fox3 said in Is there a way to turn off HUD in bo2 zm?:
but I don't know which one to run it
Neither, if you look at the code its using the text chat.
Green_Fox3 said in Is there a way to turn off HUD in bo2 zm?:
I think my console doesn't work, any idea how to fix it?
There is nothing to fix, you need to say
tog_hudin the text chat in-game. -
Green_Fox3 said in Is there a way to turn off HUD in bo2 zm?:
but I don't know which one to run it
Neither, if you look at the code its using the text chat.
Green_Fox3 said in Is there a way to turn off HUD in bo2 zm?:
I think my console doesn't work, any idea how to fix it?
There is nothing to fix, you need to say
tog_hudin the text chat in-game.Xerxes WONDERFULL, thx for the fast reply and yeah it is working now
-
It just does not wanna work for me unfortunately, I followed the instructions exactly, yet no luck. Is there any way to help me solve this? Thank you!
-
It just does not wanna work for me unfortunately, I followed the instructions exactly, yet no luck. Is there any way to help me solve this? Thank you!
ASinglePeach Same.
-

I have an OLED and all these Servers have horrible static UI.
I just want to disable all HUD-Elements completely... sadly above script didnt work. -
t38 You can do this with a GSC script.
#include maps\mp\_utility; #include common_scripts\utility; main() { level thread toggle_hud()(); } toggle_hud() { while ( true ) { level waittill( "say", message, player, isHidden ); if ( message == "tog_hud" && isHidden ) { if ( !is_true( player.hud_disabled ) ) { player.hud_disabled = true; player setclientuivisibilityflag( "hud_visible", 0 ); } else { player.hud_disabled = false; player setclientuivisibilityflag( "hud_visible", 1 ); } } }Compile and place in t6/scripts and while in game bind a key to "say /tog_hud".
JezuzLizard Not to annoyingly revive this long dead thread... but can I ask what "isHidden" is relating to here?
I was trying to figure it out for a while now, because this function wasn't working for me at first, but I found out it's because "isHidden" was always returning as false / 0 and basically prevented any of the function to actually execute.
I fixed it by removing "isHidden" but I was really curious to find out what it actually is.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login