Getting rid of the names above the player's heads
by Josef Jahn · in Torque Game Engine · 02/01/2003 (2:40 pm) · 7 replies
Hi,
Does anyone know where the client names are being drawn in the code? I mean the name tag that hovers over the other player's heads... Maybe I'm just blind, but I can't find it anywhere!
Any help would be greatly appreciated.
Does anyone know where the client names are being drawn in the code? I mean the name tag that hovers over the other player's heads... Maybe I'm just blind, but I can't find it anywhere!
Any help would be greatly appreciated.
#2
so pressing F10 and removing the instance of GuiShapeNameHud
which is the c++ name so it might not be the same
another option is to not have the name valid so something like
%player.setShapeName(""); would prolly do it.
(will still fall thru unecessary code but wont be drawing)
02/01/2003 (2:55 pm)
no the shape names are part of the guiso pressing F10 and removing the instance of GuiShapeNameHud
which is the c++ name so it might not be the same
another option is to not have the name valid so something like
%player.setShapeName(""); would prolly do it.
(will still fall thru unecessary code but wont be drawing)
#3
02/01/2003 (5:16 pm)
I believe you can modify the source for GuiShapeNameHud to not display the name.
#4
seem kinda pointless tho no?
the name defines its job ..
its basically an overlay over screen and it draw's text at coordinates and only names... so if you were to change that.. why even have it?
unless you want to early out for a reason. and still keep it for another reason
Edit:
this is simply a portion of gui declared in the playgui script.
02/01/2003 (5:21 pm)
heh ..seem kinda pointless tho no?
the name defines its job ..
its basically an overlay over screen and it draw's text at coordinates and only names... so if you were to change that.. why even have it?
unless you want to early out for a reason. and still keep it for another reason
Edit:
this is simply a portion of gui declared in the playgui script.
#6
The only way I've found to get rid of the player names without getting this "ap" box is to hack the c++ code for GuiShapeNameHud not to do the call to drawName().
09/26/2006 (8:37 am)
I find if I remove the GuiShapeNameHud, or set it to visible=0, then I see a little white box on the screen that says "ap" in it. This box moves with the viewpoint.The only way I've found to get rid of the player names without getting this "ap" box is to hack the c++ code for GuiShapeNameHud not to do the call to drawName().
#7
Here's the fix:
www.garagegames.com/mg/forums/result.thread.php?qt=48360
09/26/2006 (8:43 am)
Quote:This is caused by a bug in the GUI code.
I find if I remove the GuiShapeNameHud, or set it to visible=0, then I see a little white box on the screen that says "ap" in it. This box moves with the viewpoint.
Here's the fix:
www.garagegames.com/mg/forums/result.thread.php?qt=48360
Torque 3D Owner Pat Wilson