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

[TF2] Scout-a-Pult v1.0


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
SadScrub
Member
Join Date: May 2014
Plugin ID:
4249
Plugin Version:
1.0
Plugin Category:
Fun Stuff
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Sends teammates flying with the Home Run taunt
    Old 06-22-2014 , 15:13   [TF2] Scout-a-Pult v1.0
    Reply With Quote #1

    Hello. I've had this idea for a while, but it required me to at least learn the basics of SourcePawn, so here it is - my first plugin.

    It works the following way:

    - Use the "sm_scoutapult" command as you would any SM command (including !scoutapult and such)
    - Any Scout with either The Sandman or The Atomizer can initiate the taunt. Where he will be looking will determine the velocity vector.
    - Any teammate standing nearby and looking in general direction of the initiating Scout can 'approve' by taunting. He will then be sent flying based on the velocity multipliers provided (or using defaults).

    A pitch limiter is also implemented, to prevent 'useless' successfull taunts - where a person just moves a couple hammer units on the ground and stops (though crouching still has some issues with this).

    ConVars:

    Quote:
    sm_scoutapult_enabled (0/1) - Enables or disables the plugin
    sm_scoutapult_fwd - Forward velocity multiplier
    sm_scoutapult_right - Right velocity multiplier
    sm_scoutapult_up - Up velocity multiplier
    sm_scoutapult_wait - Wait time (maximum amount of time a Scout can spend waiting for someone to initialize the taunt)
    What I'm currently working on:

    Quote:
    - Looking into implementing a CVar that allows Scouts to perform the taunt with any melee equipped
    - Calibrating default velocity multipliers
    Change log:

    Spoiler


    Credits:
    StrikerMan780 for fixing a WHOLE bunch of bugs I've missed and/or didn't pay enough attention to!

    Any feedback would be greatly appreciated!
    Attached Files
    File Type: sp Get Plugin or Get Source (scoutapult.sp - 954 views - 10.6 KB)

    Last edited by SadScrub; 08-10-2014 at 06:35.
    SadScrub is offline
     



    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 01:53.


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