Entity animation bugged frames.
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.
PHP Code:
I don't know what animtime does actually, but setting it to 100.0 like seen in many threads related to animations delays the animation for a few seconds. Clueless. |
Re: Entity animation bugged frames.
Monster_scientist_dead_(GoldSource_Engine)
These appear as hostages sitting on the ground on CS/CZ and can be spawned via Amxx. There are no bugged frames. Lots of potential. |
Re: Entity animation bugged frames.
I'm getting an [ENGINE] Invalid entity 42 error. Specifically, here:
PHP Code:
|
Re: Entity animation bugged frames.
Quote:
|
Re: Entity animation bugged frames.
Quote:
|
Re: Entity animation bugged frames.
Try setting pev_frame to 0.0, not 1.0
|
Re: Entity animation bugged frames.
Quote:
|
Re: Entity animation bugged frames.
Quote:
Quote:
Quote:
Quote:
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. |
Re: Entity animation bugged frames.
Try reordering you entity creation code properly?
this might work? PHP Code:
|
All times are GMT -4. The time now is 01:28. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.