From 7165cb2e03e4e8295504cfcf66996a5ea82424dc Mon Sep 17 00:00:00 2001 From: Samual Date: Mon, 17 Oct 2011 15:14:32 -0400 Subject: [PATCH] Move some hud_panel_radar cvars to the hud_*.cfg files, they actually do belong there for the most part. --- _hud_common.cfg | 4 ---- _hud_descriptions.cfg | 3 +++ hud_luminos.cfg | 3 +++ hud_luminos_minimal.cfg | 3 +++ hud_luminos_minimal_xhair.cfg | 3 +++ hud_luminos_old.cfg | 3 +++ hud_nexuiz.cfg | 3 +++ qcsrc/client/hud_config.qc | 3 +++ 8 files changed, 21 insertions(+), 4 deletions(-) diff --git a/_hud_common.cfg b/_hud_common.cfg index 3a0c0ce1d..6d14e4fb6 100644 --- a/_hud_common.cfg +++ b/_hud_common.cfg @@ -22,10 +22,6 @@ seta hud_panel_healtharmor_maxarmor "200" "when you have this much armor, the ar seta hud_panel_healtharmor_progressbar_gfx_damage 5 "show damage effect when damaged at least by this amount; 0 disables the effect" seta hud_panel_healtharmor_progressbar_gfx_lowhealth 40 "health progressbar blinks when health is lower than this amount" -seta hud_panel_radar_scale 4096 "distance you can see on the team radar" -seta hud_panel_radar_maximized_scale 8192 "distance you can see on the radar when maximized" -seta hud_panel_radar_maximized_size "0.5 0.5" "size of the radar when maximized" - seta hud_panel_engineinfo_framecounter_exponentialmovingaverage 1 "use an averaging method for calculating fps instead of counting frametime like engine does" seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_new_weight 0.1 "weight of latest data point" seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_instantupdate_change_threshold 0.5 "threshold for fps change when to update instantly, to make big fps changes update faster" diff --git a/_hud_descriptions.cfg b/_hud_descriptions.cfg index d4e08e927..4e057c508 100644 --- a/_hud_descriptions.cfg +++ b/_hud_descriptions.cfg @@ -151,6 +151,9 @@ seta hud_panel_radar_bg_padding "" "if set to something else than \"\" = overrid seta hud_panel_radar_foreground_alpha "" "alpha of the map" seta hud_panel_radar_rotation "" "rotation mode: you set what points up. 0 = player, 1 = west, 2 = south, 3 = east, 4 = north" seta hud_panel_radar_zoommode "" "zoom mode: 0 = zoomed by default, 1 = zoomed when +zoom, 2 = always zoomed, 3 = always zoomed out" +seta hud_panel_radar_scale "" "distance you can see on the team radar" +seta hud_panel_radar_maximized_scale "" "distance you can see on the radar when maximized" +seta hud_panel_radar_maximized_size "" "size of the radar when maximized" seta hud_panel_score "" "enable/disable this panel" seta hud_panel_score_pos "" "position of this base of the panel" diff --git a/hud_luminos.cfg b/hud_luminos.cfg index f8f4beba1..e7db47e2b 100644 --- a/hud_luminos.cfg +++ b/hud_luminos.cfg @@ -141,6 +141,9 @@ seta hud_panel_radar_bg_padding "-1" seta hud_panel_radar_foreground_alpha "0.800000" seta hud_panel_radar_rotation "0" seta hud_panel_radar_zoommode "0" +seta hud_panel_radar_scale "4096" +seta hud_panel_radar_maximized_scale "8192" +seta hud_panel_radar_maximized_size "0.5 0.5" seta hud_panel_score 1 seta hud_panel_score_pos "0.890000 0.030000" diff --git a/hud_luminos_minimal.cfg b/hud_luminos_minimal.cfg index 64e0f777e..0cba5b929 100644 --- a/hud_luminos_minimal.cfg +++ b/hud_luminos_minimal.cfg @@ -141,6 +141,9 @@ seta hud_panel_radar_bg_padding "0" seta hud_panel_radar_foreground_alpha "0.500000" seta hud_panel_radar_rotation "0" seta hud_panel_radar_zoommode "0" +seta hud_panel_radar_scale "4096" +seta hud_panel_radar_maximized_scale "8192" +seta hud_panel_radar_maximized_size "0.5 0.5" seta hud_panel_score 1 seta hud_panel_score_pos "0.465000 0.045000" diff --git a/hud_luminos_minimal_xhair.cfg b/hud_luminos_minimal_xhair.cfg index 18c9973e4..d62b89cf6 100644 --- a/hud_luminos_minimal_xhair.cfg +++ b/hud_luminos_minimal_xhair.cfg @@ -141,6 +141,9 @@ seta hud_panel_radar_bg_padding "0" seta hud_panel_radar_foreground_alpha "0.500000" seta hud_panel_radar_rotation "0" seta hud_panel_radar_zoommode "0" +seta hud_panel_radar_scale "4096" +seta hud_panel_radar_maximized_scale "8192" +seta hud_panel_radar_maximized_size "0.5 0.5" seta hud_panel_score 1 seta hud_panel_score_pos "0.465000 0.045000" diff --git a/hud_luminos_old.cfg b/hud_luminos_old.cfg index 9fa86039b..5c14f2161 100644 --- a/hud_luminos_old.cfg +++ b/hud_luminos_old.cfg @@ -141,6 +141,9 @@ seta hud_panel_radar_bg_padding "-3" seta hud_panel_radar_foreground_alpha "0.800000" seta hud_panel_radar_rotation "0" seta hud_panel_radar_zoommode "0" +seta hud_panel_radar_scale "4096" +seta hud_panel_radar_maximized_scale "8192" +seta hud_panel_radar_maximized_size "0.5 0.5" seta hud_panel_score 1 seta hud_panel_score_pos "0.020000 0.920000" diff --git a/hud_nexuiz.cfg b/hud_nexuiz.cfg index 79803f693..c3afe0ec4 100644 --- a/hud_nexuiz.cfg +++ b/hud_nexuiz.cfg @@ -141,6 +141,9 @@ seta hud_panel_radar_bg_padding "0" seta hud_panel_radar_foreground_alpha "1" seta hud_panel_radar_rotation "0" seta hud_panel_radar_zoommode "0" +seta hud_panel_radar_scale "4096" +seta hud_panel_radar_maximized_scale "8192" +seta hud_panel_radar_maximized_size "0.5 0.5" seta hud_panel_score 1 seta hud_panel_score_pos "0.760000 0.910000" diff --git a/qcsrc/client/hud_config.qc b/qcsrc/client/hud_config.qc index f713861f3..019cd5c55 100644 --- a/qcsrc/client/hud_config.qc +++ b/qcsrc/client/hud_config.qc @@ -120,6 +120,9 @@ void HUD_Panel_ExportCfg(string cfgname) HUD_Write_PanelCvar_q("_foreground_alpha"); HUD_Write_PanelCvar_q("_rotation"); HUD_Write_PanelCvar_q("_zoommode"); + HUD_Write_PanelCvar_q("_scale"); + HUD_Write_PanelCvar_q("_maximized_scale"); + HUD_Write_PanelCvar_q("_maximized_size"); break; case HUD_PANEL_SCORE: HUD_Write_PanelCvar_q("_rankings"); -- 2.39.2