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

Plutonium

  1. Home
  2. BO2 Modding Support & Discussion
  3. Need help for setup console command

Need help for setup console command

Scheduled Pinned Locked Moved BO2 Modding Support & Discussion
7 Posts 2 Posters 325 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.
  • Naomi_undefined Offline
    Naomi_undefined Offline
    Naomi_
    wrote on last edited by
    #1

    Hi, I am trying to learn coding on BO2, to make my settings automatically, could someone tell me where is the error in this? in order to be able to the IG setup

    init()
    {

    self setClientDvar("r_dof_enable", 0);
    self setClientDvar("r_lodBiasRigid", -1000);
    self setClientDvar("r_lodBiasSkinned", -1000);
    self setClientDvar("r_lodScaleRigid", 1);
    self setClientDvar("r_lodScaleSkinned", 1);
    self useservervisionset(1);
    self setvisionsetforplayer("remote_mortar_enhanced", 0);
    

    }

    A Former User? 1 Reply Last reply
    1
    • Naomi_undefined Naomi_

      Hi, I am trying to learn coding on BO2, to make my settings automatically, could someone tell me where is the error in this? in order to be able to the IG setup

      init()
      {

      self setClientDvar("r_dof_enable", 0);
      self setClientDvar("r_lodBiasRigid", -1000);
      self setClientDvar("r_lodBiasSkinned", -1000);
      self setClientDvar("r_lodScaleRigid", 1);
      self setClientDvar("r_lodScaleSkinned", 1);
      self useservervisionset(1);
      self setvisionsetforplayer("remote_mortar_enhanced", 0);
      

      }

      A Former User? Offline
      A Former User? Offline
      A Former User
      wrote on last edited by
      #2

      Naomi_ Did you compile it? Also scripts don't work in public servers so if you're trying to load into a server even if you compile it, it won't work.

      1 Reply Last reply
      0
      • Naomi_undefined Offline
        Naomi_undefined Offline
        Naomi_
        wrote on last edited by
        #3

        Yep i have the compiler.exe !

        A Former User? 1 Reply Last reply
        0
        • Naomi_undefined Naomi_

          Yep i have the compiler.exe !

          A Former User? Offline
          A Former User? Offline
          A Former User
          wrote on last edited by
          #4

          Naomi_ Are you getting an error like "Bad Syntax At Line 1" or something?

          Naomi_undefined 1 Reply Last reply
          0
          • Naomi_undefined Offline
            Naomi_undefined Offline
            Naomi_
            wrote on last edited by
            #5
            This post is deleted!
            1 Reply Last reply
            0
            • A Former User? A Former User

              Naomi_ Are you getting an error like "Bad Syntax At Line 1" or something?

              Naomi_undefined Offline
              Naomi_undefined Offline
              Naomi_
              wrote on last edited by
              #6

              @SerinityyXD no, is just didn't work ig
              So i want to know what i need to do for making this working

              A Former User? 1 Reply Last reply
              0
              • Naomi_undefined Naomi_

                @SerinityyXD no, is just didn't work ig
                So i want to know what i need to do for making this working

                A Former User? Offline
                A Former User? Offline
                A Former User
                wrote on last edited by
                #7

                Naomi_ Scripts won't work if you go to a public server, they only work in custom games

                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