View Single Post
Author Message
LumiStance
AlliedModders Donor
Join Date: Jan 2009
Location: Northern California
Old 07-14-2010 , 07:09   Slow Hop - Jump Velocity Limiter - Speed Hacker Reducer
Reply With Quote #1

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
Attached Files
File Type: sp Get Plugin or Get Source (sm_slowhop.sp - 2564 views - 4.5 KB)
__________________

Last edited by LumiStance; 07-17-2010 at 02:00. Reason: Correct typo's
LumiStance is offline