New CVars: sv_autobunnyhopping and sv_enablebunnyhopping#686
New CVars: sv_autobunnyhopping and sv_enablebunnyhopping#686wopox1337 merged 5 commits intorehlds:masterfrom aleeperezz16:bunnyhopping
sv_autobunnyhopping and sv_enablebunnyhopping#686Conversation
|
This is amazing! I need this when test something and need to fast move by map. |
I like the idea, if we can add some members as you stated that would be pretty helpful tho. |
When I first came up with this, I had in mind to ease 3rd party plugins (like AMXX e. g.) as PlayerMove is not easy to control even with plugins. KreedZ mod helped in this idea as there are some maps called AXN that needs to bypass maxspeed limit when bhopping and also adds the autobhopping for these particular maps. Also Surf Timer can be considered, autobhopping is allowed but not to bypass the maxspeed limit. These cvars can help in these situations. As you know, this is not necessary but a simple one line code feature for those who want, for a specific mod, autobhopping and don't want to waste their time making one modifying player's Pre/PostThink. |
If this is approved for a merge, I can make the API members. |
sv_autobunnyhopping and sv_enablebunnyhopping
These commands work like in CS:GO:
sv_autobunnyhopping- allows the player to hold the jump button and jump automatically.sv_enablebunnyhopping- allows the player to bypass the max speed when jumping.Maybe some API members can be added for 3rd party plugins and make auto-bunnyhopping per player.