This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
OK, so I got my names to work. But now when i try to hud rendering code from the 
studiomodelrender heres what happened.

http://home.attbi.com/~inbeastic/images/airplane20000.jpg

>From what i can see, the hud is being rendered in space?
heres my code in DrawPlayer

 if (cl_drawpnames->value > 0)
 {
  vec3_t screen;
  int nx, ny, orgx, orgy;

  gEngfuncs.pTriAPI->WorldToScreen(m_pCurrentEntity->origin,screen);

  screen[0] = XPROJECT(screen[0]);
  screen[1] = YPROJECT(screen[1]);
  screen[2] = 0.0f;


  nx = static_cast<int>(screen[1]);

  ny = static_cast<int>(screen[0]);

  gHUD.DrawHudString(nx, ny, ScreenWidth, m_pPlayerInfo->name , 0, 128, 255);

}
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to