Game Development Community

Is it possible - multiple IDLE animations?

by Maxim Lyulyukin aka "Robomaniac" · in Artist Corner · 07/19/2007 (2:47 am) · 4 replies

Hi guys..
is it possible to make multiple IDLE animations that will play randomly using torque script only??

#1
07/19/2007 (8:44 am)
It's been a while since I've played with stock TGE, but I don't think you can have multiple "pure" idles. You might be able to fake it by setting different looping animations but I don't know how well that would mesh with the normal behaviors. Back when I was playing with it, I was doing cutscenes so I had more control over my environment.
#2
07/19/2007 (9:20 am)
Don't try to make them idle animations... just have one idle and periodically play different action animations. There is a script function in ShapeBase to do that.
#3
07/19/2007 (12:33 pm)
Thanks for reply,
it seems i need to create additional sequeces and add them to existent list, than i will execute them randomly from script ... need to look at player.cc and player.h, may be i found something helpfull...
.. anybody knows where i can found resource on how to change time of blending animations, cause it seems blend time is fixed
#4
02/25/2009 (2:39 pm)
Sorry to be tardy to the party, but in case anyone's still interested in something like this, Player::pickActionAnimation could be pretty easily modified to change the animation that gets defaulted to (based on whatever criteria you like).