View Single Post
redivcram
Veteran Member
Join Date: Jul 2014
Location: Serbia
Old 12-17-2021 , 15:38   Re: Entity animation bugged frames.
Reply With Quote #8

Quote:
Originally Posted by HamletEagle View Post
Try setting pev_frame to 0.0, not 1.0
No difference. Tried that one already.


Quote:
Originally Posted by Natsheh View Post
You want to remove the idle animation from death sequence?

Quote:
Originally Posted by redivcram View Post
I am trying to spawn an entity and play its animation to the end right when it spawns. What happens is that upon spawning, the animations starts playing up to certain frames, resets to the first frame then continues after a few moments. This could be best shown with a video example: https://youtu.be/XiXJi3-640o. You can clearly see how it is bugged out.

Quote:
Originally Posted by redivcram View Post
My goal is spawning an entity and playing an animation to the end upon spawn.
---------------------------------------------------------------------------

Summary: I am spawning an entity with set model (player/terror.mdl), sequence 107, normal framerate of value 1.0. The 107th sequence is the death animation. This animation is not set to loop like the idle animation for instance, which is why I chose that one particular. (To mimic a corpse, but my goal here is not getting a corpse exclusively, my goal is to successfully play the animation from start to end on my own custom entity). The problem is the "twitch" it does as seen in the video. I want to get rid of it and play the animation normally, from start to end and leave the model lying down.

Last edited by redivcram; 12-17-2021 at 15:39.
redivcram is offline