Game Development Community

Animated eye candy

by Robert Brower · in Torque Game Engine · 08/28/2002 (9:05 pm) · 3 replies

Let's say I create a animated butterfly in milkshape. Is there an easy way to drop this in a mission and make it animate? thats all the functionality it needs.

#1
08/29/2002 (12:55 am)
look at this new tutorial, there is all you need to insert an animated model

www.garagegames.com/docs/torque.sdk/tutorials/tutorial01/

only the movement of the model isn't there.
#2
08/29/2002 (12:13 pm)
Yes that tutorial works great. Thanks.
#3
08/29/2002 (1:04 pm)
Anybody wanting to see another example of this tutorial, go here ->

home.attbi.com/~robertbrower/eye.zip.

The zip file contains eye.cs, eye.jpg, and eye.dts which you will need to unzip into /fps/server/scripts. Then add ->

exec("./eye.cs");

<- to onServerCreated() in /fps/server/scripts/game.cs.

Then edit your mission by pressing F11 and add the "Shape" NOT "Static Shape" to it. The eye is found in Shapes, Misc.

For more information on creating the DTS shape using Milkshape which is what I used to create eye.dts, go here -> http://www.garagegames.com/index.php?sec=mg&mod=forums&page=result.thread&qt=6247

Best Regards,

Robert