Thread
:
[SNIPPET][CSS]custom viewmodels without flickers and without disabling prediction
View Single Post
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
04-13-2012 , 16:54 Re: [SNIPPET][CSS]custom viewmodels without flickers and without disabling prediction
#
18
i had a look at the issue triohala was having and it seems like there is a drawback with this method. if the same animation is played in succession before ending it isn't played at all, so if you knife the air the same slash animation is normally played over and over, with this method you will only play the slash animation the first time and then nothing until you hit something or switch back to play a different animation.
this could have been fixed with "m_flCycle" which stores how far along the animation is but it doesn't exist as a netprop for the viewmodel so the client isn't sent the updated data (for css anyway), i'm guessing this is where the prediction comes in.
when i have some free time i have a few ideas on how to bypass the issue i want to test.
Last edited by blodia; 04-13-2012 at
16:55
.
blodia
View Public Profile
Send a private message to blodia
Find More Posts by blodia