Game Development Community

need help in dts animation

by Balasubramaniyam · in Torque Developer Network · 06/25/2009 (3:05 am) · 3 replies

hai friends... i have tried forum NEED HELP IN ANIMATED DTS and i tried given steps for bouncing ball animation but still not working... i have attached the my output console file... can u help me...
this is my console.log file..

--------------------------------
Loading compiled script demo/server/scripts/radiusDamage.cs.
Loading compiled script demo/server/scripts/chimneyfire.cs.
Loading compiled script demo/server/scripts/item.cs.
Loading compiled script demo/server/scripts/weapon.cs.
Loading compiled script demo/server/scripts/flag.cs.
Loading compiled script demo/server/scripts/ambient.cs.
demo/server/scripts/ambient.cs (7): preload failed for BouncingBall: ShapeBaseData: Couldn't load shape "demo/data/shapes/animatedProps/bouncingBall.dts".
Loading compiled script common/server/lightingSystem.cs.
---------------------------------

#1
06/25/2009 (5:45 am)
Your 'ambient' script has told the engine to look for an art asset[bouncingBall.dts] in a very specific place; in a folder called "animatedProps".

The engine, during runtime, after excuting the 'ambient' script cannot locate the art asset in the specific folder.

1. You have the "bouncingBall.dts" art asset in the wrong location/folder.

or

2. Your .dts file is not a valid .dts file?

What, 'bouncing ball' 'given steps' did you follow?

How did you generate the bouncingBall.dts and did you inspect the art in a visualizer before trying to get it to work with script?

This sounds entirely like a pathing issue, IE, the art is in the wrong place or script is pointing to the wrong place/mod/game.
#2
06/25/2009 (9:16 pm)
ya... now i correct my mistakes... now no error in my console log file....
but when i place the dts file into torque engine it could't animated?
#3
06/26/2009 (6:22 am)
You need to script the shape's animation to play during runTime....

The TDN pages might have some good scripting tutorials.

Documentation & TDN links