Slow Hop - Jump Velocity Limiter - Speed Hacker Reducer
1 Attachment(s)
Description:
Limits player's horizontal speed after every jump. The objective is to reduce the number of 'speed hacker' complaints you receive. This plugin evaluates a player's velocity one tenth of a second after every jump. If the magnitude of the x and y velocity vectors exceeds the configurable limit, then the x and y velocity vectors are scaled down to the limit. Servers using this mod: http://www.game-monitor.com/search.p...lowhop_version Suggested limits: 250 First Jump Speed stock CS:S 375 First Jump Speed with sumguy14 Bunny Hop Plugin 400 to allow fun speeds Background: See http://en.wikipedia.org/wiki/Bunny_h...c_engine_games Inspired by players complaining about 'Speed Hackers' Uses different method than BunnyStopper by Bullet. BunnyStopper temporarily modifies players gravity. See http://forums.alliedmods.net/showthread.php?t=84735 Uses TeleportEntity, as noted in Bunny Hop by Fredd (suggested by bl4nk). See http://forums.alliedmods.net/showthread.php?t=67988 Tested with BunnyHop [V1.0.1] by sumguy14 See http://forums.alliedmods.net/showthread.php?t=57900 ToDo: Option to limit Z axis velocity Files: cstrike/addons/sourcemod/plugins/sm_slowhop.smx cstrike/cfg/sourcemod/slowhop.cfg Configuration Variables (Change in slowhop.cfg): sm_slowhop_limit - Maximum velocity a play is allowed when jumping. 0 Disables limiting. (Default: "250.0") Changelog: 0.2 <-> 2010 - 07/15 LumiStance Updated code to scale speed only if it needs scaled down Change default limit 0.1 <-> 2010 - 07/14 LumiStance Public Beta Release Added Plugin Info and Version Cvar null <-> 2010 - 07/09 LumiStance Initial Coding and Testing |
Re: Slow Hop - Beta - Speed Hacker Reducer
Seems to work well mate, now all I need is a script to stop my players complaining because they cant jump around like annoying gits.
cheers |
Re: Slow Hop - Beta - Speed Hacker Reducer
nice updates thanks lumiStance
|
Re: Slow Hop - Jump Velocity Limiter - Speed Hacker Reducer
Updated plugin after additional testing.
Added configuration variable and file. Added documentation and credits. |
Re: Slow Hop - Jump Velocity Limiter - Speed Hacker Reducer
I'm having pretty good luck with the plugin, but I noticed an area where it could use improvement.
Even though this plugin slows people down to the maximum jump speed (which I had initially set at 250 for CS:S), it still leaves in part of the advantage bunnyhopping normally brings. Normally the game slows you down a bit when you land from a jump, so it's not advantageous to jump 24/7. With this, while they're limited to a top speed, they can still continually jump over and over again. What I did to counter this was to adjust your code as follows: From: Code:
if (scale < 1.0) Code:
if (scale < 1.0) In testing it, however, by using "PrintToChatAll("Slapped at %i", GetTime());" in a line after the slap, I noticed the speed adjustment (and slapping) was occuring on almost every jump in CS:S when I had a threshold of 250 set. I ended up raising it to 265, and it seems to eliminate most of the false-positives. I'm still in the testing phase of this, and I'm not sure if my addon to your plugin makes it foolproof, but I'll let you know. Also, somebody in the server said that they're able to bunnyhop backwards even with this plugin enabled. I don't see that as too big of a problem since it gives little or no advantage, but I thought I'd note it. Thanks very much for taking the time to make this plugin and attempting to tackle this problem. |
Re: Slow Hop - Jump Velocity Limiter - Speed Hacker Reducer
Thats interesting Mister_Magotchi, I like the slap idea lol, but in regards to bunny hopping backwards, if they do it well (and I would assume if you can bunny backward you must be pretty good) it's still really hard or near impossible to shoot them so I would personally consider it a problem.
cheers |
Re: Slow Hop - Jump Velocity Limiter - Speed Hacker Reducer
1 Attachment(s)
After more review and watching the effect of my version of the plugin, the slap doesn't actually do much more than the plugin already did, and people can still jump like crazy without the standard slowdown the game is meant to give. I think I may modify it so that when they are slowed for going too fast, they are slowed to less than 100% of the threshold, as a minor penalty for a fast jump.
EDIT: Attached is my new idea, and I'm currently using this in my server. This time the only difference from the LumiStance's original version is that right before the plugin scales down the player's velocity to equal the threshold set in the cvar, I first multiply that scale by .75 . This has the effect of giving a 25% speed penalty (their speed is set to 75% of the threshold) to anyone who makes a jump that goes over the threshold. This of course doesn't affect future jumps, unless they again go over the speed limit set in the cvar. Also, the plugin seems to work identically for backward jumps as it does for forward jumps. I think the guy in my server might have been incorrect. I realize the original intention of LumiStance's plugin was not to entirely stop bunnyhopping, but to only prevent crazy high-speed bunnyhopping. His plugin works great for the purpose he made it for. For my server, though, I want to eliminate bunnyhopping altogether. |
Re: Slow Hop - Jump Velocity Limiter - Speed Hacker Reducer
if you want to stop any extra speed gain try what i posted in http://forums.alliedmods.net/showthread.php?t=132262, when i tested it i couldn't gain any extra speed and just ended up jumping up and down like an idiot.
|
Re: Slow Hop - Jump Velocity Limiter - Speed Hacker Reducer
blodia, I like your idea of limiting the speed based on he carried weapon instead of setting an arbitrary limit. If I use your code, I'll probably still further limit their speed to penalize them for even trying to hop. Normally CS:S has a speed penalty from jumping, so I'd prefer that to apply even to those trying to bhop. Currently my edited version of this thread's plugin is doing pretty well to prevent bhopping though.
|
Re: Slow Hop - Jump Velocity Limiter - Speed Hacker Reducer
the speed penalty is caused by the prop "m_flStamina", i think the default value when you jump is 1600, so increasing this when a player jumps will slow them down even more once they land.
|
All times are GMT -4. The time now is 01:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.