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

Allow overriding :GetSequenceGroundSpeed() for SNPCs #2531

Open
MerekiDor opened this issue Nov 16, 2024 · 2 comments
Open

Allow overriding :GetSequenceGroundSpeed() for SNPCs #2531

MerekiDor opened this issue Nov 16, 2024 · 2 comments

Comments

@MerekiDor
Copy link

There is no obvious way to alter a custom NPC's ground speed. At least, not to my knowledge. It currently depends on the information stored in the model's sequence.

Please let us override CBaseAnimating::GetSequenceGroundSpeed() (source-sdk-2013/mp/src/game/server/baseanimating.cpp) of lua NPCs, or at least provide a way to set it to a fixed value (NPC:SetIdealMoveSpeed()?) so that we can make NPCs with any model move without resorting to setting up a custom ENTITY:OverrideMove().

@BREEDNKMs
Copy link

i agree, this would make snpcs making process a lot easier and faster. for a long time, we should have had a way to return a move speed for snpcs in case they have models with no root bone animation.

@BREEDNKMs
Copy link

bump

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

No branches or pull requests

2 participants