It's true that Render to texture isn't required to make that. But ou need to add a 2D GUI renderer to the game for that to work
Like Doom 3.
Also, you'll note that Unreal Tournament had such weapon indicators for a looong time ( and even ingame scoreboard anouncement ... ) and it worked with Glide.
1 I just had a look in /ui dir, I think I'l hack healthbar in hud first (looks so simple) and teammates healthbar under nicks
bzzz bzzz
int *health;
float w, x;
if( !cg_drawCrosshair.integer )
return;
if( !cg_drawCrosshairNames.integer )
return;
if( cg.renderingThirdPerson )
return;
// scan the known entities to see if the crosshair is sighted on one
CG_ScanForCrosshairEntity( );
// draw the name of the player being looked at
color = CG_FadeColor( cg.crosshairClientTime, 1000 );
if( !color )
{
trap_R_SetColor( NULL );
return;
}
name = cgs.clientinfo[ cg.crosshairClientNum ].name;
health = cgs.clientinfo[ cg.crosshairClientNum ].health;
w = CG_Text_Width( name, scale, 0 );
x = rect->x + rect->w / 2;
CG_Text_Paint( x - w / 2, rect->y + rect->h, scale, color, name, 0, 0, textStyle );
CG_Text_Paint( x - w / 2, rect->y + rect->h + 1, scale, color, health, 0, 0, textStyle );
that should display health of teammates, in wrong place I'm sure (no way to test it out without bots or someone to help me)
2 nev rev in svn (809) , but none of my patches made it :/
3 Unreal Tournament had it? I cant seem to remember it, hmm maybe ammo count on pulserifle or something, yes