Game Development Community

RTS Building starting position

by TheMartian · in RTS Starter Kit · 05/08/2013 (1:08 pm) · 4 replies

I hadn't looked at this code in years and I was checking it out and I noticed that in this add on (compared to the RTS example for T3D) that when you place the building it starts under the terrain, rises up, and then starts its animation.

I glanced around the place building, start building, etc and its not real clear what sets the building to below
the terrain and then causes it to rise up. no comments or mention about it in the code, only the documentation makes a brief statement about it.

anyway familiar with where that is being done? and how it does the timing for it? (something must check for it to be completely raised before starting the animation right?)

thanks.

#1
07/05/2013 (11:56 pm)
The animation "state" ... think the buildings had (3) animations; under construction (below ground), constructed (normal) and destroyed (goes back under ground).

If you get the RTS building pack from frogames, they animation nicely as well.
#2
07/08/2013 (3:21 pm)
ah very cool. wasn't real intuitive but doing it through the animation is effective. thanks!
#3
07/09/2013 (11:29 am)
I would expect that some of the code from the TGE RTS kit ... could be ported over to T3D as well.

But if you are playing with the TGE RTS kit ... I'd suggest finding the "world domination" ... add on or such that was freely available. It extended the RTS kit a bit, with more features and art assets.
#4
07/10/2013 (11:50 am)
ah yeah would be nice to have a RTS kit for Torque3D and not just the FPS stuff.

as for world domination its listed here
http://tdn.garagegames.com/wiki/RTSStarterKit/WorldDomination

and the blog for it is here
http://www.garagegames.com/community/blogs/view/13867

in case someone else is looking for it as well.