Raised This Month: $319 Target: $400
 79%   Almost there!

Solved How to freeze player animation?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
XGAK
Junior Member
Join Date: May 2018
Old 05-17-2020 , 00:50   How to freeze player animation?
Reply With Quote #1

I want to freeze a player's animation like in this video.
Setting m_flPlaybackRate of player doesn't work. By setting the arrribute "gesture speed increase" I can change the speed of some animations like attack and taunt, but won't affect idle and walk animation just like this video.
How can I totally freeze the animation of player.

Last edited by XGAK; 05-17-2020 at 23:55.
XGAK is offline
XGAK
Junior Member
Join Date: May 2018
Old 05-17-2020 , 22:53   Re: How to freeze player animation?
Reply With Quote #2

I find this in Nopied's work.
Code:
SetEntProp(client, Prop_Send, "m_bIsPlayerSimulated", 0);
SetEntProp(client, Prop_Send, "m_bSimulatedEveryTick", 0);
SetEntProp(client, Prop_Send, "m_bAnimatedEveryTick", 0);
SetEntProp(client, Prop_Send, "m_bClientSideAnimation", 0);
SetEntProp(client, Prop_Send, "m_bClientSideFrameReset", 1);
Need to deal with pose parameters.NOPE
Just set sv_client_predict to 0 and it will work perfectly.
There should be a delay between setting sv_client_predict and player SetEntProp, or the animation of player would keep standing instead of freezing the walk animation.

Last edited by XGAK; 05-18-2020 at 00:26. Reason: solved
XGAK is offline
FroGeX
Senior Member
Join Date: Aug 2020
Old 01-23-2021 , 06:05   Re: How to freeze player animation?
Reply With Quote #3

Quote:
Originally Posted by XGAK View Post
I find this in Nopied's work.
Code:
SetEntProp(client, Prop_Send, "m_bIsPlayerSimulated", 0);
SetEntProp(client, Prop_Send, "m_bSimulatedEveryTick", 0);
SetEntProp(client, Prop_Send, "m_bAnimatedEveryTick", 0);
SetEntProp(client, Prop_Send, "m_bClientSideAnimation", 0);
SetEntProp(client, Prop_Send, "m_bClientSideFrameReset", 1);
Need to deal with pose parameters.NOPE
Just set sv_client_predict to 0 and it will work perfectly.
There should be a delay between setting sv_client_predict and player SetEntProp, or the animation of player would keep standing instead of freezing the walk animation.
Works this for CSGO too?
FroGeX is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:58.


Powered by vBulletin®
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Theme made by Freecode