Game Development Community

TGE & RTS question

by Kirchgessner · in Torque Game Engine · 08/31/2006 (3:22 pm) · 2 replies

I am curious about how I could create an RTS unit, and make it follow and spawn with a regular player.

I have the RTS pack and I want to use it to create a dog unit, this dog will use the AI that the RTS uses in order to follow the player.

Then when a player shoots his un or attacks somithing else the attack command is set to what ever the crosshair is over...

#1
08/31/2006 (3:31 pm)
I'm not sure how much this is going to help you but take a look at this: www.garagegames.com/developer/torque/tge/. The last paragraph talks a little about AI which you may be able to implement something like this on your unit that follows, maybe having it attack or move with the unit it is following.
#2
08/31/2006 (5:05 pm)
Well I just want to use the commands that are already present in the engine, but I want them to be activated by the crosshair GUI and the players position instead of the normal RTS mouse clicking and stuff.
I wanted to see if any one could figure out how to do this real easily.