TeamId v2
by Sam Guffey · in Torque Game Engine · 07/09/2005 (5:55 pm) · 3 replies
I've updated my TeamId resource to be easier to use and added a few more options to the guiShapeNameHud that allows 3 different colors to be rendered based on your team and whom you are viewing.
Team implementation 'script wise' is very simple and really doesnt require and engine changes at all, but to get the full use out of it all you might as well go all the way right?
What it does:
Using script you set a 'ShapeBase' objects team using one of 2 methods explained in the resource. It will then render by default a Red color to those of the enemy team, Green to those of the same team and White on all observers.
You can also set flags that disables name drawing based on teams as well.
Example:
showEnemies true|false "Do we draw the enemies names on the screen?"
showFriendlies true|false "Do we draw team members names on the screen?"
When the resource is completed I'll post a link to it.
Sam
Team implementation 'script wise' is very simple and really doesnt require and engine changes at all, but to get the full use out of it all you might as well go all the way right?
What it does:
Using script you set a 'ShapeBase' objects team using one of 2 methods explained in the resource. It will then render by default a Red color to those of the enemy team, Green to those of the same team and White on all observers.
You can also set flags that disables name drawing based on teams as well.
Example:
showEnemies true|false "Do we draw the enemies names on the screen?"
showFriendlies true|false "Do we draw team members names on the screen?"
When the resource is completed I'll post a link to it.
Sam
About the author
Torque Owner Todd Johnson