Baddies Organization
by Matthew Harris · in Torque Game Builder · 10/01/2006 (12:37 am) · 1 replies
I have a cluster of bad guys, mounted on a path circling about. http://members.aol.com/SpindleTec/cluster.png The little bad guys name is dusty with the class dustClass, and the path name is squadFive with the class squadFiveClass. My question... How do I respawn this whole group at a different part of the level once they all die. What can I use as a spawn point. Here is a movie of what I have so far. http://members.aol.com/SpindleTec/tgbdial.mov The bad guys are each name differently, and the two squads are each named differently and everything is placed in the editor and hard coded. Its very sloppy. I just want one set of bad guys to die and then spawn to a different point as if there are multiple baddies. Is there a better way to handle enemy placement?
Torque Owner AzraelK
If you place a common mount or pivot point for all the baddies then respawn them in that spot and place them at different angles, it should look like they are following a path by setting a rotation speed.
Also I recommend to use SIn and Cos to send your characters through Sinuous paths, (you could also use them to form circles and hyperboles but using the above trick it shouldnt be needed).
I hope that helps!