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
14 Posts 7 Posters 624 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • 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
    • Breakbotundefined Offline
      Breakbotundefined Offline
      Breakbot
      replied to Sorex on last edited by
      #6

      Sorex there is some kinda of automated method ?

      Sorexundefined 1 Reply Last reply
      0
      • Sorexundefined Offline
        Sorexundefined Offline
        Sorex Contributor
        replied to Breakbot 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
        • Breakbotundefined Offline
          Breakbotundefined Offline
          Breakbot
          replied to Sorex on last edited by
          #8

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

          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
                  • HustlerOGundefined Offline
                    HustlerOGundefined Offline
                    HustlerOG
                    replied to Sorex 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
                    • Resxtundefined Offline
                      Resxtundefined Offline
                      Resxt Plutonium Staff
                      replied to HustlerOG 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

                      • Login

                      • Don't have an account? Register

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