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

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [Resource] Ladder Mod

[Resource] Ladder Mod

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
11 Posts 8 Posters 1.4k Views 2 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.
  • A Former User? Offline
    A Former User? Offline
    A Former User
    wrote on last edited by A Former User
    #1

    For those looking for a ladder mod, it is extremely simple. One dvar controls the jump velocity and the other eliminates the cap that blocks one from fully spinning.

    setDvar("jump_ladderPushVel",1024);
    setDvar("bg_ladder_yawcap",0);
    

    These can be placed in the init, onplayerconnect, etc or added to a menu.

    ladderMod()
    {
        if(level.ladderjump==1)
        {
            self iprintln("Ladder Mod ^1ON");
            setDvar("jump_ladderPushVel",1024);
            setDvar("bg_ladder_yawcap",0);
            level.ladderjump=0;
        }
        else
        {
            self iprintln("Ladder Mod ^1OFF");
            setDvar("jump_ladderPushVel",128);
            setDvar("bg_ladder_yawcap",90);
            level.ladderjump=1;
        }
    }
    
    1 Reply Last reply
    0
    • Ox_undefined Offline
      Ox_undefined Offline
      Ox_
      wrote on last edited by
      #2

      Wouldn't toggle that on self since it's not player specific.
      Toggle it on level.

      homuraundefined n4thundefined 2 Replies Last reply
      0
      • Ox_undefined Ox_

        Wouldn't toggle that on self since it's not player specific.
        Toggle it on level.

        homuraundefined Offline
        homuraundefined Offline
        homura
        Banned
        wrote on last edited by
        #3

        Ox_ in my opinion, storing it as a variable for the player isn't a bad idea. The variable should be initialized in onPlayerConnect or maybe the spawn function.

        I am curious though, how come you say store it in level?

        Matrixundefined Cahzundefined 2 Replies Last reply
        0
        • homuraundefined homura

          Ox_ in my opinion, storing it as a variable for the player isn't a bad idea. The variable should be initialized in onPlayerConnect or maybe the spawn function.

          I am curious though, how come you say store it in level?

          Matrixundefined Offline
          Matrixundefined Offline
          Matrix
          Plutonium Staff
          wrote on last edited by
          #4

          homura said in Ladder Mod:

          Ox_ in my opinion, storing it as a variable for the player isn't a bad idea. The variable should be initialized in onPlayerConnect or maybe the spawn function.

          I am curious though, how come you say store it in level?

          Changing the dvar once affects everyone in the game playing. No reason to have multiple variables toggling the same thing. If one "self" sets it to true, the mod is active for everyone in the game while the variable is still false for everyone else. Logically doesn't make any sense

          A Former User? 1 Reply Last reply
          0
          • homuraundefined homura

            Ox_ in my opinion, storing it as a variable for the player isn't a bad idea. The variable should be initialized in onPlayerConnect or maybe the spawn function.

            I am curious though, how come you say store it in level?

            Cahzundefined Offline
            Cahzundefined Offline
            Cahz
            VIP
            wrote on last edited by
            #5

            homura if you toggle it on level instead of self, it only creates one instance of that variable. Let's say everyone in his game has access to toggle the dvar, it would make more sense to have it toggle as level.ladder or whatever so that way it is the same for everyone instead of having 18 separate self variable toggles when it toggles a serverwide dvar

            n4thundefined DeadShotundefined 2 Replies Last reply
            0
            • Cahzundefined Cahz

              homura if you toggle it on level instead of self, it only creates one instance of that variable. Let's say everyone in his game has access to toggle the dvar, it would make more sense to have it toggle as level.ladder or whatever so that way it is the same for everyone instead of having 18 separate self variable toggles when it toggles a serverwide dvar

              n4thundefined Offline
              n4thundefined Offline
              n4th
              wrote on last edited by
              #6

              Cahz yo cahz can help me man?

              1 Reply Last reply
              0
              • Ox_undefined Ox_

                Wouldn't toggle that on self since it's not player specific.
                Toggle it on level.

                n4thundefined Offline
                n4thundefined Offline
                n4th
                wrote on last edited by
                #7

                Ox_ is it such a big deal man?

                1 Reply Last reply
                0
                • Sassundefined Offline
                  Sassundefined Offline
                  Sass
                  Plutonium Staff
                  wrote on last edited by Sass
                  #8

                  Or instead of using level.ladderjump/self.ladderjump, just use one of the dvar's value for your if statement, e.g :

                  if( getDvar("jump_ladderPushVel") == 128 )
                  {
                      self iprintln("Ladder Mod ^1ON");
                      setDvar("jump_ladderPushVel", 1024);
                      setDvar("bg_ladder_yawcap", 0);
                  }
                  
                  n4thundefined 1 Reply Last reply
                  0
                  • Sassundefined Sass

                    Or instead of using level.ladderjump/self.ladderjump, just use one of the dvar's value for your if statement, e.g :

                    if( getDvar("jump_ladderPushVel") == 128 )
                    {
                        self iprintln("Ladder Mod ^1ON");
                        setDvar("jump_ladderPushVel", 1024);
                        setDvar("bg_ladder_yawcap", 0);
                    }
                    
                    n4thundefined Offline
                    n4thundefined Offline
                    n4th
                    wrote on last edited by
                    #9

                    Sass sass my friend can you help me? I was told to paste this in my server.cfg “ gts playerNumLives 0”, but like I want the bot to have the 1 life and me unlimited because that, I don’t know how to add, can you help ?

                    1 Reply Last reply
                    0
                    • Matrixundefined Matrix

                      homura said in Ladder Mod:

                      Ox_ in my opinion, storing it as a variable for the player isn't a bad idea. The variable should be initialized in onPlayerConnect or maybe the spawn function.

                      I am curious though, how come you say store it in level?

                      Changing the dvar once affects everyone in the game playing. No reason to have multiple variables toggling the same thing. If one "self" sets it to true, the mod is active for everyone in the game while the variable is still false for everyone else. Logically doesn't make any sense

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

                      Matrix I agree, my mistake. Level is the better option.

                      1 Reply Last reply
                      0
                      • Cahzundefined Cahz

                        homura if you toggle it on level instead of self, it only creates one instance of that variable. Let's say everyone in his game has access to toggle the dvar, it would make more sense to have it toggle as level.ladder or whatever so that way it is the same for everyone instead of having 18 separate self variable toggles when it toggles a serverwide dvar

                        DeadShotundefined Offline
                        DeadShotundefined Offline
                        DeadShot
                        wrote on last edited by
                        #11

                        Cahz Can i have your discord cuz i just joined plutonium and cant find any option for direct messages
                        I needed to talk to u abt one of your post ❤

                        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