Help with Character animations
by Duane Richards · in Torque Game Engine · 11/24/2001 (12:57 pm) · 3 replies
Hey all!
Does anyone have any experience with implementing new animations in the Torque engine? I have some animators creating new files for me, now I just have to figure out how to get the engine to use them when certain keys are pressed. For example, crouching and going prone are captured from the user, and the animations exist, but I have to tie them together now.
Any ideas?
Thanks!
Does anyone have any experience with implementing new animations in the Torque engine? I have some animators creating new files for me, now I just have to figure out how to get the engine to use them when certain keys are pressed. For example, crouching and going prone are captured from the user, and the animations exist, but I have to tie them together now.
Any ideas?
Thanks!
About the author
#2
So if I want the animation controlled by the server, is it better to put it in the animations list in player.cc or have it added by the scripts?
11/26/2001 (11:31 am)
Thanks, Tim!So if I want the animation controlled by the server, is it better to put it in the animations list in player.cc or have it added by the scripts?
#3
Are names assigned to the .dsq listings in the player.cs file significant? Do the move listings have to match the names of .dsq animation file?
Thanks again for the help!
11/26/2001 (7:16 pm)
Tim, one more follow-up question:Are names assigned to the .dsq listings in the player.cs file significant? Do the move listings have to match the names of .dsq animation file?
Thanks again for the help!
Torque Owner Tim Gift
The player deals with two kinds of animations (called Actions), those that are automatically selected from input moves, or player movement, and include running, falling, jumping, fall recovery, etc. These are all listed in the static ActionAnimationList table, and selected by pickActionAnimation().
The others are action animations run from scripts, which call the setActionAnimation method directly.
If you search for the word Action in player.cc, you should run across everything related to this.