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

Plutonium

  1. Home
  2. BO2 Client Support
  3. Is there any way to "autoexec" console commands on startup?

Is there any way to "autoexec" console commands on startup?

Scheduled Pinned Locked Moved BO2 Client Support
15 Posts 8 Posters 961 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.
  • Manux323undefined Offline
    Manux323undefined Offline
    Manux323
    wrote on last edited by
    #3

    Care to elaborate how to do that? Thanks in advance

    1 Reply Last reply
    0
    • Sorexundefined Sorex

      Manux323 bind a button to to set again the dvar. Usaly teh dvar get saved automaticaly

      Manux323undefined Offline
      Manux323undefined Offline
      Manux323
      wrote on last edited by
      #4

      Sorex How would I go about doing what you described?

      1 Reply Last reply
      0
      • Sorexundefined Offline
        Sorexundefined Offline
        Sorex
        Contributor
        wrote on last edited by
        #5

        Manux323 Nothing, because is not a big problem. Create a command to set every dvar you need and then copy and paste in the console bar.
        or do bind p "dvar1 1;dvar2 1,dvar3 0" and press p to set back your custom dvar

        Breakbotundefined 1 Reply Last reply
        0
        • Sorexundefined Sorex

          Manux323 Nothing, because is not a big problem. Create a command to set every dvar you need and then copy and paste in the console bar.
          or do bind p "dvar1 1;dvar2 1,dvar3 0" and press p to set back your custom dvar

          Breakbotundefined Offline
          Breakbotundefined Offline
          Breakbot
          wrote on last edited by
          #6

          Sorex there is some kinda of automated method ?

          Sorexundefined 1 Reply Last reply
          0
          • Breakbotundefined Breakbot

            Sorex there is some kinda of automated method ?

            Sorexundefined Offline
            Sorexundefined Offline
            Sorex
            Contributor
            wrote on last edited by
            #7

            Breakbot
            I don't get it.
            The bind to a button a command is semi-autmatic you just bind it and the press the button. You could also just copy and pase the commands or use a gsc script if you need to set just dvars and you are on a private match or on your own server.

            Breakbotundefined HustlerOGundefined 2 Replies Last reply
            0
            • Sorexundefined Sorex

              Breakbot
              I don't get it.
              The bind to a button a command is semi-autmatic you just bind it and the press the button. You could also just copy and pase the commands or use a gsc script if you need to set just dvars and you are on a private match or on your own server.

              Breakbotundefined Offline
              Breakbotundefined Offline
              Breakbot
              wrote on last edited by
              #8

              Sorex the thing is, the command that i want to use is cheat protected (r_lodBiasSkinned -1000)

              DarylMcgee123undefined 1 Reply Last reply
              0
              • Breakbotundefined Offline
                Breakbotundefined Offline
                Breakbot
                wrote on last edited by
                #9

                i use that command in zombies to increase the render distance

                1 Reply Last reply
                0
                • FutureRaveundefined Offline
                  FutureRaveundefined Offline
                  FutureRave
                  VIP
                  wrote on last edited by
                  #10

                  You are unfortunately unable to do that because the dvar is cheat protected.
                  The process is more mechanical.
                  You need to first set sv_cheats to 1, then you will be able to edit r_lodBiasSkinned

                  1 Reply Last reply
                  0
                  • FutureRaveundefined Offline
                    FutureRaveundefined Offline
                    FutureRave
                    VIP
                    wrote on last edited by
                    #11

                    If the dvar is not cheat-protected, you can set it via the command line arguments. But you can't do it easily from a client. You can do it from a dedicated server startup script file (bat).

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

                      You can create a GSC script to set this dvar automatically when the match starts.

                      1 Reply Last reply
                      0
                      • Sorexundefined Sorex

                        Breakbot
                        I don't get it.
                        The bind to a button a command is semi-autmatic you just bind it and the press the button. You could also just copy and pase the commands or use a gsc script if you need to set just dvars and you are on a private match or on your own server.

                        HustlerOGundefined Offline
                        HustlerOGundefined Offline
                        HustlerOG
                        wrote on last edited by
                        #13

                        Sorex i would like to bind player_sprintunlimited 1 and dsr h to 2 seperate buttons what exactly i need to put in the console for these 2?

                        Resxtundefined 1 Reply Last reply
                        0
                        • HustlerOGundefined HustlerOG

                          Sorex i would like to bind player_sprintunlimited 1 and dsr h to 2 seperate buttons what exactly i need to put in the console for these 2?

                          Resxtundefined Offline
                          Resxtundefined Offline
                          Resxt
                          Plutonium Staff
                          wrote on last edited by
                          #14

                          HustlerOG you could most likely just have a GSC script to set dvars, given that you play in your own custom game

                          Init()
                          {
                               SetDvar("player_sprintunlimited", "1");
                          }
                          
                          1 Reply Last reply
                          0
                          • Breakbotundefined Breakbot

                            Sorex the thing is, the command that i want to use is cheat protected (r_lodBiasSkinned -1000)

                            DarylMcgee123undefined Offline
                            DarylMcgee123undefined Offline
                            DarylMcgee123
                            wrote last edited by
                            #15

                            Breakbot I was wondering if you ever setup a script to do this.

                            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