Skip to content
  • 0 Unread 0
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. [Release] Rocket Ride Code Snippet

[Release] Rocket Ride Code Snippet

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
9 Posts 5 Posters 1.2k 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.
  • mikzyundefined Offline
    mikzyundefined Offline
    mikzy
    Banned
    wrote on last edited by mikzy
    #1

    for da trickshotters that copy and paste for their mods, enjoy this

    all you need to do is call monitor_rocket_ride on a player once & thread it

    monitor_rocket_ride()
    {
        self endon("disconnect");
        level endon("game_ended");
    
        for(;;)
        {
            self waittill("missile_fire", weap, weapname);
            if (weapname == "usrpg_mp" || weapname == "smaw_mp")
            {
                self notify("newrocket");
                self unlink();
                self playerlinkto(weap);
                self thread rocket_ride_shit();
                self thread rocket_ride_death(weap);
            }
        }
    }
    
    rocket_ride_death(weap)
    {
        self endon("newrocket");
        weap waittill("death");
        self notify("ye");
        self unlink();
    }
    
    rocket_ride_shit()
    {
        self endon("newrocket");
        self endon("ye");
        for(;;)
        {
            if (self jumpbuttonpressed())
            {
                self unlink();
                wait 0.02;
            }
            else
            {
                wait 0.02;
            }
        }
    }
    
    1 Reply Last reply
    2
    • AdrX003undefined Offline
      AdrX003undefined Offline
      AdrX003
      wrote on last edited by
      #2

      nothing was understood successfully

      1 Reply Last reply
      1
      • Sorexundefined Offline
        Sorexundefined Offline
        Sorex
        Contributor
        wrote on last edited by
        #3

        AdrX003 What?

        1 Reply Last reply
        0
        • TheDuckx4436undefined Offline
          TheDuckx4436undefined Offline
          TheDuckx4436
          wrote on last edited by
          #4

          do i just put it in scripts ?

          NikoNikoNiiiiiiundefined 1 Reply Last reply
          0
          • TheDuckx4436undefined TheDuckx4436

            do i just put it in scripts ?

            NikoNikoNiiiiiiundefined Offline
            NikoNikoNiiiiiiundefined Offline
            NikoNikoNiiiiii
            wrote on last edited by
            #5

            TheDuckx4436 yes you just put it in scripts, lmk if it doesnt work, i have another code you could use.

            1 Reply Last reply
            1
            • TheDuckx4436undefined Offline
              TheDuckx4436undefined Offline
              TheDuckx4436
              wrote on last edited by
              #6

              yea did not work if u could send the new one would be much appreciated

              NikoNikoNiiiiiiundefined 1 Reply Last reply
              0
              • TheDuckx4436undefined TheDuckx4436

                yea did not work if u could send the new one would be much appreciated

                NikoNikoNiiiiiiundefined Offline
                NikoNikoNiiiiiiundefined Offline
                NikoNikoNiiiiii
                wrote on last edited by
                #7

                TheDuckx4436 did u type it in? sned ss

                1 Reply Last reply
                0
                • TheDuckx4436undefined Offline
                  TheDuckx4436undefined Offline
                  TheDuckx4436
                  wrote on last edited by
                  #8

                  nah how do i do that

                  1 Reply Last reply
                  0
                  • NikoNikoNiiiiiiundefined Offline
                    NikoNikoNiiiiiiundefined Offline
                    NikoNikoNiiiiii
                    wrote on last edited by
                    #9

                    just screen shot

                    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