Game Development Community

HOW TO RUN THE RUN DSQ SEQUENCE

by CloudFire · in Torque Developer Network · 09/29/2009 (8:58 am) · 2 replies

In Our Project



I have to run the two dsq files. One is run sequence and another one should play jump sequence.

here i am playing the run sequence. But i dont know how to play the jump sequence.

when space bar should pressed the jump dsq should play.

i have bind the space bar also. but when i press the space the dsq is not working.

plz give the solution.. when i click the space the user should jump.


baseShape = "./male.dts";
sequence0 = "art/shapes/players/animations/male_walk.dsq root";
sequence1 = "art/shapes/players/animations/run09.dsq back";
sequence2 = "art/shapes/players/animations/jump.dsq walk";


#1
10/05/2009 (8:59 am)
kkkkkkkkkkkkkkkkkkkkkkkkkkkkk
#2
10/05/2009 (11:31 am)
Perhaps sequence 2 should be called jump?
sequence2 = "art/shapes/players/animations/jump.dsq jump";
The xxx.dsq is the name of your animation file itself, the name afterwords is a "keyword" for the animation that the engine looks for when it needs/wants to perform a certain action.

You should also verify that your keybind is being correctly called. Which engine are you asking this question for? If for TGE then make sure you delete the old DSO files as well as config.cs -- let these be regenerated.