Skip to content

[TF2] Fix jump start animation not working when the player has increased jump height #1435

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

CookieCat45
Copy link

Under normal circumstances, when a player jumps from the ground, they will play a short hopping animation (ACT_MP_JUMP_START). However, if the player has enough of a jump height boost from any source, such as attributes or the Mannpower agility rune, the jump start animation will not play, and instead it will play the airwalking animation (ACT_MP_AIRWALK). This is because the airwalk animation begins playing when the player's Z velocity goes above 300. Jump height boosts increase the player's jump height by multiplying the Z velocity boost from jumping, which is what causes the airwalk animation to play instead of the jump start animation. I've fixed this issue by making sure that the Z velocity check of 300 for the airwalk animation takes jump height boosts into account.

Before Fix

Video_2025-07-18_12-43-40.mp4

After Fix

Video_2025-07-18_13-12-55.mp4

@Ashetf2
Copy link

Ashetf2 commented Jul 18, 2025

does it fix reverse quantum crouch?

@CookieCat45
Copy link
Author

CookieCat45 commented Jul 18, 2025

does it fix reverse quantum crouch?

No, that is a completely different issue.

Bitl added a commit to BitlDevelopmentStudios/source-sdk-2013-bds-base that referenced this pull request Jul 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants