Game Development Community

Need help with buildingh animation

by Blackcode · in Torque Developer Network · 08/17/2006 (2:20 pm) · 1 replies

I bought two animated building packs and I do not know how to use the animated ones...
someone can help me with that part of scripting???

this is the readme.txt from the packs....



---------------------------------------------------------------------------------------------------------------------------------------
Garagegames RTS Starter Kit & RTS Buildings Pack:Humans

The RTS Buildings Pack:Humans contains 5 animated buildings, ready to use wit the Garagegames RTS Starter Kit. They are located in the "RTSBuildingsPack_Humans/Ready_to_use DTS files Folders/animated/" folder.

Each building has 3 animations/states :

- "Create"
2 frames, non cyclic
This animation provides a building under construction

- "idle"
2 frames, non cyclic
This animation provides a constructed building

- "destroy"
non cyclic
The building falls.
----------------------------------------------------------------------------------------------------------------------------------------

#1
08/17/2006 (2:29 pm)
Blackcode,

First of all, thank you for buying our content packs :)

To animate the buildings, try to use :

%MyBuilding.playThread(0,"AnimationName");

If you want informations and support about the Human and/or the Orc building pack, feel free to contact me at christophe@frogames.com

Thank you
Christophe
www.frogames.net