Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Is there a way to turn off HUD in bo2 zm?

Is there a way to turn off HUD in bo2 zm?

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
bo2helpzombies
16 Posts 8 Posters 3.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • chicken emojiundefined chicken emoji

    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

    NathanielKDundefined Offline
    NathanielKDundefined Offline
    NathanielKD
    wrote on last edited by
    #6

    chicken emoji Thank You So Much!

    1 Reply Last reply
    0
    • chicken emojiundefined chicken emoji

      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

      NathanielKDundefined Offline
      NathanielKDundefined Offline
      NathanielKD
      wrote on last edited by
      #7

      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 emojiundefined NathanielKDundefined 2 Replies Last reply
      0
      • NathanielKDundefined NathanielKD

        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 emojiundefined Offline
        chicken emojiundefined Offline
        chicken emoji
        wrote on last edited by
        #8

        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

        NathanielKDundefined 1 Reply Last reply
        1
        • NathanielKDundefined NathanielKD

          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.

          NathanielKDundefined Offline
          NathanielKDundefined Offline
          NathanielKD
          wrote on last edited by
          #9
          This post is deleted!
          1 Reply Last reply
          0
          • chicken emojiundefined chicken emoji

            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

            NathanielKDundefined Offline
            NathanielKDundefined Offline
            NathanielKD
            wrote on last edited by
            #10

            chicken emoji YOU ARE THE G.O.A.T. !

            Thank You!!! So Much!!! Dude, you're my hero!

            1 Reply Last reply
            0
            • Green_Fox3undefined Offline
              Green_Fox3undefined Offline
              Green_Fox3
              wrote on last edited by Green_Fox3
              #11

              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?

              1 Reply Last reply
              0
              • Xerxesundefined Offline
                Xerxesundefined Offline
                Xerxes
                Plutonium Staff
                wrote on last edited by Xerxes
                #12

                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_hud in the text chat in-game.

                Green_Fox3undefined 1 Reply Last reply
                0
                • Xerxesundefined Xerxes

                  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_hud in the text chat in-game.

                  Green_Fox3undefined Offline
                  Green_Fox3undefined Offline
                  Green_Fox3
                  wrote on last edited by
                  #13

                  Xerxes WONDERFULL, thx for the fast reply and yeah it is working now

                  1 Reply Last reply
                  0
                  • ASinglePeachundefined Offline
                    ASinglePeachundefined Offline
                    ASinglePeach
                    wrote on last edited by
                    #14

                    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!

                    knockelundefined 1 Reply Last reply
                    0
                    • ASinglePeachundefined ASinglePeach

                      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!

                      knockelundefined Offline
                      knockelundefined Offline
                      knockel
                      wrote on last edited by
                      #15

                      ASinglePeach Same.

                      1 Reply Last reply
                      0
                      • knockelundefined Offline
                        knockelundefined Offline
                        knockel
                        wrote on last edited by
                        #16

                        image.png

                        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.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Donate