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

Fixed an animation error when setting a model to Player. #435

Merged
merged 2 commits into from
Nov 17, 2021

Conversation

CookStar
Copy link
Contributor

I'm not sure if this only applies to CS:GO, but certain models seem to have problems with animation when the model is attached to player by model_index. It might be related to CCSGOPlayerAnimState::Reset(void) or something like that.

If the model is set by entity.model_index, the problem remains, but I can't decide what to do. Is it better to leave it as it is, as entity.model_name can't set the model?

Offsets other than Garry's Mod were borrowed from SourceMod, thanks to AlliedModders/SourceMod.

@CookStar CookStar changed the title Fixed an animation error when setting a model to Entity. Fixed an animation error when setting a model to Player. Nov 11, 2021
@jordanbriere jordanbriere merged commit 87d32cb into Source-Python-Dev-Team:master Nov 17, 2021
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.

None yet

2 participants