[ H3LP ] v_ model body delay
Hello, I'm trying to set a custom sub-model in player view model, more specifically in the knife v_ model. My code it's working, but with a little bug in deploy event. Aparently is there a delay, so if I deploy, only after few seconds the body is changed.
I can share my model if you need it. Code:
|
Re: [ H3LP ] v_ model body delay
What you see is most likely client prediction. For knife it happens only in Deploy.
You have to mess with UpdateClientData to fix it. |
Re: [ H3LP ] v_ model body delay
Use CurWeapon rather than setting tasks.
|
Re: [ H3LP ] v_ model body delay
Check this one out
https://forums.alliedmods.net/showthread.php?t=305150 |
Re: [ H3LP ] v_ model body delay
Thanks for the sharing @Celena Luna, now it's working perfectly.
Spoiler
|
Re: [ H3LP ] v_ model body delay
Quote:
|
Re: [ H3LP ] v_ model body delay
Sorry for bump this up.
Sometime I got freeze at IDLE ANIM with the first submodel while switching weapon. Just asking if you got the same problem and if you can fix it. |
Re: [ H3LP ] v_ model body delay
Yes I've seen this problem. To fix it I believe you just need to increase the time of m_flLastEventCheck.
Code:
|
| All times are GMT -4. The time now is 12:15. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.