Closed Yocairo closed 2 years ago
Stance recovery is fixable, sprinting animation I'm still working on.
Sprinting animation was also fixable, but there is still a weird issue where the client doesn't render the weapon if you load at the right time while switching weapons. So all in all this solution is not worth it.
Zeez actually pointed me in a different direction. Instead of manipulating cmd time of client serverside to cancel the lerp, in fact on CoD4 you can use cg_errorDecay to make the setOrigin instantly as well. I didn't know it was a prediction error until now. I thought it was intentional server side lerping.
So, I will close this issue, and we can recommend clients to set cg_errorDecay to 0, or at least less than 100 (I sure will).
when crouched before spawn, it weirdly quickly toggles crouch and stand it does not recover stance sprinting animation stays for a few secs when holding W while sprinting and then loading
These issues might be tough to solve, if so we sadly have to go back to setorigin