Game Development Community

Display player name

by Gilles Jr Lafrance · in Torque Game Engine · 04/11/2003 (6:18 am) · 3 replies

I lost the display name on the players :( I'm sure it's in my script somewhere but cannot find what is calling it. Does anyone know where the diplay name (on each players) is called in script ? Thanks for any infos on that.

Gilles Jr Lafrance

#1
04/11/2003 (6:21 am)
In fps/client/ui/playgui.gui

new GuiShapeNameHud() {
      profile = "GuiDefaultProfile";
      horizSizing = "width";
      vertSizing = "height";
      position = "2 -1";
      extent = "653 485";
      minExtent = "8 8";
      visible = "1";
      helpTag = "0";
      FillColor = "0.000000 0.000000 0.000000 0.250000";
      frameColor = "0.000000 1.000000 0.000000 1.000000";
      textColor = "0.000000 1.000000 0.000000 1.000000";
      showFill = "0";
      showFrame = "0";
      verticalOffset = "0.2";
      distanceFade = "0.1";
         damageFrameColor = "1.000000 0.600000 0.000000 1.000000";
         damageFillColor = "0.000000 1.000000 0.000000 1.000000";
         damageRect = "30 4";
   };
#2
04/11/2003 (6:27 am)
Doh ! I had deleted it ?! Thanks really much Ron !
#3
04/24/2006 (4:38 am)
Hi !

i want to display the player name on his head in the 3d world . how to achieve.
i tried adove code , i did't work fine.
pls help me.