Skip to content
  • 0 Unread 0
  • 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 688 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.
  • Eizekiels Offline
    Eizekiels Offline
    Eizekiels
    wrote on last edited by
    #1

    Give me some script ideas to make if I can.

    Cawldwink 1 Reply Last reply
    0
    • AstralAberrant Offline
      AstralAberrant Offline
      AstralAberrant
      wrote on last edited by AstralAberrant
      #2

      Duel wield rayguns on PAP?

      Eizekiels 1 Reply Last reply
      0
      • Eizekiels Eizekiels

        Give me some script ideas to make if I can.

        Cawldwink Offline
        Cawldwink Offline
        Cawldwink
        wrote on last edited by
        #3

        Eizekiels BO3 sliding

        Eizekiels 1 Reply Last reply
        0
        • Cawldwink Cawldwink

          Eizekiels BO3 sliding

          Eizekiels Offline
          Eizekiels Offline
          Eizekiels
          wrote 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
          • AstralAberrant AstralAberrant

            Duel wield rayguns on PAP?

            Eizekiels Offline
            Eizekiels Offline
            Eizekiels
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            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
            • Unread 0
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Donate