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

Plutonium

  1. Home
  2. BO2 Client Support
  3. Give me an idea to do it

Give me an idea to do it

Scheduled Pinned Locked Moved BO2 Client Support
5 Posts 3 Posters 222 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.
  • Eizekielsundefined Offline
    Eizekielsundefined Offline
    Eizekiels
    wrote on last edited by
    #1

    Give me some script ideas to make if I can.

    Cawldwinkundefined 1 Reply Last reply
    0
    • AstralAberrationundefined Offline
      AstralAberrationundefined Offline
      AstralAberration
      wrote on last edited by AstralAberration
      #2

      Duel wield rayguns on PAP?

      Eizekielsundefined 1 Reply Last reply
      0
      • Cawldwinkundefined Offline
        Cawldwinkundefined Offline
        Cawldwink
        replied to Eizekiels on last edited by
        #3

        Eizekiels BO3 sliding

        Eizekielsundefined 1 Reply Last reply
        0
        • Eizekielsundefined Offline
          Eizekielsundefined Offline
          Eizekiels
          replied to Cawldwink on last edited by
          #4

          Cawldwink ***#include maps/mp/zombies/_zm_utility;
          #include common_scripts/utility;
          #include maps/mp/_utility;

          init()
          {
          level thread on_player_connect();
          }

          IsSliding() //You can use this function like BO3/BO4/BOCW's IsSliding() function to check if the player is sliding.
          {
          if(is_true(self.isSliding))
          return true;
          return false;
          }

          on_player_connect()
          {
          level endon("end_game");
          while(1)
          {
          level waittill("connected", player);
          player thread waitToSlide();
          }
          }

          waitToSlide()
          {
          self.isSliding = false;
          self.isReadyToSlide = true;
          while(1)
          {
          if(self IsSprinting() && self IsOnGround())
          {
          while(self IsSprinting())
          {
          wait .01;
          }
          if(!self IsOnGround())
          {
          while(!self IsOnGround())
          {
          wait .01;
          }
          }
          self checkCrouch();
          }
          wait .01;
          }
          }

          checkCrouch()
          {
          if(self GetStance() == "crouch" && !self.Sliding && self.isReadyToSlide)
          {
          self.is_sliding = true;
          self.isReadyToSlide = false;
          self.is_drinking = true;
          self SetStance( "crouch" );
          self AllowProne(false);
          self AllowAds(false);
          self AllowMelee(false);
          self startSliding(300,1);
          self.is_drinking = false;
          self.isSliding = false;
          self AllowAds(true);
          self AllowMelee(true);
          self AllowProne(true);
          self.isReadyToSlide = true;
          }
          }

          startSliding(force,time)
          {
          angles = (0,(self GetPlayerAngles()[1]),0);
          forward = AnglesToForward(angles);
          time = time*0.18;
          distance = 20;
          for(i=0;i<time && self IsOnGround() && distance > 5; i+=0.01)
          {
          if(self GetStance() == "stand")
          {
          self thread doAJump();
          return;
          }
          position = self.origin;
          wait 0.01;
          self SetVelocity(forward * force);
          distance = Distance(position, self.origin);
          }
          }

          doAJump()
          {
          if(self IsSprinting())
          return;
          self SetOrigin(self.origin + (0,0,5));
          self SetVelocity( self GetVelocity() + (0,0,250) );
          wait .1;
          while(!self IsOnGround())
          {
          wait .01;
          }
          self checkCrouch();
          }


          1 Reply Last reply
          0
          • Eizekielsundefined Offline
            Eizekielsundefined Offline
            Eizekiels
            replied to AstralAberration on last edited by
            #5

            @NexusClover So far there is no way to do it unfortunately

            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