Game Development Community

Rts/tps swooping

by Kevin Scheer · in Torque Game Engine · 07/07/2008 (2:23 pm) · 3 replies

Hi everybody. We are a group of two semi newbie indie developers with a bit of a jam. We are trying to design a rts with a unique feature which will allow the player too "swoop" down and join their troops on the battlefield, switching the game play and the perspective to a third person shooter style. We were having trouble figuring out a way to program this, and we were wondering if any of you could give us a hand. Every post id appreciated. thanks

#1
07/08/2008 (10:11 am)
Well the "swoop" is one thing, but if you just want to switch camera/control objects, look at GameConnection::setControlObject and GameConnection::setCameraObject.
#2
09/01/2008 (5:30 pm)
No, we want to be able to create a new character and place him on the battlefield to control in third person mode, while just giving everyone else basic commands while in this mode.
#3
09/01/2008 (6:56 pm)
Just break it down into steps, look at the example code that came with torque, when a player "Spawns" it does the exact same thing, it creates a new player object, switches control to said object, then...well that's it!