Game Development Community

Targeting manager...

by Chris "Dark" Evans · in Torque Game Engine · 07/18/2001 (12:27 am) · 2 replies

In the interview at IMG Tim Gift said:

"...One of the things was the targeting manager, which was just spread throughout the code. All of the objects access the targeting manager, so it's one of those things where we don't really need it, but it's going to take us forever to rip it out."


What exactly is the Targeting Manager?

Please forgive my ignorance. Everything I know about programming I've taught myself. I've never taken a class, or read a programming book so I don't know the terms people use.

Does the Targeting Manager have anything to do with predicting where projectiles will hit?



Chris "Dark" Evans

#1
07/20/2001 (7:26 am)
The Targeting Manager was a very Tribes2 specific chunk of code that Sierra explicitly asked us to remove. Tim and I wholly agreed that the T2 Targeting Manager was not a good fit for a general purpose engine but definitely did not look forward to removing all the code. The Targeting Manager was somewhat of a catch all system (I refuse to call it a class, because it was everywhere in the code!) that was originally put in to draw those little green and red triangles above players heads -- but later is got tied into the sensors, ai and various other things it shouldn't have. It was a tangle of many thousand lines of code, I am very happy it is gone -- if someone needs similar functionality it can be done much easier and in a less obtrusive way.

--Rick
#2
07/20/2001 (8:27 am)
Rick how could I code something similar to the targeting manager with the arrows over the players heads.....??

Thanks,
Bryan