\r
set sv_motd ""\r
\r
-seta cl_shownames 2 "show player names pointed to (0: never, 1: teamplay only, 2: always)"\r
+seta cl_shownames 0 "show player names pointed to (0: never, 1: teamplay only, 2: always) (deprecated in VoreTournament)"\r
set sv_allow_shownames 1\r
\r
set g_waypoints_for_items 1 "make waypoints out of items, values: 0 = never, 1 = unless the mapper prevents it by worldspawn.spawnflags & 1, 2 = always"\r
seta hud_shownames_antioverlap 1 "if two tags get too close to each other, fade out the one further away from you"\r
seta hud_shownames_antioverlap_distance 125 "2d distance to other tag after which to fade out"\r
seta hud_shownames_offset 52 "offset (along z-axis) tag from player origin by this many units"\r
+seta hud_shownames_offset_healthsize 0.25 "offset (along z-axis) tag from player origin by this many units, based on player size"\r
\r
sbar_info_pos 50\r
seta sbar_alpha_bg 0.8 "alpha value of the HUD background"\r
{
ent.origin_z += cvar("hud_shownames_offset");
+ // offset the name by player scale, decided by health
+ if(g_healthsize)
+ ent.origin_z -= (g_healthsize - ent.healthvalue) * cvar("hud_shownames_offset_healthsize");
+
if(!ent.sameteam)
{
/* WIP, why does trace_ent != ent not work as intended here?
\r
WriteCoord(MSG_ENTITY, cvar("g_vore"));\r
WriteCoord(MSG_ENTITY, g_balance_vore_swallow_limit);\r
+ WriteCoord(MSG_ENTITY, cvar("g_healthsize"));\r
\r
// tell the client if this server uses armor\r
float armor_max;\r