Weapon animation must all in one?
by King · in Torque Game Engine · 07/14/2005 (5:15 pm) · 5 replies
My mean is ,the weapon animation can not use script? like this:
datablock TSShapeConstructor(AK47Dts)
{
baseShape = "./AK47.dts";
sequence0 = "./ak_fire.dsq Fire";
sequence1 = "./ak_reload.dsq Reload";
sequence2 = "./ak_activate.dsq Activate";
sequence3 = "./ak_deactivate.dsq Deactivate";
sequence4 = "./ak_noammo.dsq NoAmmo";
};
it must all animation into a DTS?
datablock TSShapeConstructor(AK47Dts)
{
baseShape = "./AK47.dts";
sequence0 = "./ak_fire.dsq Fire";
sequence1 = "./ak_reload.dsq Reload";
sequence2 = "./ak_activate.dsq Activate";
sequence3 = "./ak_deactivate.dsq Deactivate";
sequence4 = "./ak_noammo.dsq NoAmmo";
};
it must all animation into a DTS?
#2
07/14/2005 (5:32 pm)
No, that should work fine. Are you sure that the script is executing properly, and that there are no errors in the console? Do the animations work properly in the show tool?
#3
but , put it in starter.fps , its only play NoAmmo sound, it is not play any weapon animation..
so , I think it must all in one.. I'm confused.......
07/14/2005 (6:02 pm)
In show tool , weapon animation all ok.but , put it in starter.fps , its only play NoAmmo sound, it is not play any weapon animation..
so , I think it must all in one.. I'm confused.......
#4
I haven't execute .cs...
I add command line in and then it is fine...
Thanks very much....
07/14/2005 (6:22 pm)
Ok ... Thanks...I haven't execute .cs...
I add command line in and then it is fine...
Thanks very much....
#5
07/14/2005 (6:35 pm)
Glad it works.
Torque Owner David Stewart
Do you have a proper cfg file?
Are using the proper nodes for your animations?
Also, look in "V. Modeling Tools" section in the online documentation.