Skip to content

PMArkive/tf-bhop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 

Repository files navigation

[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

About

Team Fortress 2 bunnyhop plugin

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • SourcePawn 100.0%