Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New CVars: sv_autobunnyhopping and sv_enablebunnyhopping #686

Merged
merged 5 commits into from
Oct 20, 2021
Merged

New CVars: sv_autobunnyhopping and sv_enablebunnyhopping #686

merged 5 commits into from
Oct 20, 2021

Conversation

aleeperezz16
Copy link
Contributor

@aleeperezz16 aleeperezz16 commented Oct 8, 2021

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.

@fl0werD
Copy link
Contributor

fl0werD commented Oct 9, 2021

This is amazing! I need this when test something and need to fast move by map.

@metita
Copy link
Contributor

metita commented Oct 9, 2021

It’s all good, but why? It’s not flexible, sometimes you need to adjust velocity for specific events and/or players.

Maybe some API members can be added for 3rd party plugins and make auto-bunnyhopping per player.

I like the idea, if we can add some members as you stated that would be pretty helpful tho.

@aleeperezz16
Copy link
Contributor Author

aleeperezz16 commented Oct 9, 2021

It’s all good, but why? It’s not flexible, sometimes you need to adjust velocity for specific events and/or players.

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.
Why not making a simple feature easier for developers? I think that's why ReGameDLL is made for (also for bug fixing).

@aleeperezz16
Copy link
Contributor Author

I like the idea, if we can add some members as you stated that would be pretty helpful tho.

If this is approved for a merge, I can make the API members.

@wopox1337 wopox1337 changed the title sv_autobunnyhopping and sv_enablebunnyhopping New CVars: sv_autobunnyhopping and sv_enablebunnyhopping Oct 9, 2021
@wopox1337 wopox1337 self-requested a review October 9, 2021 22:50
@wopox1337 wopox1337 assigned wopox1337 and aleeperezz16 and unassigned wopox1337 Oct 9, 2021
dist/game.cfg Outdated Show resolved Hide resolved
regamedll/dlls/game.cpp Outdated Show resolved Hide resolved
@wopox1337 wopox1337 merged commit b9cccc6 into s1lentq:master Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants