Game Development Community

Character animations setup in 3dsmax

by H.W. Kim · in Torque Game Engine · 01/27/2008 (11:43 pm) · 0 replies

Hello,

Done almost but get no luck for perfect exporting a character till now. :/

All my exported model and animations(root, forward, back, side) looks fine when I load those into and see with 'torqueDemo.exe -game show'.

But I copied those resources to starter.fps/data/shapdes/players then the exported model's animations is not correctly do transition. Look the following image:
pds8.egloos.com/pds/200801/28/53/a0006553_479d8dbe09014.pngEven when I press 'w', there's no animations.(But sometimes it does animation but not forward animationa but side animation.)

I guess I correctly configered out 'player.cs' file. It is same to the original but I changed it only to use 'player_side.dsq' for all animations form sequence4 because I didn't made any other animations except root, forward, bak and side.
datablock TSShapeConstructor(PlayerDts)
{
   baseShape = "./player.dts";
   sequence0 = "./player_root.dsq root";
   sequence1 = "./player_forward.dsq run";
   sequence2 = "./player_back.dsq back";
   sequence3 = "./player_side.dsq side";
  // changed all animations from sequence4 to use 'player_side.dsq' 
  // because I didnt made any other animations except root, forward, bak and side.
   sequence4 = "./player_side.dsq look";
   sequence5 = "./player_side.dsq head";
   sequence6 = "./player_side.dsq fall";
   sequence7 = "./player_side.dsq land";
   sequence8 = "./player_side.dsq jump";
   sequence9  = "./player_side.dsq death1";
   sequence10 = "./player_side.dsq death2";
   sequence11 = "./player_side.dsq death3";
   sequence12 = "./player_side.dsq death4";
   sequence13 = "./player_side.dsq death5";
   sequence14 = "./player_side.dsq death6";
   sequence15 = "./player_side.dsq death7";
   sequence16 = "./player_side.dsq death8";
   sequence17 = "./player_side.dsq death9";
   sequence18 = "./player_side.dsq death10";  
   sequence19 = "./player_side.dsq death11";
   sequence20 = "./player_side.dsq looksn";
   sequence21 = "./player_side.dsq lookms";
   sequence22 = "./player_side.dsq scoutroot";
   sequence23 = "./player_side.dsq headside";
   sequence24 = "./player_side.dsq light_recoil";
   sequence25 = "./player_side.dsq sitting";
   sequence26 = "./player_side.dsq celsalute";
   sequence27 = "./player_side.dsq celwave";
   sequence28 = "./player_side.dsq standjump";
   sequence29 = "./player_side.dsq looknw";
};

The page, Troubleshooting Common Problems says like the following:
Quote: You must have your model animated so that it literally moves forward from its current position. Simply having your bounding box animate, or having your objects legs move up and down in the scene (but the body remains in the same position) will not work.
What does the above exactly means? Does that mean that the model in the 3dsmax should have different positon for each of frames to move forward, backward or side?
The model I exported always has same position in the 3dsmax(not actually move) even it is forward, back or side animation either.