Raised This Month: $51 Target: $400
 12% 

[ANY] Rocket (1.1, April 8 2012)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
MasterOfTheXP
Veteran Member
Join Date: Aug 2011
Location: Cloudbank
Plugin ID:
2864
Plugin Version:
1.1
Plugin Category:
Admin Commands
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Solve your problems by launching them up into the air!
    Old 03-30-2012 , 13:01   [ANY] Rocket (1.1, April 8 2012)
    Reply With Quote #1

    Boom. Rocket. If you've used Evolve on Garry's Mod before, you know what this does.

    Upon doing sm_rocket <target>, the target will go up, up, and awaydie. On the way up they'll have a nice little rocket trail attached to them, and after flying for a second or two, they'll go boom in a cool, harmless explosion. Same deal as ev_rocket. You will also get the kill credit for said death (assuming the target is on the other team, or friendly fire is on).

    As stated, Evolve came up with this whole rocketing business, I believe. Launching-unfortunate-victims-into-the-air code is from PropHunt, slay-and-give-kill-credit code is from Goomba Stomp. Slaying-people mechanic based on Admin Smite. AttachParticle() and DeleteParticle() are from Achievement Trophy.


    VIDEO DEMONSTRATION



    COMMANDS
    • sm_rocket <player> rockets a player. That's it. Can be anyone who's alive.


    CVARS
    • sm_rocket_delay (def. 1.0) - Time, in seconds, to delay the target's death.
    • sm_rocket_force (up to 3.9, def. 1.0) - How fast the target is launched upwards, also translates into how far. 1= 1500 hammer units/second, 2.66=4000, Evolve's rocket velocity.
    • sm_rocket_explosion (1/0, def. 1) - If 1, explosion added to rocket deaths for extra boom.
    • sm_rocket_trail (1/0, def. 1) - If 1, a rocket trail is added to the target while flying.
    CHANGES

    Code:
    ~~ 1.1 (April 8, 2012) ~~
    * Adminmenu support
    
    ~~ 1.0 (March 30, 2012) ~~
    * Release
    Tested on TF2, but should work on any game. Thanks, and have fun!
    Attached Files
    File Type: sp Get Plugin or Get Source (rocket.sp - 2326 views - 7.8 KB)
    __________________
    Plugins / My Steam / TF2 Sandbox (plugin beta testing!)

    Last edited by MasterOfTheXP; 10-17-2012 at 04:08.
    MasterOfTheXP is offline
    Snaggle
    AlliedModders Donor
    Join Date: Jul 2010
    Location: England
    Old 03-30-2012 , 13:32   Re: [ANY] Rocket 1.0
    Reply With Quote #2

    Nice! I used a similar addon for ULX on Garry's Mod a few years back, completey forgot about it until now
    Snaggle is offline
    nightrider
    SourceMod Donor
    Join Date: Dec 2008
    Old 03-30-2012 , 18:11   Re: [ANY] Rocket 1.0
    Reply With Quote #3

    Interesting plugin, can you tie it to a custom admin flag?
    __________________
    [SIGPIC][/SIGPIC] the pantless
    I am the Night Rider!, I'm a fuel-injected suicide machine.
    I am a rocker! I am a roller!, I am an out-of-controller!


    nightrider is offline
    MasterOfTheXP
    Veteran Member
    Join Date: Aug 2011
    Location: Cloudbank
    Old 03-30-2012 , 18:38   Re: [ANY] Rocket 1.0
    Reply With Quote #4

    Quote:
    Originally Posted by nightrider View Post
    Interesting plugin, can you tie it to a custom admin flag?
    You can use overrides to make it useable by certain flags.
    __________________
    Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
    MasterOfTheXP is offline
    serpentine
    I don't have a problem
    Join Date: Feb 2011
    Location: Madison, WI
    Old 03-30-2012 , 18:38   Re: [ANY] Rocket 1.0
    Reply With Quote #5

    Awesome, like evil rocket only cooler.
    serpentine is offline
    dave_with_beer_bottle
    Senior Member
    Join Date: Jul 2009
    Old 04-02-2012 , 01:47   Re: [ANY] Rocket 1.0
    Reply With Quote #6

    hi, it is funny plugin ,just a question is it possible to somehow do it from custom menu? i did add this into admin menu but getting "No matching client was found." no idea why . it works perfect if i use console
    thank you for help

    Code:
    "Commands"
    {
        "PlayerCommands"
        {
            "Uber Slay"
            {
                "cmd"            "sm_rocket #1"
                "admin"          "sm_kick"
                "execute"        "player"
                "1"
                {
                    "type"       "player"
                    "method"     "name"
                    "title"      "Pick A Player"
                }
            }
        }
    }
    dave_with_beer_bottle is offline
    MasterOfTheXP
    Veteran Member
    Join Date: Aug 2011
    Location: Cloudbank
    Old 04-02-2012 , 01:51   Re: [ANY] Rocket 1.0
    Reply With Quote #7

    Quote:
    Originally Posted by dave_with_beer_bottle View Post
    hi, it is funny plugin ,just a question is it possible to somehow do it from custom menu? i did add this into admin menu but getting "No matching client was found." no idea why . it works perfect if i use console
    thank you for help
    Tomorrow (April 2) I'll probably add adminmenu support. Was gonna do it for 1.0, dunno why I didn't.
    __________________
    Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
    MasterOfTheXP is offline
    snelvuur
    Veteran Member
    Join Date: Jun 2008
    Location: Netherlands
    Old 04-02-2012 , 12:09   Re: [ANY] Rocket 1.0
    Reply With Quote #8

    http://forums.alliedmods.net/showthread.php?t=79617 is similar.

    Only there people can use rocketme without the need of a admin, usefull if damage is only 300 to get to higher places as a heavy. Also does this kill spy's with dead ringer and scouts with boink?
    __________________
    Arguing with a fool only proves there are two
    snelvuur is offline
    MasterOfTheXP
    Veteran Member
    Join Date: Aug 2011
    Location: Cloudbank
    Old 04-02-2012 , 12:23   Re: [ANY] Rocket 1.0
    Reply With Quote #9

    Quote:
    Originally Posted by snelvuur View Post
    http://forums.alliedmods.net/showthread.php?t=79617 is similar.

    Only there people can use rocketme without the need of a admin, usefull if damage is only 300 to get to higher places as a heavy.
    Plugin-assisted jumping? That's bad IMO, this one's strictly for slaying only.

    Quote:
    Originally Posted by snelvuur View Post
    Also does this kill spy's with dead ringer and scouts with boink?
    Yep. Only people that haven't died so far from this are the players that Boss Battles 1.2 (at the moment) glitches and spawns as TFClass_Unknown, but you shouldn't encounter those guys in a real game. (or at all, once I fix that glitch)
    __________________
    Plugins / My Steam / TF2 Sandbox (plugin beta testing!)
    MasterOfTheXP is offline
    snelvuur
    Veteran Member
    Join Date: Jun 2008
    Location: Netherlands
    Old 04-02-2012 , 15:16   Re: [ANY] Rocket 1.0
    Reply With Quote #10

    Ofcourse yours is written different, but with that other plugin you could rocketme and time it just right and explode next to another person and that person would die from the explosion too. Dont know if yours checks that too. (just saying from my experience with that other plugin)
    __________________
    Arguing with a fool only proves there are two
    snelvuur is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 00:25.


    Powered by vBulletin®
    Copyright ©2000 - 2024, vBulletin Solutions, Inc.
    Theme made by Freecode