Game Development Community

Adding a separate animation for sprinting

by Grey9999 · in Torque 3D Beginner · 11/24/2012 (5:16 am) · 6 replies

How do I get started with making the game show a different forward animation while sprinting? Can this be done with script or do I need to modify the source code? Thanks for reading.


#1
11/24/2012 (8:21 am)
Nevermind found it in the documentation its already implemented you just need sequences with the right names.

sprint_root
sprint_forward
sprint_backward
sprint_side
sprint_right
#2
11/24/2012 (12:16 pm)
you can also add your own animations, such as 'greeting' and add them in, bind them to a key and use %obj.playThread( 0, "greeting" ); all from within TorqueScript :-)
#3
11/26/2012 (9:26 pm)
sweet, thanks
#4
12/07/2012 (12:35 pm)
#2 Hi, I'm new so this question will probably sound stupid but how can i see where all keys are binded i mean there is any file where tell the action of each key? I want to make that when u press a key a GUI item is displayed and i have been looking for hours and i can't find anything thanks.
#5
12/07/2012 (1:00 pm)
@Manuel Garcia: see scripts/client/default.bind.cs
#6
12/08/2012 (4:31 am)
#5 Thanks a lot I was geting crazy