• Nextbot Sequence Problems
    4 replies, posted
I am trying to make a model reload using nextbot & sequences, I can get it to reload but the posture and angles of the model gets all messed up. [b]Reloading (left), Normal (right)[/b] [thumb]http://gyazo.com/c626413a186aa4787a31e4ef4eb076b6.png[/thumb] [thumb]http://gyazo.com/75fd2524cc54ef3cdb4c6a159808a339.png[/thumb] There are 2 problems. [b]1st:[/b] When I play the reload animation the model will not face the target. [b]2nd:[/b] The posture of the model gets messed up and looks stupid (he stands up straight to reload). I've tried using ACT_RELOAD but that causes a T-pos. To play the reload animation I am using the following. [lua] self:PlaySequenceAndWait( "walk_reload_m4_seq" ) [/lua] Thanks!
Look at the model in model viewer and find the activity for it and use: self:RestartGesture( act ) That should do what you want.
[QUOTE=highvoltage;43695157]Look at the model in model viewer and find the activity for it and use: self:RestartGesture( act ) That should do what you want.[/QUOTE] I just tried using :RestartGesture and I am getting the same results as when I used :StartActivity.
As much as I hate to bump threads, I've found it's not the problem with my sequence or ACT_ but how I am applying it. Does anyone know?
Gestures and postures are kinda impossible to play, they are somewhat broken. Calling StartActivity will reset any animations you are playing if I correctly understand what it does.
Sorry, you need to Log In to post a reply to this thread.