View Single Post
blodia
Veteran Member
Join Date: Sep 2009
Location: UK
Old 04-05-2012 , 13:56   Re: [SNIPPET][CSS]custom viewmodels without flickers and without disabling prediction
Reply With Quote #10

m_nSequence is the animation played so it changes whenever an animation is played. to me seems the model you're using doesn't have all the animations or same animation names.

m_nSequence is an enumeration of all the animations compiled in the model, from what i can tell 0 is the idle animation, i'm not sure how the rest are listed. as i mentioned in the first post your custom model must have the same number of animations or with will edit glitches when the game tries to play animations that aren't there, same issue if the names don't match as the game plays animations by name. if the custom model animations are too long they will get cut short when another animation begins or if they're too short you will get pauses before the next one e.g reload animation will finish but the gun hasn't reloaded yet.
blodia is offline