From 3a7a8b160d0e62f09e67418c410dfd178af1b81e Mon Sep 17 00:00:00 2001 From: Samual Date: Sun, 16 Oct 2011 02:39:53 -0400 Subject: [PATCH] hud_*.cfg file corrections part one (fix centerprint positioning/size, score_rankings cvar, and correct some things in the hud_nexuiz.cfg file) --- defaultXonotic.cfg | 2 -- hud_luminos.cfg | 7 ++++--- hud_luminos_minimal.cfg | 7 ++++--- hud_luminos_old.cfg | 7 ++++--- hud_luminos_xhair_minimal.cfg | 7 ++++--- hud_nexuiz.cfg | 7 ++++--- qcsrc/client/hud_config.qc | 3 +++ 7 files changed, 23 insertions(+), 17 deletions(-) diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 3e1b70b04..20ed35169 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1478,8 +1478,6 @@ alias +hud_panel_radar_maximized "cl_cmd hud_panel_radar_maximized 1" alias -hud_panel_radar_maximized "cl_cmd hud_panel_radar_maximized 0" alias hud_panel_radar_maximized "cl_cmd hud_panel_radar_maximized" -seta hud_panel_score_rankings 0 "show rankings: 1 always show my own score; 2 pure rankings" - seta hud_panel_engineinfo_framecounter_time 0.1 "time between framerate display updates" seta hud_panel_engineinfo_framecounter_decimals 0 "amount of decimals to show" seta hud_panel_engineinfo_framecounter_exponentialmovingaverage 1 "use an averaging method for calculating fps instead of counting frametime like engine does" diff --git a/hud_luminos.cfg b/hud_luminos.cfg index b58306a34..f53264ee7 100644 --- a/hud_luminos.cfg +++ b/hud_luminos.cfg @@ -144,6 +144,7 @@ seta hud_panel_score_bg_color_team "" seta hud_panel_score_bg_alpha "" seta hud_panel_score_bg_border "" seta hud_panel_score_bg_padding "0" +seta hud_panel_score_rankings 1 seta hud_panel_racetimer 1 seta hud_panel_racetimer_pos "0.360000 0.110000" @@ -234,8 +235,8 @@ seta hud_panel_physics_progressbar "1" seta hud_panel_physics_text "1" seta hud_panel_centerprint 1 -seta hud_panel_centerprint_pos "0.175000 0.260000" -seta hud_panel_centerprint_size "0.650000 0.210000" +seta hud_panel_centerprint_pos "0.175000 0.220000" +seta hud_panel_centerprint_size "0.650000 0.220000" seta hud_panel_centerprint_bg "0" seta hud_panel_centerprint_bg_color "" seta hud_panel_centerprint_bg_color_team "" @@ -243,7 +244,7 @@ seta hud_panel_centerprint_bg_alpha "" seta hud_panel_centerprint_bg_border "" seta hud_panel_centerprint_bg_padding "" seta hud_panel_centerprint_align "0.5" -seta hud_panel_centerprint_flip "1" +seta hud_panel_centerprint_flip "0" seta hud_panel_centerprint_fontscale "1" seta hud_panel_centerprint_time "3" seta hud_panel_centerprint_fadetime "0.25" diff --git a/hud_luminos_minimal.cfg b/hud_luminos_minimal.cfg index 9cc09a27b..4d82af068 100644 --- a/hud_luminos_minimal.cfg +++ b/hud_luminos_minimal.cfg @@ -144,6 +144,7 @@ seta hud_panel_score_bg_color_team "" seta hud_panel_score_bg_alpha "" seta hud_panel_score_bg_border "" seta hud_panel_score_bg_padding "" +seta hud_panel_score_rankings 1 seta hud_panel_racetimer 1 seta hud_panel_racetimer_pos "0.360000 0.090000" @@ -234,8 +235,8 @@ seta hud_panel_physics_progressbar "3" seta hud_panel_physics_text "2" seta hud_panel_centerprint 1 -seta hud_panel_centerprint_pos "0.175000 0.260000" -seta hud_panel_centerprint_size "0.650000 0.210000" +seta hud_panel_centerprint_pos "0.175000 0.220000" +seta hud_panel_centerprint_size "0.650000 0.220000" seta hud_panel_centerprint_bg "0" seta hud_panel_centerprint_bg_color "" seta hud_panel_centerprint_bg_color_team "" @@ -243,7 +244,7 @@ seta hud_panel_centerprint_bg_alpha "" seta hud_panel_centerprint_bg_border "" seta hud_panel_centerprint_bg_padding "" seta hud_panel_centerprint_align "0.5" -seta hud_panel_centerprint_flip "1" +seta hud_panel_centerprint_flip "0" seta hud_panel_centerprint_fontscale "1" seta hud_panel_centerprint_time "3" seta hud_panel_centerprint_fadetime "0.25" diff --git a/hud_luminos_old.cfg b/hud_luminos_old.cfg index 602510c16..6ffa6fdc6 100644 --- a/hud_luminos_old.cfg +++ b/hud_luminos_old.cfg @@ -144,6 +144,7 @@ seta hud_panel_score_bg_color_team "" seta hud_panel_score_bg_alpha "" seta hud_panel_score_bg_border "" seta hud_panel_score_bg_padding "" +seta hud_panel_score_rankings 1 seta hud_panel_racetimer 1 seta hud_panel_racetimer_pos "0.360000 0.090000" @@ -234,8 +235,8 @@ seta hud_panel_physics_progressbar "1" seta hud_panel_physics_text "1" seta hud_panel_centerprint 1 -seta hud_panel_centerprint_pos "0.175000 0.260000" -seta hud_panel_centerprint_size "0.650000 0.210000" +seta hud_panel_centerprint_pos "0.175000 0.220000" +seta hud_panel_centerprint_size "0.650000 0.220000" seta hud_panel_centerprint_bg "0" seta hud_panel_centerprint_bg_color "" seta hud_panel_centerprint_bg_color_team "" @@ -243,7 +244,7 @@ seta hud_panel_centerprint_bg_alpha "" seta hud_panel_centerprint_bg_border "" seta hud_panel_centerprint_bg_padding "" seta hud_panel_centerprint_align "0.5" -seta hud_panel_centerprint_flip "1" +seta hud_panel_centerprint_flip "0" seta hud_panel_centerprint_fontscale "1" seta hud_panel_centerprint_time "3" seta hud_panel_centerprint_fadetime "0.25" diff --git a/hud_luminos_xhair_minimal.cfg b/hud_luminos_xhair_minimal.cfg index 0e9938652..7512e249f 100644 --- a/hud_luminos_xhair_minimal.cfg +++ b/hud_luminos_xhair_minimal.cfg @@ -144,6 +144,7 @@ seta hud_panel_score_bg_color_team "" seta hud_panel_score_bg_alpha "" seta hud_panel_score_bg_border "" seta hud_panel_score_bg_padding "" +seta hud_panel_score_rankings 1 seta hud_panel_racetimer 1 seta hud_panel_racetimer_pos "0.360000 0.090000" @@ -234,8 +235,8 @@ seta hud_panel_physics_progressbar "3" seta hud_panel_physics_text "2" seta hud_panel_centerprint 1 -seta hud_panel_centerprint_pos "0.175000 0.260000" -seta hud_panel_centerprint_size "0.650000 0.210000" +seta hud_panel_centerprint_pos "0.175000 0.220000" +seta hud_panel_centerprint_size "0.650000 0.220000" seta hud_panel_centerprint_bg "0" seta hud_panel_centerprint_bg_color "" seta hud_panel_centerprint_bg_color_team "" @@ -243,7 +244,7 @@ seta hud_panel_centerprint_bg_alpha "" seta hud_panel_centerprint_bg_border "" seta hud_panel_centerprint_bg_padding "" seta hud_panel_centerprint_align "0.5" -seta hud_panel_centerprint_flip "1" +seta hud_panel_centerprint_flip "0" seta hud_panel_centerprint_fontscale "1" seta hud_panel_centerprint_time "3" seta hud_panel_centerprint_fadetime "0.25" diff --git a/hud_nexuiz.cfg b/hud_nexuiz.cfg index a7df28b14..108072715 100644 --- a/hud_nexuiz.cfg +++ b/hud_nexuiz.cfg @@ -125,7 +125,7 @@ seta hud_panel_timer_bg_border "" seta hud_panel_timer_bg_padding "0" seta hud_panel_radar 2 -seta hud_panel_radar_pos "0.800000 0" +seta hud_panel_radar_pos "0 0" seta hud_panel_radar_size "0.200000 0.260000" seta hud_panel_radar_bg "border_radar" seta hud_panel_radar_bg_color "" @@ -144,6 +144,7 @@ seta hud_panel_score_bg_color_team "" seta hud_panel_score_bg_alpha "" seta hud_panel_score_bg_border "" seta hud_panel_score_bg_padding "" +seta hud_panel_score_rankings 0 seta hud_panel_racetimer 1 seta hud_panel_racetimer_pos "0.360000 0.140000" @@ -235,7 +236,7 @@ seta hud_panel_physics_text "2" seta hud_panel_centerprint 1 seta hud_panel_centerprint_pos "0.175000 0.260000" -seta hud_panel_centerprint_size "0.650000 0.210000" +seta hud_panel_centerprint_size "0.650000 0.200000" seta hud_panel_centerprint_bg "0" seta hud_panel_centerprint_bg_color "" seta hud_panel_centerprint_bg_color_team "" @@ -243,7 +244,7 @@ seta hud_panel_centerprint_bg_alpha "" seta hud_panel_centerprint_bg_border "" seta hud_panel_centerprint_bg_padding "" seta hud_panel_centerprint_align "0.5" -seta hud_panel_centerprint_flip "1" +seta hud_panel_centerprint_flip "0" seta hud_panel_centerprint_fontscale "1" seta hud_panel_centerprint_time "3" seta hud_panel_centerprint_fadetime "0.25" diff --git a/qcsrc/client/hud_config.qc b/qcsrc/client/hud_config.qc index c7922eebc..c091a4a60 100644 --- a/qcsrc/client/hud_config.qc +++ b/qcsrc/client/hud_config.qc @@ -108,6 +108,9 @@ void HUD_Panel_ExportCfg(string cfgname) case HUD_PANEL_RADAR: HUD_Write_PanelCvar_q("_foreground_alpha"); break; + case HUD_PANEL_SCORE: + HUD_Write_PanelCvar_q("_rankings"); + break; case HUD_PANEL_VOTE: HUD_Write_PanelCvar_q("_alreadyvoted_alpha"); break; -- 2.39.2