Game Development Community

Jump Animation

by Brad Wilson · in Artist Corner · 02/01/2003 (2:08 pm) · 2 replies

I am having trouble gettin my jump animation working. No matter what animation i use, the show tool will not display it and the Demo crashes. I even went as far as to export my run animation as player_jump.dsq and still no dice.

Here is my .cs file:


//-----------------------------------------------------------------------------
// Torque Game Engine
//
// Copyright (c) 2001 GarageGames.Com
// Portions Copyright (c) 2001 by Sierra Online, Inc.
//-----------------------------------------------------------------------------

datablock TSShapeConstructor(PlayerDts)
{
baseShape = "./Player.dts";
sequence0 = "./player_root.dsq root";
sequence1 = "./player_run.dsq run";
sequence2 = "./player_run.dsq back";
sequence3 = "./player_side.dsq side";
sequence4 = "./player_lookde.dsq look";
sequence5 = "./player_lookde.dsq head";
sequence6 = "./player_root.dsq fall";
sequence7 = "./player_root.dsq land";
sequence8 = "./player_jump.dsq jump";
// sequence9 = "./player_diehead.dsq death1";
// sequence10 = "./player_diechest.dsq death2";
// sequence11 = "./player_dieback.dsq death3";
// sequence12 = "./player_diesidelf.dsq death4";
// sequence13 = "./player_diesidert.dsq death5";
// sequence14 = "./player_dieleglf.dsq death6";
// sequence15 = "./player_dielegrt.dsq death7";
// sequence16 = "./player_dieslump.dsq death8";
// sequence17 = "./player_dieknees.dsq death9";
// sequence18 = "./player_dieforward.dsq death10";
// sequence19 = "./player_diespin.dsq death11";
// sequence20 = "./player_looksn.dsq looksn";
// sequence21 = "./player_lookms.dsq lookms";
// sequence22 = "./player_scoutroot.dsq scoutroot";
// sequence23 = "./player_headside.dsq headside";
// sequence24 = "./player_recoilde.dsq light_recoil";
// sequence25 = "./player_sitting.dsq sitting";
// sequence26 = "./player_celsalute.dsq celsalute";
// sequence27 = "./player_celwave.dsq celwave";
// sequence28 = "./player_standjump.dsq standjump";
// sequence29 = "./player_looknw.dsq looknw";
};

Help!!!!!

#1
02/02/2003 (7:11 am)
Make certain that the nodes that are in the DSQ (the biped, and all the TGE stuff such as mount points and things like that) are exactly the same across both your DTS and your DSQ. If they are not the same your DSQ will not work on the mesh.

Logan
#2
02/02/2003 (8:19 am)
Okay, I realized that i had recently got the source at the head to pick up the AIPlayer stuff. I rebuilt everything including the max dts exporter. Still having issues. I am going to make sure that i don't have some binaries mismatched.

Thanks