Skip to content

[WONTFIX?] Play the sprint legs only at sprint speed - #2242

Closed
sunzenshen wants to merge 1 commit into
NeotokyoRebuild:masterfrom
sunzenshen:anim-sprint-legs-speed
Closed

sunzenshen wants to merge 1 commit into
NeotokyoRebuild:masterfrom
sunzenshen:anim-sprint-legs-speed

Conversation

@sunzenshen

@sunzenshen sunzenshen commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Description

The sprint key currently selects sprint legs even when a player has barely started moving or has stopped. This change requires horizontal speed above 100 units per second before using sprint legs. The threshold avoids showing sprint legs at a standstill while preventing frequent leg changes during slower sprint turns.

Testing: Compared scripted animation logs with classic and master. Sprint-leg frames below 100 units per second fell from 32 on master to zero on this branch; non-sprinting movement and crouching are unchanged.

Linked Issues

  • None.

A player holding the sprint key played the sprint legs (Run_lower) at
any speed: from 69 u/s at a standing sprint start, and at a few u/s
when stopping with the key held, so the feet slid. Classic NEOTOKYO
plays them only above 175 u/s. neo's slowest sprints (185 u/s) dip
below 175 at every turn, which would swap the legs back and forth, so
the switch is at 100 u/s, the 2006 SDK's top walking speed.
@sunzenshen sunzenshen added the Animations Animation stuff. Including the syncronizing of animations between client and server based on state. label Oct 15, 2026
@sunzenshen

Copy link
Copy Markdown
Contributor Author

🤔

image-1792048148630

@sunzenshen

Copy link
Copy Markdown
Contributor Author

#2244 might actually accomplish the same and better than this, so waiting of the result of that review before deciding what to do with this PR.

(This PR edits hl2mp_playeranimstate.*, which #2244 no longer uses and could even remove from the build.)

@sunzenshen sunzenshen changed the title Play the sprint legs only at sprint speed [WONTFIX?] Play the sprint legs only at sprint speed Oct 16, 2026
@sunzenshen

Copy link
Copy Markdown
Contributor Author

(Have a backup in case we need this again, but is likely obviated by #2244.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Animations Animation stuff. Including the syncronizing of animations between client and server based on state.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant