Turning off client object names display
by Adios, Man! · in Torque Game Engine · 07/20/2004 (3:11 pm) · 2 replies
Whenever you have more than one client (besides the local client connection), their names are displayed over their objects in a small green font - by default, I suppose.
I haven't run in to where this rendering is done, but I would like to be able to turn it off. Does anybody know where in the code (script or engine) this name rendering is done?
I haven't run in to where this rendering is done, but I would like to be able to turn it off. Does anybody know where in the code (script or engine) this name rendering is done?
#2
My real goal was to replace the text with a bitmap icon that always displayed over the player position, so when the camera was zoomed out all the way in the sky the players could be identified by their icons.
To do that, I made guiShapeNameHud a child of guiBitmapCtrl and replaced the drawName call to a dglDrawBitmapStretch call. It works pretty well.
07/22/2004 (6:44 am)
Thanks for the help!My real goal was to replace the text with a bitmap icon that always displayed over the player position, so when the camera was zoomed out all the way in the sky the players could be identified by their icons.
To do that, I made guiShapeNameHud a child of guiBitmapCtrl and replaced the drawName call to a dglDrawBitmapStretch call. It works pretty well.
Torque Owner CdnGater
Duggan Software Studio
look for the gui element called GuiShapeNameHud. This displays the names automaticaly.
To get rid of the names, delete GuiShapeNameHud and its components from your file.