]> de.git.xonotic.org Git - voretournament/voretournament.git/blobdiff - data/defaultVT.cfg
Attempt to port the shownames feature from Xonotic (floating names above players...
[voretournament/voretournament.git] / data / defaultVT.cfg
index 53935b2c6c66c3be90712f21cc09ac73ead0230c..1baa4ba7dd016215408a657a2fe2b00e5e918029 100644 (file)
@@ -335,6 +335,8 @@ net_connecttimeout 30
 sv_jumpstep 1 // step up stairs while jumping, makes it easier to reach ledges\r
 set ekg 0      "Throw huge amounts of gibs"\r
 \r
 sv_jumpstep 1 // step up stairs while jumping, makes it easier to reach ledges\r
 set ekg 0      "Throw huge amounts of gibs"\r
 \r
+seta sv_shownames_cull_distance 2500 "distance after which to not send origin/health/armor of another player"\r
+\r
 cl_movement 1\r
 cl_stairsmoothspeed 200\r
 cl_forwardspeed $sv_maxspeed\r
 cl_movement 1\r
 cl_stairsmoothspeed 200\r
 cl_forwardspeed $sv_maxspeed\r
@@ -1146,6 +1148,21 @@ seta hud_contents_water_color "0.4 0.3 0.3"
 seta hud_contents_stomach_alpha 0.2 "alpha of the stomach color blend when inside it"\r
 seta hud_contents_stomach_color "0.3 0.2 0"\r
 \r
 seta hud_contents_stomach_alpha 0.2 "alpha of the stomach color blend when inside it"\r
 seta hud_contents_stomach_color "0.3 0.2 0"\r
 \r
+seta hud_shownames 1 "draw names and health/armor of nearby players"\r
+seta hud_shownames_enemies 2 "1 = draw names of enemies you point at (TODO), 2 = draw names of all enemies in view"\r
+seta hud_shownames_status 1 "1 = draw health/armor status of teammates"\r
+seta hud_shownames_statusbar_height 4 "height of status bar"\r
+seta hud_shownames_aspect 8 "aspect ratio of total drawing area per name"\r
+seta hud_shownames_fontsize 12 "font size"\r
+seta hud_shownames_decolorize 1 "1 = decolorize name in team games, 2 = decolorize always"\r
+seta hud_shownames_alpha 0.7 "alpha"\r
+seta hud_shownames_resize 1 "enable resizing of the names, then the size cvars will correspond to the maximum size"\r
+seta hud_shownames_mindistance 1000 "start fading alpha/size at this distance"\r
+seta hud_shownames_maxdistance 2500 "alpha/size is 0 at this distance"\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
+\r
 sbar_info_pos 50\r
 seta sbar_alpha_bg 0.8 "alpha value of the HUD background"\r
 seta sbar_alpha_fg 1 "alpha value of the HUD foreground items"\r
 sbar_info_pos 50\r
 seta sbar_alpha_bg 0.8 "alpha value of the HUD background"\r
 seta sbar_alpha_fg 1 "alpha value of the HUD foreground items"\r