Game Development Community

DTS plus DSQ not loading correctly in TGEA?

by Jamie Telford · in Artist Corner · 09/04/2009 (1:00 am) · 0 replies

Hi.. this has been posted before but not followed up sufficiently..

I have a DTS with seperate DSQ animation and I get the following error when its loaded into TGEA 1.8.1
(example shows identical file structure working in Showtool pro and T3D)

www.jamietelford.com/bintwo/JointDistortion.jpg
I use the following script

datablock TSShapeConstructor(meilong2Dts){    
 
	baseShape = "~/data/meilong/meilong.dts";
	sequence0 = "~/data/meilong/meilong_alert.dsq alert";
	sequence1 = "~/data/meilong/meilong_idle.dsq idle";
	sequence2 = "~/data/meilong/meilong_idle_Blink.dsq idleBlink";
	sequence3 = "~/data/meilong/meilong_jump.dsq jump";
	sequence4 = "~/data/meilong/meilong_lookAround.dsq lookAround";
	sequence5 = "~/data/meilong/meilong_run.dsq run";
	sequence6 = "~/data/meilong/meilong_scratch.dsq scratch";
	sequence7 = "~/data/meilong/meilong_shakeHead.dsq shakeHead";
	sequence8 = "~/data/meilong/meilong_walk.dsq walk";	
};


datablock StaticShapeData(meilong)
{
   category ="dinosaur";
  className = "meilong";
   shapeFile = "~/data/meilong/meilong.dts";
};
function meilong::onAdd(%this,%obj){     

      %obj.playThread(0,"shakeHead");  

      }     
	  
   function StaticShapeData::create(%block){        
      %obj = new StaticShape() 
      	  
      {        
         dataBlock = %block;
         };     
         return(%obj);  
   }

Maya source Click Here

Any help or clues from the community would be great...

Thanks in advance

Jamie

About the author

Researcher for ADM at NTU

Recent Threads

  • plain old showtool???