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

[TF2] Wrangler RocketJump Prevent (0.4)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
retsam
Veteran Member
Join Date: Aug 2008
Location: so-cal
Plugin ID:
1796
Plugin Version:
0.4
Plugin Category:
General Purpose
Plugin Game:
Team Fortress 2
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    Prevents engies from rocket jumping with wrangler and getting into some spots they shouldnt.
    Old 07-13-2010 , 00:03   [TF2] Wrangler RocketJump Prevent (0.4)
    Reply With Quote #1

    [TF2] Wrangler RocketJump Prevent Modifier (0.4)


    Description:

    Since the newest tf2 update, engineers are able to rocketjump with the wrangler. This has become an issue on some peoples servers with certain maps. I thought preventing this might be useful for some. Anyways, use this if you want to restrict or change engies rocketjump...

    I have included a cvar that lets you change the rocketjump velocity, so if you didnt want to completely stop them from it, you could modify it to your liking.

    Install:
    - Place .smx into the plugins folder(duh..)

    Cvars:
    (Place below cvars into sourcemod.cfg)

    sm_wjp_enabled "1" //Enable wrangler jump prevent plugin?(1/0 = yes/no)
    sm_wjp_velocity "0.1" //Velocity multiplier for calculation. (0.1 = 10%, 1.0 = 100% of original velocity)


    Changelog:
    Code:
    7/23/10 - v0.4 - Edited damage check slightly. Changed default velocity to 0.1.
    7/13/10 - v0.3 - Added a velocity multiplier cvar. Velocity may now be changed to servers liking. Removed tf2 stocks as its not needed.
    7/12/10 - v0.2 - Removed SDKhooks part.
    7/12/10 - v0.1 - Initial release.
    Lmk if there are any issues.
    Attached Files
    File Type: sp Get Plugin or Get Source (wrangler_jump_prevent.sp - 1285 views - 4.2 KB)
    __________________

    Last edited by retsam; 07-23-2010 at 15:23. Reason: new version
    retsam is offline
    Geel9
    Senior Member
    Join Date: Mar 2009
    Old 07-13-2010 , 01:21   Re: [TF2] Wrangler Jump Prevent (0.1)
    Reply With Quote #2

    Why would you even include the part with SDKHooks? It works perfectly fine without it.
    Geel9 is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 07-13-2010 , 02:20   Re: [TF2] Wrangler Jump Prevent (0.1)
    Reply With Quote #3

    Only because I was coding with it before I tested player_hurt. I guess ill just remove the SDKhooks part.
    __________________
    retsam is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 07-13-2010 , 16:35   Re: [TF2] Wrangler Jump Prevent (0.3)
    Reply With Quote #4

    Update v0.3:

    I thought it would be useful if I gave people a cvar to change the velocity, rather than just completely stopping it. sm_wjp_velocity. You can change the velocity of the jump to your liking.
    __________________
    retsam is offline
    onlyamd
    Senior Member
    Join Date: Apr 2009
    Location: Chicago,IL
    Old 07-13-2010 , 21:54   Re: [TF2] Wrangler Jump Prevent (0.3)
    Reply With Quote #5

    This guy is a very clean coder, I always liked your work. Thank you for this. Would it be hard to throw an admin flag on this?
    onlyamd is offline
    xPaw
    Retired AMX Mod X Moderator
    Join Date: Jul 2008
    Old 07-14-2010 , 06:47   Re: [TF2] Wrangler Jump Prevent (0.3)
    Reply With Quote #6

    Quote:
    Originally Posted by retsam View Post
    Update v0.3:

    I thought it would be useful if I gave people a cvar to change the velocity, rather than just completely stopping it. sm_wjp_velocity. You can change the velocity of the jump to your liking.
    I think 1 cvar will be enough, like
    something 0 = disabled
    something 0.1 = 10% etc..
    __________________
    xPaw is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 07-14-2010 , 13:19   Re: [TF2] Wrangler Jump Prevent (0.3)
    Reply With Quote #7

    Quote:
    Originally Posted by onlyamd View Post
    This guy is a very clean coder, I always liked your work. Thank you for this. Would it be hard to throw an admin flag on this?
    Well, I guess if you really want one I can give you your own copy with that, but I dont think it belongs in the plugin. Would be kinda cheap if an "admin" could rocketjump to spots then put a tele up, then everyone else could get there anyways.

    Quote:
    Originally Posted by xPaw View Post
    I think 1 cvar will be enough, like
    something 0 = disabled
    something 0.1 = 10% etc..
    I suppose so, if its a big deal I can change it I guess. The only issue is, 0 could be the actual value they want to set on velocity of the rocketjump.... 0.1 would then be the lowest they could go. Its best to keep something with an unlimited float value different from an enable/disable cvar.
    __________________

    Last edited by retsam; 07-14-2010 at 13:23.
    retsam is offline
    onlyamd
    Senior Member
    Join Date: Apr 2009
    Location: Chicago,IL
    Old 07-14-2010 , 21:09   Re: [TF2] Wrangler RocketJump Prevent (0.3)
    Reply With Quote #8

    nah, nah its ok. Your response makes sense. Thanks man
    onlyamd is offline
    retsam
    Veteran Member
    Join Date: Aug 2008
    Location: so-cal
    Old 07-23-2010 , 15:24   Re: [TF2] Wrangler RocketJump Prevent (0.4)
    Reply With Quote #9

    Update v0.4:

    Very minor stuff but thought id post it up anyhow.
    __________________
    retsam is offline
    ph
    AlliedModders Donor
    Join Date: Mar 2006
    Old 12-14-2011 , 10:14   Re: [TF2] Wrangler RocketJump Prevent (0.4)
    Reply With Quote #10

    Thank you installed.
    __________________
    ph 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 09:31.


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