Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.69 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.69 KB

[TF2] Simple Bunnyhop

This is a simple SourceMod plugin for Team Fortress 2 that allows players to bunnyhop.

Unlike most bunnyhop plugins, this one does not manually add velocity, but rather patches out unnecessary checks in the game's movement code. It is similar to the bunnyhop found in newer Source engine games, such as Counter-Strike: Global Offensive.

Features

  • Smooth auto-bunnyhopping by holding down the jump button
    • No speed loss on a successful jump
    • Allows jumping while ducked
  • Unlimited speed while bunnyhopping
    • Prevents CTFGameMovement::PreventBunnyJumping from clamping your speed
  • Support for TF2-specific actions in midair (e.g. Scout's double jump, B.A.S.E. Jumper parachutes, grappling hooks, etc.)

Dependencies

Configuration

The plugin creates the following console variables, configurable in cfg/sourcemod/plugin.tf-bhop.cfg:

  • sv_enablebunnyhopping ( def. "1" ) - Allow player speed to exceed maximum running speed
  • sv_autobunnyhopping ( def. "1" ) - Players automatically re-jump while holding jump button
  • sv_duckbunnyhopping ( def. "1" ) - Allow jumping while ducked
  • sv_autobunnyhopping_falldamage ( def. "0" ) - Players can take fall damage while auto-bunnyhopping

Recommended Server Configuration

The following server configuration is recommended for the best experience:

sv_airaccelerate 150                // Increase acceleration when in the air
tf_parachute_maxspeed_xy 99999.9f   // Prevent speed clamping when deploying a parachute