From 3eda89e9dc94609e8f40151d5cd51c24b7b847e6 Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 17 Nov 2015 20:38:35 +0100 Subject: [PATCH] Get rid of a pointless convention (unquoted main panel cvar value) that was broken by the minigame panels cvars --- hud_luma.cfg | 40 ++--- hud_luminos.cfg | 40 ++--- hud_luminos_minimal.cfg | 40 ++--- hud_luminos_minimal_xhair.cfg | 40 ++--- hud_luminos_old.cfg | 40 ++--- hud_nexuiz.cfg | 40 ++--- qcsrc/client/hud/hud_config.qc | 283 ++++++++++++++++----------------- 7 files changed, 260 insertions(+), 263 deletions(-) diff --git a/hud_luma.cfg b/hud_luma.cfg index 0c15c62c9..6009ea8cd 100644 --- a/hud_luma.cfg +++ b/hud_luma.cfg @@ -32,7 +32,7 @@ seta hud_configure_grid "1" seta hud_configure_grid_xsize "0.005000" seta hud_configure_grid_ysize "0.005000" -seta hud_panel_weapons 1 +seta hud_panel_weapons "1" seta hud_panel_weapons_pos "0.965000 0.125000" seta hud_panel_weapons_size "0.035000 0.770000" seta hud_panel_weapons_bg "border_default_east" @@ -65,7 +65,7 @@ seta hud_panel_weapons_onlyowned "1" seta hud_panel_weapons_noncurrent_alpha "0.8" seta hud_panel_weapons_noncurrent_scale "0.9" -seta hud_panel_ammo 1 +seta hud_panel_ammo "1" seta hud_panel_ammo_pos "0.315000 0.865000" seta hud_panel_ammo_size "0.370000 0.060000" seta hud_panel_ammo_bg "border_tab_south" @@ -83,7 +83,7 @@ seta hud_panel_ammo_progressbar_name "progressbar" seta hud_panel_ammo_progressbar_xoffset "0" seta hud_panel_ammo_text "1" -seta hud_panel_powerups 1 +seta hud_panel_powerups "1" seta hud_panel_powerups_pos "0.325000 0.815000" seta hud_panel_powerups_size "0.350000 0.055000" seta hud_panel_powerups_bg "border_shadow_south" @@ -97,7 +97,7 @@ seta hud_panel_powerups_baralign "3" seta hud_panel_powerups_progressbar "1" seta hud_panel_powerups_text "1" -seta hud_panel_healtharmor 1 +seta hud_panel_healtharmor "1" seta hud_panel_healtharmor_pos "0.300000 0.925000" seta hud_panel_healtharmor_size "0.400000 0.070000" seta hud_panel_healtharmor_bg "border_default_south" @@ -116,7 +116,7 @@ seta hud_panel_healtharmor_progressbar_gfx "1" seta hud_panel_healtharmor_progressbar_gfx_smooth "2" seta hud_panel_healtharmor_text "1" -seta hud_panel_notify 1 +seta hud_panel_notify "1" seta hud_panel_notify_pos "0.730000 0.800000" seta hud_panel_notify_size "0.265000 0.200000" seta hud_panel_notify_bg "0" @@ -131,7 +131,7 @@ seta hud_panel_notify_time "10" seta hud_panel_notify_fadetime "3" seta hud_panel_notify_icon_aspect "1" -seta hud_panel_timer 1 +seta hud_panel_timer "1" seta hud_panel_timer_pos "0.456000 0" seta hud_panel_timer_size "0.088000 0.030000" seta hud_panel_timer_bg "border_plain_north" @@ -141,7 +141,7 @@ seta hud_panel_timer_bg_alpha "" seta hud_panel_timer_bg_border "" seta hud_panel_timer_bg_padding "0" -seta hud_panel_radar 1 +seta hud_panel_radar "1" seta hud_panel_radar_pos "0 0" seta hud_panel_radar_size "0.200000 0.250000" seta hud_panel_radar_bg "border_corner_northwest" @@ -159,7 +159,7 @@ seta hud_panel_radar_maximized_size "0.5 0.5" seta hud_panel_radar_maximized_rotation "1" seta hud_panel_radar_maximized_zoommode "3" -seta hud_panel_score 1 +seta hud_panel_score "1" seta hud_panel_score_pos "0.880000 0" seta hud_panel_score_size "0.120000 0.080000" seta hud_panel_score_bg "border_corner_northeast" @@ -170,7 +170,7 @@ seta hud_panel_score_bg_border "" seta hud_panel_score_bg_padding "1" seta hud_panel_score_rankings "1" -seta hud_panel_racetimer 1 +seta hud_panel_racetimer "1" seta hud_panel_racetimer_pos "0.360000 0.110000" seta hud_panel_racetimer_size "0.280000 0.090000" seta hud_panel_racetimer_bg "0" @@ -180,7 +180,7 @@ seta hud_panel_racetimer_bg_alpha "" seta hud_panel_racetimer_bg_border "" seta hud_panel_racetimer_bg_padding "" -seta hud_panel_vote 1 +seta hud_panel_vote "1" seta hud_panel_vote_pos "0.740000 0.690000" seta hud_panel_vote_size "0.190000 0.090000" seta hud_panel_vote_bg " " @@ -191,7 +191,7 @@ seta hud_panel_vote_bg_border "" seta hud_panel_vote_bg_padding "" seta hud_panel_vote_alreadyvoted_alpha "0.700000" -seta hud_panel_modicons 1 +seta hud_panel_modicons "1" seta hud_panel_modicons_pos "0.370000 0.030000" seta hud_panel_modicons_size "0.260000 0.07000" seta hud_panel_modicons_bg "border_fading_north" @@ -204,7 +204,7 @@ seta hud_panel_modicons_ca_layout "1" seta hud_panel_modicons_dom_layout "1" seta hud_panel_modicons_freezetag_layout "1" -seta hud_panel_pressedkeys 1 +seta hud_panel_pressedkeys "1" seta hud_panel_pressedkeys_pos "0.445000 0.710000" seta hud_panel_pressedkeys_size "0.110000 0.090000" seta hud_panel_pressedkeys_bg " " @@ -216,7 +216,7 @@ seta hud_panel_pressedkeys_bg_padding "1" seta hud_panel_pressedkeys_aspect "1.600000" seta hud_panel_pressedkeys_attack "0" -seta hud_panel_chat 1 +seta hud_panel_chat "1" seta hud_panel_chat_pos "0.010000 0.700000" seta hud_panel_chat_size "0.460000 0.190000" seta hud_panel_chat_bg "0" @@ -226,7 +226,7 @@ seta hud_panel_chat_bg_alpha "" seta hud_panel_chat_bg_border "" seta hud_panel_chat_bg_padding "" -seta hud_panel_engineinfo 0 +seta hud_panel_engineinfo "0" seta hud_panel_engineinfo_pos "0.930000 0.970000" seta hud_panel_engineinfo_size "0.070000 0.030000" seta hud_panel_engineinfo_bg "0" @@ -238,7 +238,7 @@ seta hud_panel_engineinfo_bg_padding "" seta hud_panel_engineinfo_framecounter_time "0.1" seta hud_panel_engineinfo_framecounter_decimals "0" -seta hud_panel_infomessages 1 +seta hud_panel_infomessages "1" seta hud_panel_infomessages_pos "0.720000 0.100000" seta hud_panel_infomessages_size "0.280000 0.080000" seta hud_panel_infomessages_bg "0" @@ -249,7 +249,7 @@ seta hud_panel_infomessages_bg_border "" seta hud_panel_infomessages_bg_padding "0" seta hud_panel_infomessages_flip "1" -seta hud_panel_physics 3 +seta hud_panel_physics "3" seta hud_panel_physics_pos "0.410000 0.625000" seta hud_panel_physics_size "0.180000 0.080000" seta hud_panel_physics_bg "0" @@ -274,7 +274,7 @@ seta hud_panel_physics_acceleration_progressbar_nonlinear "0" seta hud_panel_physics_text "1" seta hud_panel_physics_text_scale "0.7" -seta hud_panel_centerprint 1 +seta hud_panel_centerprint "1" seta hud_panel_centerprint_pos "0.175000 0.220000" seta hud_panel_centerprint_size "0.650000 0.220000" seta hud_panel_centerprint_bg "0" @@ -297,7 +297,7 @@ seta hud_panel_centerprint_fade_subsequent_passtwo_minalpha "0.5" seta hud_panel_centerprint_fade_subsequent_minfontsize "0.75" seta hud_panel_centerprint_fade_minfontsize "0" -seta hud_panel_mapvote 1 +seta hud_panel_mapvote "1" seta hud_panel_mapvote_pos "0 0" seta hud_panel_mapvote_size "1 1" seta hud_panel_mapvote_bg "border_default" @@ -307,7 +307,7 @@ seta hud_panel_mapvote_bg_alpha "" seta hud_panel_mapvote_bg_border "" seta hud_panel_mapvote_bg_padding "" -seta hud_panel_itemstime 2 +seta hud_panel_itemstime "2" seta hud_panel_itemstime_pos "0.030000 0.260000" seta hud_panel_itemstime_size "0.070000 0.230000" seta hud_panel_itemstime_bg "border_itemstime" @@ -364,7 +364,7 @@ seta hud_panel_minigamemenu_bg_alpha "" seta hud_panel_minigamemenu_bg_border "" seta hud_panel_minigamemenu_bg_padding "" -seta hud_panel_quickmenu 1 +seta hud_panel_quickmenu "1" seta hud_panel_quickmenu_pos "0.600000 0.445000" seta hud_panel_quickmenu_size "0.220000 0.240000" seta hud_panel_quickmenu_bg "" diff --git a/hud_luminos.cfg b/hud_luminos.cfg index 0ac6ad251..d5ebae07c 100644 --- a/hud_luminos.cfg +++ b/hud_luminos.cfg @@ -32,7 +32,7 @@ seta hud_configure_grid "1" seta hud_configure_grid_xsize "0.010000" seta hud_configure_grid_ysize "0.010000" -seta hud_panel_weapons 1 +seta hud_panel_weapons "1" seta hud_panel_weapons_pos "0.930000 0.170000" seta hud_panel_weapons_size "0.070000 0.650000" seta hud_panel_weapons_bg "border_small_weapons" @@ -65,7 +65,7 @@ seta hud_panel_weapons_onlyowned "1" seta hud_panel_weapons_noncurrent_alpha "1" seta hud_panel_weapons_noncurrent_scale "1" -seta hud_panel_ammo 1 +seta hud_panel_ammo "1" seta hud_panel_ammo_pos "0.330000 0.960000" seta hud_panel_ammo_size "0.350000 0.040000" seta hud_panel_ammo_bg "" @@ -83,7 +83,7 @@ seta hud_panel_ammo_progressbar_name "progressbar" seta hud_panel_ammo_progressbar_xoffset "0" seta hud_panel_ammo_text "1" -seta hud_panel_powerups 1 +seta hud_panel_powerups "1" seta hud_panel_powerups_pos "0.360000 0.850000" seta hud_panel_powerups_size "0.290000 0.030000" seta hud_panel_powerups_bg "border_small_powerups" @@ -97,7 +97,7 @@ seta hud_panel_powerups_baralign "3" seta hud_panel_powerups_progressbar "1" seta hud_panel_powerups_text "1" -seta hud_panel_healtharmor 1 +seta hud_panel_healtharmor "1" seta hud_panel_healtharmor_pos "0.320000 0.910000" seta hud_panel_healtharmor_size "0.370000 0.060000" seta hud_panel_healtharmor_bg "border_small_healtharmor" @@ -116,7 +116,7 @@ seta hud_panel_healtharmor_progressbar_gfx "1" seta hud_panel_healtharmor_progressbar_gfx_smooth "2" seta hud_panel_healtharmor_text "1" -seta hud_panel_notify 1 +seta hud_panel_notify "1" seta hud_panel_notify_pos "0.710000 0.800000" seta hud_panel_notify_size "0.290000 0.190000" seta hud_panel_notify_bg "0" @@ -131,7 +131,7 @@ seta hud_panel_notify_time "10" seta hud_panel_notify_fadetime "3" seta hud_panel_notify_icon_aspect "2" -seta hud_panel_timer 1 +seta hud_panel_timer "1" seta hud_panel_timer_pos "0.800000 0.040000" seta hud_panel_timer_size "0.070000 0.040000" seta hud_panel_timer_bg "border_small_timer" @@ -141,7 +141,7 @@ seta hud_panel_timer_bg_alpha "" seta hud_panel_timer_bg_border "" seta hud_panel_timer_bg_padding "0" -seta hud_panel_radar 2 +seta hud_panel_radar "2" seta hud_panel_radar_pos "0 0" seta hud_panel_radar_size "0.200000 0.240000" seta hud_panel_radar_bg "border_small_radar" @@ -159,7 +159,7 @@ seta hud_panel_radar_maximized_size "0.5 0.5" seta hud_panel_radar_maximized_rotation "1" seta hud_panel_radar_maximized_zoommode "3" -seta hud_panel_score 1 +seta hud_panel_score "1" seta hud_panel_score_pos "0.890000 0.030000" seta hud_panel_score_size "0.100000 0.050000" seta hud_panel_score_bg "border_small_score" @@ -170,7 +170,7 @@ 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 "1" seta hud_panel_racetimer_pos "0.360000 0.110000" seta hud_panel_racetimer_size "0.280000 0.090000" seta hud_panel_racetimer_bg "0" @@ -180,7 +180,7 @@ seta hud_panel_racetimer_bg_alpha "" seta hud_panel_racetimer_bg_border "" seta hud_panel_racetimer_bg_padding "" -seta hud_panel_vote 1 +seta hud_panel_vote "1" seta hud_panel_vote_pos "0.720000 0.670000" seta hud_panel_vote_size "0.190000 0.090000" seta hud_panel_vote_bg "border_vote" @@ -191,7 +191,7 @@ seta hud_panel_vote_bg_border "" seta hud_panel_vote_bg_padding "" seta hud_panel_vote_alreadyvoted_alpha "0.500000" -seta hud_panel_modicons 1 +seta hud_panel_modicons "1" seta hud_panel_modicons_pos "0.410000 0" seta hud_panel_modicons_size "0.180000 0.080000" seta hud_panel_modicons_bg "border_small_modicons" @@ -204,7 +204,7 @@ seta hud_panel_modicons_ca_layout "1" seta hud_panel_modicons_dom_layout "1" seta hud_panel_modicons_freezetag_layout "1" -seta hud_panel_pressedkeys 1 +seta hud_panel_pressedkeys "1" seta hud_panel_pressedkeys_pos "0.450000 0.720000" seta hud_panel_pressedkeys_size "0.110000 0.090000" seta hud_panel_pressedkeys_bg "0" @@ -216,7 +216,7 @@ seta hud_panel_pressedkeys_bg_padding "" seta hud_panel_pressedkeys_aspect "1.600000" seta hud_panel_pressedkeys_attack "0" -seta hud_panel_chat 1 +seta hud_panel_chat "1" seta hud_panel_chat_pos "0.010000 0.700000" seta hud_panel_chat_size "0.460000 0.190000" seta hud_panel_chat_bg "0" @@ -226,7 +226,7 @@ seta hud_panel_chat_bg_alpha "" seta hud_panel_chat_bg_border "" seta hud_panel_chat_bg_padding "" -seta hud_panel_engineinfo 0 +seta hud_panel_engineinfo "0" seta hud_panel_engineinfo_pos "0.930000 0.970000" seta hud_panel_engineinfo_size "0.070000 0.030000" seta hud_panel_engineinfo_bg "0" @@ -238,7 +238,7 @@ seta hud_panel_engineinfo_bg_padding "" seta hud_panel_engineinfo_framecounter_time "0.1" seta hud_panel_engineinfo_framecounter_decimals "0" -seta hud_panel_infomessages 1 +seta hud_panel_infomessages "1" seta hud_panel_infomessages_pos "0.720000 0.100000" seta hud_panel_infomessages_size "0.280000 0.080000" seta hud_panel_infomessages_bg "0" @@ -249,7 +249,7 @@ seta hud_panel_infomessages_bg_border "" seta hud_panel_infomessages_bg_padding "0" seta hud_panel_infomessages_flip "1" -seta hud_panel_physics 3 +seta hud_panel_physics "3" seta hud_panel_physics_pos "0.420000 0.620000" seta hud_panel_physics_size "0.170000 0.080000" seta hud_panel_physics_bg "" @@ -274,7 +274,7 @@ seta hud_panel_physics_acceleration_progressbar_nonlinear "0" seta hud_panel_physics_text "1" seta hud_panel_physics_text_scale "0.7" -seta hud_panel_centerprint 1 +seta hud_panel_centerprint "1" seta hud_panel_centerprint_pos "0.175000 0.220000" seta hud_panel_centerprint_size "0.650000 0.220000" seta hud_panel_centerprint_bg "0" @@ -297,7 +297,7 @@ seta hud_panel_centerprint_fade_subsequent_passtwo_minalpha "0.5" seta hud_panel_centerprint_fade_subsequent_minfontsize "0.75" seta hud_panel_centerprint_fade_minfontsize "0" -seta hud_panel_mapvote 1 +seta hud_panel_mapvote "1" seta hud_panel_mapvote_pos "0 0" seta hud_panel_mapvote_size "1 1" seta hud_panel_mapvote_bg "0" @@ -307,7 +307,7 @@ seta hud_panel_mapvote_bg_alpha "" seta hud_panel_mapvote_bg_border "" seta hud_panel_mapvote_bg_padding "" -seta hud_panel_itemstime 2 +seta hud_panel_itemstime "2" seta hud_panel_itemstime_pos "0.030000 0.260000" seta hud_panel_itemstime_size "0.070000 0.230000" seta hud_panel_itemstime_bg "border_itemstime" @@ -364,7 +364,7 @@ seta hud_panel_minigamemenu_bg_alpha "" seta hud_panel_minigamemenu_bg_border "" seta hud_panel_minigamemenu_bg_padding "" -seta hud_panel_quickmenu 1 +seta hud_panel_quickmenu "1" seta hud_panel_quickmenu_pos "0.610000 0.450000" seta hud_panel_quickmenu_size "0.200000 0.210000" seta hud_panel_quickmenu_bg "" diff --git a/hud_luminos_minimal.cfg b/hud_luminos_minimal.cfg index c4d0d63be..152461b28 100644 --- a/hud_luminos_minimal.cfg +++ b/hud_luminos_minimal.cfg @@ -32,7 +32,7 @@ seta hud_configure_grid "1" seta hud_configure_grid_xsize "0.010000" seta hud_configure_grid_ysize "0.010000" -seta hud_panel_weapons 1 +seta hud_panel_weapons "1" seta hud_panel_weapons_pos "0.350000 0.940000" seta hud_panel_weapons_size "0.300000 0.060000" seta hud_panel_weapons_bg "" @@ -65,7 +65,7 @@ seta hud_panel_weapons_onlyowned "1" seta hud_panel_weapons_noncurrent_alpha "1" seta hud_panel_weapons_noncurrent_scale "1" -seta hud_panel_ammo 1 +seta hud_panel_ammo "1" seta hud_panel_ammo_pos "0.650000 0.890000" seta hud_panel_ammo_size "0.055000 0.110000" seta hud_panel_ammo_bg "" @@ -83,7 +83,7 @@ seta hud_panel_ammo_progressbar_name "progressbar" seta hud_panel_ammo_progressbar_xoffset "0" seta hud_panel_ammo_text "1" -seta hud_panel_powerups 1 +seta hud_panel_powerups "1" seta hud_panel_powerups_pos "0.290000 0.890000" seta hud_panel_powerups_size "0.055000 0.110000" seta hud_panel_powerups_bg "0" @@ -97,7 +97,7 @@ seta hud_panel_powerups_baralign "1" seta hud_panel_powerups_progressbar "1" seta hud_panel_powerups_text "1" -seta hud_panel_healtharmor 1 +seta hud_panel_healtharmor "1" seta hud_panel_healtharmor_pos "0.350000 0.890000" seta hud_panel_healtharmor_size "0.300000 0.050000" seta hud_panel_healtharmor_bg "" @@ -116,7 +116,7 @@ seta hud_panel_healtharmor_progressbar_gfx "1" seta hud_panel_healtharmor_progressbar_gfx_smooth "2" seta hud_panel_healtharmor_text "1" -seta hud_panel_notify 1 +seta hud_panel_notify "1" seta hud_panel_notify_pos "0 0" seta hud_panel_notify_size "0.210000 0.260000" seta hud_panel_notify_bg "0" @@ -131,7 +131,7 @@ seta hud_panel_notify_time "10" seta hud_panel_notify_fadetime "3" seta hud_panel_notify_icon_aspect "2" -seta hud_panel_timer 1 +seta hud_panel_timer "1" seta hud_panel_timer_pos "0.435000 0" seta hud_panel_timer_size "0.135000 0.060000" seta hud_panel_timer_bg "0" @@ -141,7 +141,7 @@ seta hud_panel_timer_bg_alpha "" seta hud_panel_timer_bg_border "" seta hud_panel_timer_bg_padding "0" -seta hud_panel_radar 2 +seta hud_panel_radar "2" seta hud_panel_radar_pos "0.810000 0" seta hud_panel_radar_size "0.190000 0.250000" seta hud_panel_radar_bg "border_radar" @@ -159,7 +159,7 @@ seta hud_panel_radar_maximized_size "0.5 0.5" seta hud_panel_radar_maximized_rotation "1" seta hud_panel_radar_maximized_zoommode "3" -seta hud_panel_score 1 +seta hud_panel_score "1" seta hud_panel_score_pos "0.465000 0.045000" seta hud_panel_score_size "0.090000 0.060000" seta hud_panel_score_bg "" @@ -170,7 +170,7 @@ 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 "1" seta hud_panel_racetimer_pos "0.360000 0.090000" seta hud_panel_racetimer_size "0.280000 0.090000" seta hud_panel_racetimer_bg "0" @@ -180,7 +180,7 @@ seta hud_panel_racetimer_bg_alpha "" seta hud_panel_racetimer_bg_border "" seta hud_panel_racetimer_bg_padding "" -seta hud_panel_vote 1 +seta hud_panel_vote "1" seta hud_panel_vote_pos "0 0.890000" seta hud_panel_vote_size "0.170000 0.110000" seta hud_panel_vote_bg "" @@ -191,7 +191,7 @@ seta hud_panel_vote_bg_border "" seta hud_panel_vote_bg_padding "" seta hud_panel_vote_alreadyvoted_alpha "0.800000" -seta hud_panel_modicons 1 +seta hud_panel_modicons "1" seta hud_panel_modicons_pos "0.560000 0" seta hud_panel_modicons_size "0.050000 0.100000" seta hud_panel_modicons_bg "" @@ -204,7 +204,7 @@ seta hud_panel_modicons_ca_layout "1" seta hud_panel_modicons_dom_layout "1" seta hud_panel_modicons_freezetag_layout "1" -seta hud_panel_pressedkeys 1 +seta hud_panel_pressedkeys "1" seta hud_panel_pressedkeys_pos "0.450000 0.650000" seta hud_panel_pressedkeys_size "0.100000 0.110000" seta hud_panel_pressedkeys_bg "0" @@ -216,7 +216,7 @@ seta hud_panel_pressedkeys_bg_padding "" seta hud_panel_pressedkeys_aspect "1.600000" seta hud_panel_pressedkeys_attack "0" -seta hud_panel_chat 1 +seta hud_panel_chat "1" seta hud_panel_chat_pos "0 0.775000" seta hud_panel_chat_size "0.460000 0.110000" seta hud_panel_chat_bg "0" @@ -226,7 +226,7 @@ seta hud_panel_chat_bg_alpha "" seta hud_panel_chat_bg_border "" seta hud_panel_chat_bg_padding "" -seta hud_panel_engineinfo 0 +seta hud_panel_engineinfo "0" seta hud_panel_engineinfo_pos "0.910000 0.970000" seta hud_panel_engineinfo_size "0.090000 0.030000" seta hud_panel_engineinfo_bg "0" @@ -238,7 +238,7 @@ seta hud_panel_engineinfo_bg_padding "" seta hud_panel_engineinfo_framecounter_time "0.1" seta hud_panel_engineinfo_framecounter_decimals "0" -seta hud_panel_infomessages 1 +seta hud_panel_infomessages "1" seta hud_panel_infomessages_pos "0.710000 0" seta hud_panel_infomessages_size "0.290000 0.100000" seta hud_panel_infomessages_bg "0" @@ -249,7 +249,7 @@ seta hud_panel_infomessages_bg_border "" seta hud_panel_infomessages_bg_padding "0" seta hud_panel_infomessages_flip "1" -seta hud_panel_physics 3 +seta hud_panel_physics "3" seta hud_panel_physics_pos "0.440000 0.590000" seta hud_panel_physics_size "0.120000 0.050000" seta hud_panel_physics_bg "" @@ -274,7 +274,7 @@ seta hud_panel_physics_acceleration_progressbar_nonlinear "0" seta hud_panel_physics_text "1" seta hud_panel_physics_text_scale "0.7" -seta hud_panel_centerprint 1 +seta hud_panel_centerprint "1" seta hud_panel_centerprint_pos "0.175000 0.220000" seta hud_panel_centerprint_size "0.650000 0.220000" seta hud_panel_centerprint_bg "0" @@ -297,7 +297,7 @@ seta hud_panel_centerprint_fade_subsequent_passtwo_minalpha "0.5" seta hud_panel_centerprint_fade_subsequent_minfontsize "0.75" seta hud_panel_centerprint_fade_minfontsize "0" -seta hud_panel_mapvote 1 +seta hud_panel_mapvote "1" seta hud_panel_mapvote_pos "0 0" seta hud_panel_mapvote_size "1 1" seta hud_panel_mapvote_bg "0" @@ -307,7 +307,7 @@ seta hud_panel_mapvote_bg_alpha "" seta hud_panel_mapvote_bg_border "" seta hud_panel_mapvote_bg_padding "" -seta hud_panel_itemstime 2 +seta hud_panel_itemstime "2" seta hud_panel_itemstime_pos "0.000000 0.310000" seta hud_panel_itemstime_size "0.070000 0.180000" seta hud_panel_itemstime_bg "" @@ -364,7 +364,7 @@ seta hud_panel_minigamemenu_bg_alpha "" seta hud_panel_minigamemenu_bg_border "" seta hud_panel_minigamemenu_bg_padding "" -seta hud_panel_quickmenu 1 +seta hud_panel_quickmenu "1" seta hud_panel_quickmenu_pos "0.600000 0.460000" seta hud_panel_quickmenu_size "0.190000 0.190000" seta hud_panel_quickmenu_bg "" diff --git a/hud_luminos_minimal_xhair.cfg b/hud_luminos_minimal_xhair.cfg index f4e3d6e28..ec9949f4d 100644 --- a/hud_luminos_minimal_xhair.cfg +++ b/hud_luminos_minimal_xhair.cfg @@ -32,7 +32,7 @@ seta hud_configure_grid "1" seta hud_configure_grid_xsize "0.010000" seta hud_configure_grid_ysize "0.010000" -seta hud_panel_weapons 1 +seta hud_panel_weapons "1" seta hud_panel_weapons_pos "0.350000 0.940000" seta hud_panel_weapons_size "0.300000 0.060000" seta hud_panel_weapons_bg "" @@ -65,7 +65,7 @@ seta hud_panel_weapons_onlyowned "1" seta hud_panel_weapons_noncurrent_alpha "1" seta hud_panel_weapons_noncurrent_scale "1" -seta hud_panel_ammo 1 +seta hud_panel_ammo "1" seta hud_panel_ammo_pos "0.450000 0.630000" seta hud_panel_ammo_size "0.080000 0.040000" seta hud_panel_ammo_bg "" @@ -83,7 +83,7 @@ seta hud_panel_ammo_progressbar_name "progressbar_ammo" seta hud_panel_ammo_progressbar_xoffset "0.32" seta hud_panel_ammo_text "1" -seta hud_panel_powerups 1 +seta hud_panel_powerups "1" seta hud_panel_powerups_pos "0.270000 0.940000" seta hud_panel_powerups_size "0.080000 0.060000" seta hud_panel_powerups_bg "0" @@ -97,7 +97,7 @@ seta hud_panel_powerups_baralign "1" seta hud_panel_powerups_progressbar "1" seta hud_panel_powerups_text "1" -seta hud_panel_healtharmor 1 +seta hud_panel_healtharmor "1" seta hud_panel_healtharmor_pos "0.350000 0.380000" seta hud_panel_healtharmor_size "0.070000 0.240000" seta hud_panel_healtharmor_bg "border_healtharmor" @@ -116,7 +116,7 @@ seta hud_panel_healtharmor_progressbar_gfx "1" seta hud_panel_healtharmor_progressbar_gfx_smooth "2" seta hud_panel_healtharmor_text "0" -seta hud_panel_notify 1 +seta hud_panel_notify "1" seta hud_panel_notify_pos "0 0" seta hud_panel_notify_size "0.210000 0.260000" seta hud_panel_notify_bg "0" @@ -131,7 +131,7 @@ seta hud_panel_notify_time "10" seta hud_panel_notify_fadetime "3" seta hud_panel_notify_icon_aspect "2" -seta hud_panel_timer 1 +seta hud_panel_timer "1" seta hud_panel_timer_pos "0.435000 0" seta hud_panel_timer_size "0.135000 0.060000" seta hud_panel_timer_bg "0" @@ -141,7 +141,7 @@ seta hud_panel_timer_bg_alpha "" seta hud_panel_timer_bg_border "" seta hud_panel_timer_bg_padding "0" -seta hud_panel_radar 2 +seta hud_panel_radar "2" seta hud_panel_radar_pos "0.810000 0" seta hud_panel_radar_size "0.190000 0.250000" seta hud_panel_radar_bg "border_radar" @@ -159,7 +159,7 @@ seta hud_panel_radar_maximized_size "0.5 0.5" seta hud_panel_radar_maximized_rotation "1" seta hud_panel_radar_maximized_zoommode "3" -seta hud_panel_score 1 +seta hud_panel_score "1" seta hud_panel_score_pos "0.465000 0.045000" seta hud_panel_score_size "0.090000 0.060000" seta hud_panel_score_bg "" @@ -170,7 +170,7 @@ 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 "1" seta hud_panel_racetimer_pos "0.360000 0.090000" seta hud_panel_racetimer_size "0.280000 0.090000" seta hud_panel_racetimer_bg "0" @@ -180,7 +180,7 @@ seta hud_panel_racetimer_bg_alpha "" seta hud_panel_racetimer_bg_border "" seta hud_panel_racetimer_bg_padding "" -seta hud_panel_vote 1 +seta hud_panel_vote "1" seta hud_panel_vote_pos "0 0.890000" seta hud_panel_vote_size "0.170000 0.110000" seta hud_panel_vote_bg "" @@ -191,7 +191,7 @@ seta hud_panel_vote_bg_border "" seta hud_panel_vote_bg_padding "" seta hud_panel_vote_alreadyvoted_alpha "0.800000" -seta hud_panel_modicons 1 +seta hud_panel_modicons "1" seta hud_panel_modicons_pos "0.560000 0" seta hud_panel_modicons_size "0.050000 0.100000" seta hud_panel_modicons_bg "" @@ -204,7 +204,7 @@ seta hud_panel_modicons_ca_layout "1" seta hud_panel_modicons_dom_layout "1" seta hud_panel_modicons_freezetag_layout "1" -seta hud_panel_pressedkeys 1 +seta hud_panel_pressedkeys "1" seta hud_panel_pressedkeys_pos "0.450000 0.690000" seta hud_panel_pressedkeys_size "0.100000 0.110000" seta hud_panel_pressedkeys_bg "0" @@ -216,7 +216,7 @@ seta hud_panel_pressedkeys_bg_padding "" seta hud_panel_pressedkeys_aspect "1.600000" seta hud_panel_pressedkeys_attack "0" -seta hud_panel_chat 1 +seta hud_panel_chat "1" seta hud_panel_chat_pos "0 0.775000" seta hud_panel_chat_size "0.460000 0.110000" seta hud_panel_chat_bg "0" @@ -226,7 +226,7 @@ seta hud_panel_chat_bg_alpha "" seta hud_panel_chat_bg_border "" seta hud_panel_chat_bg_padding "" -seta hud_panel_engineinfo 0 +seta hud_panel_engineinfo "0" seta hud_panel_engineinfo_pos "0.910000 0.970000" seta hud_panel_engineinfo_size "0.090000 0.030000" seta hud_panel_engineinfo_bg "0" @@ -238,7 +238,7 @@ seta hud_panel_engineinfo_bg_padding "" seta hud_panel_engineinfo_framecounter_time "0.1" seta hud_panel_engineinfo_framecounter_decimals "0" -seta hud_panel_infomessages 1 +seta hud_panel_infomessages "1" seta hud_panel_infomessages_pos "0.710000 0" seta hud_panel_infomessages_size "0.290000 0.100000" seta hud_panel_infomessages_bg "0" @@ -249,7 +249,7 @@ seta hud_panel_infomessages_bg_border "" seta hud_panel_infomessages_bg_padding "0" seta hud_panel_infomessages_flip "1" -seta hud_panel_physics 3 +seta hud_panel_physics "3" seta hud_panel_physics_pos "0.270000 0.730000" seta hud_panel_physics_size "0.170000 0.030000" seta hud_panel_physics_bg "" @@ -274,7 +274,7 @@ seta hud_panel_physics_acceleration_progressbar_nonlinear "0" seta hud_panel_physics_text "1" seta hud_panel_physics_text_scale "0.7" -seta hud_panel_centerprint 1 +seta hud_panel_centerprint "1" seta hud_panel_centerprint_pos "0.175000 0.220000" seta hud_panel_centerprint_size "0.650000 0.220000" seta hud_panel_centerprint_bg "0" @@ -297,7 +297,7 @@ seta hud_panel_centerprint_fade_subsequent_passtwo_minalpha "0.5" seta hud_panel_centerprint_fade_subsequent_minfontsize "0.75" seta hud_panel_centerprint_fade_minfontsize "0" -seta hud_panel_mapvote 1 +seta hud_panel_mapvote "1" seta hud_panel_mapvote_pos "0 0" seta hud_panel_mapvote_size "1 1" seta hud_panel_mapvote_bg "0" @@ -307,7 +307,7 @@ seta hud_panel_mapvote_bg_alpha "" seta hud_panel_mapvote_bg_border "" seta hud_panel_mapvote_bg_padding "" -seta hud_panel_itemstime 2 +seta hud_panel_itemstime "2" seta hud_panel_itemstime_pos "0.000000 0.310000" seta hud_panel_itemstime_size "0.070000 0.180000" seta hud_panel_itemstime_bg "" @@ -364,7 +364,7 @@ seta hud_panel_minigamemenu_bg_alpha "" seta hud_panel_minigamemenu_bg_border "" seta hud_panel_minigamemenu_bg_padding "" -seta hud_panel_quickmenu 1 +seta hud_panel_quickmenu "1" seta hud_panel_quickmenu_pos "0.600000 0.460000" seta hud_panel_quickmenu_size "0.190000 0.190000" seta hud_panel_quickmenu_bg "" diff --git a/hud_luminos_old.cfg b/hud_luminos_old.cfg index a44323502..ccd99e3fa 100644 --- a/hud_luminos_old.cfg +++ b/hud_luminos_old.cfg @@ -32,7 +32,7 @@ seta hud_configure_grid "1" seta hud_configure_grid_xsize "0.010000" seta hud_configure_grid_ysize "0.010000" -seta hud_panel_weapons 1 +seta hud_panel_weapons "1" seta hud_panel_weapons_pos "0.920000 0.090000" seta hud_panel_weapons_size "0.060000 0.630000" seta hud_panel_weapons_bg "" @@ -65,7 +65,7 @@ seta hud_panel_weapons_onlyowned "1" seta hud_panel_weapons_noncurrent_alpha "1" seta hud_panel_weapons_noncurrent_scale "1" -seta hud_panel_ammo 1 +seta hud_panel_ammo "1" seta hud_panel_ammo_pos "0.190000 0.920000" seta hud_panel_ammo_size "0.120000 0.070000" seta hud_panel_ammo_bg "" @@ -83,7 +83,7 @@ seta hud_panel_ammo_progressbar_name "progressbar" seta hud_panel_ammo_progressbar_xoffset "0" seta hud_panel_ammo_text "1" -seta hud_panel_powerups 1 +seta hud_panel_powerups "1" seta hud_panel_powerups_pos "0.660000 0.940000" seta hud_panel_powerups_size "0.330000 0.060000" seta hud_panel_powerups_bg "0" @@ -97,7 +97,7 @@ seta hud_panel_powerups_baralign "3" seta hud_panel_powerups_progressbar "1" seta hud_panel_powerups_text "1" -seta hud_panel_healtharmor 1 +seta hud_panel_healtharmor "1" seta hud_panel_healtharmor_pos "0.330000 0.920000" seta hud_panel_healtharmor_size "0.310000 0.070000" seta hud_panel_healtharmor_bg "" @@ -116,7 +116,7 @@ seta hud_panel_healtharmor_progressbar_gfx "1" seta hud_panel_healtharmor_progressbar_gfx_smooth "2" seta hud_panel_healtharmor_text "1" -seta hud_panel_notify 1 +seta hud_panel_notify "1" seta hud_panel_notify_pos "0.660000 0.730000" seta hud_panel_notify_size "0.320000 0.190000" seta hud_panel_notify_bg "0" @@ -131,7 +131,7 @@ seta hud_panel_notify_time "10" seta hud_panel_notify_fadetime "3" seta hud_panel_notify_icon_aspect "2" -seta hud_panel_timer 1 +seta hud_panel_timer "1" seta hud_panel_timer_pos "0.870000 0" seta hud_panel_timer_size "0.130000 0.060000" seta hud_panel_timer_bg "0" @@ -141,7 +141,7 @@ seta hud_panel_timer_bg_alpha "" seta hud_panel_timer_bg_border "" seta hud_panel_timer_bg_padding "0" -seta hud_panel_radar 2 +seta hud_panel_radar "2" seta hud_panel_radar_pos "0.030000 0.020000" seta hud_panel_radar_size "0.170000 0.220000" seta hud_panel_radar_bg "" @@ -159,7 +159,7 @@ seta hud_panel_radar_maximized_size "0.5 0.5" seta hud_panel_radar_maximized_rotation "1" seta hud_panel_radar_maximized_zoommode "3" -seta hud_panel_score 1 +seta hud_panel_score "1" seta hud_panel_score_pos "0.020000 0.920000" seta hud_panel_score_size "0.150000 0.070000" seta hud_panel_score_bg "" @@ -170,7 +170,7 @@ 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 "1" seta hud_panel_racetimer_pos "0.360000 0.090000" seta hud_panel_racetimer_size "0.280000 0.090000" seta hud_panel_racetimer_bg "0" @@ -180,7 +180,7 @@ seta hud_panel_racetimer_bg_alpha "" seta hud_panel_racetimer_bg_border "" seta hud_panel_racetimer_bg_padding "" -seta hud_panel_vote 1 +seta hud_panel_vote "1" seta hud_panel_vote_pos "0.020000 0.650000" seta hud_panel_vote_size "0.230000 0.110000" seta hud_panel_vote_bg "" @@ -191,7 +191,7 @@ seta hud_panel_vote_bg_border "" seta hud_panel_vote_bg_padding "" seta hud_panel_vote_alreadyvoted_alpha "0.800000" -seta hud_panel_modicons 1 +seta hud_panel_modicons "1" seta hud_panel_modicons_pos "0.040000 0.270000" seta hud_panel_modicons_size "0.080000 0.200000" seta hud_panel_modicons_bg "" @@ -204,7 +204,7 @@ seta hud_panel_modicons_ca_layout "1" seta hud_panel_modicons_dom_layout "1" seta hud_panel_modicons_freezetag_layout "1" -seta hud_panel_pressedkeys 1 +seta hud_panel_pressedkeys "1" seta hud_panel_pressedkeys_pos "0.410000 0.710000" seta hud_panel_pressedkeys_size "0.180000 0.130000" seta hud_panel_pressedkeys_bg "0" @@ -216,7 +216,7 @@ seta hud_panel_pressedkeys_bg_padding "" seta hud_panel_pressedkeys_aspect "1.600000" seta hud_panel_pressedkeys_attack "0" -seta hud_panel_chat 1 +seta hud_panel_chat "1" seta hud_panel_chat_pos "0.020000 0.780000" seta hud_panel_chat_size "0.630000 0.110000" seta hud_panel_chat_bg "0" @@ -226,7 +226,7 @@ seta hud_panel_chat_bg_alpha "" seta hud_panel_chat_bg_border "" seta hud_panel_chat_bg_padding "" -seta hud_panel_engineinfo 0 +seta hud_panel_engineinfo "0" seta hud_panel_engineinfo_pos "0.910000 0.970000" seta hud_panel_engineinfo_size "0.090000 0.030000" seta hud_panel_engineinfo_bg "0" @@ -238,7 +238,7 @@ seta hud_panel_engineinfo_bg_padding "" seta hud_panel_engineinfo_framecounter_time "0.1" seta hud_panel_engineinfo_framecounter_decimals "0" -seta hud_panel_infomessages 1 +seta hud_panel_infomessages "1" seta hud_panel_infomessages_pos "0.510000 0" seta hud_panel_infomessages_size "0.340000 0.090000" seta hud_panel_infomessages_bg "0" @@ -249,7 +249,7 @@ seta hud_panel_infomessages_bg_border "" seta hud_panel_infomessages_bg_padding "0" seta hud_panel_infomessages_flip "1" -seta hud_panel_physics 3 +seta hud_panel_physics "3" seta hud_panel_physics_pos "0.410000 0.590000" seta hud_panel_physics_size "0.180000 0.100000" seta hud_panel_physics_bg "" @@ -274,7 +274,7 @@ seta hud_panel_physics_acceleration_progressbar_nonlinear "0" seta hud_panel_physics_text "1" seta hud_panel_physics_text_scale "0.7" -seta hud_panel_centerprint 1 +seta hud_panel_centerprint "1" seta hud_panel_centerprint_pos "0.175000 0.220000" seta hud_panel_centerprint_size "0.650000 0.220000" seta hud_panel_centerprint_bg "0" @@ -297,7 +297,7 @@ seta hud_panel_centerprint_fade_subsequent_passtwo_minalpha "0.5" seta hud_panel_centerprint_fade_subsequent_minfontsize "0.75" seta hud_panel_centerprint_fade_minfontsize "0" -seta hud_panel_mapvote 1 +seta hud_panel_mapvote "1" seta hud_panel_mapvote_pos "0 0" seta hud_panel_mapvote_size "1 1" seta hud_panel_mapvote_bg "0" @@ -307,7 +307,7 @@ seta hud_panel_mapvote_bg_alpha "" seta hud_panel_mapvote_bg_border "" seta hud_panel_mapvote_bg_padding "" -seta hud_panel_itemstime 2 +seta hud_panel_itemstime "2" seta hud_panel_itemstime_pos "0.020000 0.490000" seta hud_panel_itemstime_size "0.090000 0.140000" seta hud_panel_itemstime_bg "0" @@ -364,7 +364,7 @@ seta hud_panel_minigamemenu_bg_alpha "" seta hud_panel_minigamemenu_bg_border "" seta hud_panel_minigamemenu_bg_padding "" -seta hud_panel_quickmenu 1 +seta hud_panel_quickmenu "1" seta hud_panel_quickmenu_pos "0.700000 0.460000" seta hud_panel_quickmenu_size "0.210000 0.250000" seta hud_panel_quickmenu_bg "" diff --git a/hud_nexuiz.cfg b/hud_nexuiz.cfg index 8fb29446f..3c1fbdb7a 100644 --- a/hud_nexuiz.cfg +++ b/hud_nexuiz.cfg @@ -32,7 +32,7 @@ seta hud_configure_grid "1" seta hud_configure_grid_xsize "0.010000" seta hud_configure_grid_ysize "0.010000" -seta hud_panel_weapons 1 +seta hud_panel_weapons "1" seta hud_panel_weapons_pos "0.375000 0.870000" seta hud_panel_weapons_size "0.300000 0.060000" seta hud_panel_weapons_bg "0" @@ -65,7 +65,7 @@ seta hud_panel_weapons_onlyowned "0" seta hud_panel_weapons_noncurrent_alpha "1" seta hud_panel_weapons_noncurrent_scale "1" -seta hud_panel_ammo 1 +seta hud_panel_ammo "1" seta hud_panel_ammo_pos "0.160000 0.910000" seta hud_panel_ammo_size "0.190000 0.090000" seta hud_panel_ammo_bg "0" @@ -83,7 +83,7 @@ seta hud_panel_ammo_progressbar_name "progressbar" seta hud_panel_ammo_progressbar_xoffset "0" seta hud_panel_ammo_text "1" -seta hud_panel_powerups 1 +seta hud_panel_powerups "1" seta hud_panel_powerups_pos "0.660000 0.910000" seta hud_panel_powerups_size "0.130000 0.090000" seta hud_panel_powerups_bg "0" @@ -97,7 +97,7 @@ seta hud_panel_powerups_baralign "0" seta hud_panel_powerups_progressbar "0" seta hud_panel_powerups_text "1" -seta hud_panel_healtharmor 1 +seta hud_panel_healtharmor "1" seta hud_panel_healtharmor_pos "0.370000 0.930000" seta hud_panel_healtharmor_size "0.300000 0.070000" seta hud_panel_healtharmor_bg "0" @@ -116,7 +116,7 @@ seta hud_panel_healtharmor_progressbar_gfx "1" seta hud_panel_healtharmor_progressbar_gfx_smooth "2" seta hud_panel_healtharmor_text "1" -seta hud_panel_notify 0 +seta hud_panel_notify "0" seta hud_panel_notify_pos "0.010000 0.650000" seta hud_panel_notify_size "0.300000 0.070000" seta hud_panel_notify_bg "0" @@ -131,7 +131,7 @@ seta hud_panel_notify_time "10" seta hud_panel_notify_fadetime "3" seta hud_panel_notify_icon_aspect "2" -seta hud_panel_timer 1 +seta hud_panel_timer "1" seta hud_panel_timer_pos "0.850000 0" seta hud_panel_timer_size "0.150000 0.060000" seta hud_panel_timer_bg "" @@ -141,7 +141,7 @@ seta hud_panel_timer_bg_alpha "" seta hud_panel_timer_bg_border "" seta hud_panel_timer_bg_padding "0" -seta hud_panel_radar 2 +seta hud_panel_radar "2" seta hud_panel_radar_pos "0 0" seta hud_panel_radar_size "0.200000 0.260000" seta hud_panel_radar_bg "border_radar" @@ -159,7 +159,7 @@ seta hud_panel_radar_maximized_size "0.5 0.5" seta hud_panel_radar_maximized_rotation "1" seta hud_panel_radar_maximized_zoommode "3" -seta hud_panel_score 1 +seta hud_panel_score "1" seta hud_panel_score_pos "0.760000 0.910000" seta hud_panel_score_size "0.200000 0.080000" seta hud_panel_score_bg "0" @@ -170,7 +170,7 @@ 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 "1" seta hud_panel_racetimer_pos "0.360000 0.140000" seta hud_panel_racetimer_size "0.280000 0.090000" seta hud_panel_racetimer_bg "0" @@ -180,7 +180,7 @@ seta hud_panel_racetimer_bg_alpha "" seta hud_panel_racetimer_bg_border "" seta hud_panel_racetimer_bg_padding "" -seta hud_panel_vote 1 +seta hud_panel_vote "1" seta hud_panel_vote_pos "0.690000 0.750000" seta hud_panel_vote_size "0.300000 0.100000" seta hud_panel_vote_bg "" @@ -191,7 +191,7 @@ seta hud_panel_vote_bg_border "" seta hud_panel_vote_bg_padding "-3" seta hud_panel_vote_alreadyvoted_alpha "0.750000" -seta hud_panel_modicons 1 +seta hud_panel_modicons "1" seta hud_panel_modicons_pos "0.010000 0.910000" seta hud_panel_modicons_size "0.135000 0.090000" seta hud_panel_modicons_bg "0" @@ -204,7 +204,7 @@ seta hud_panel_modicons_ca_layout "1" seta hud_panel_modicons_dom_layout "1" seta hud_panel_modicons_freezetag_layout "1" -seta hud_panel_pressedkeys 1 +seta hud_panel_pressedkeys "1" seta hud_panel_pressedkeys_pos "0.440000 0.760000" seta hud_panel_pressedkeys_size "0.120000 0.094368" seta hud_panel_pressedkeys_bg "0" @@ -216,7 +216,7 @@ seta hud_panel_pressedkeys_bg_padding "" seta hud_panel_pressedkeys_aspect "1.600000" seta hud_panel_pressedkeys_attack "0" -seta hud_panel_chat 1 +seta hud_panel_chat "1" seta hud_panel_chat_pos "0 0.760000" seta hud_panel_chat_size "0.420000 0.130000" seta hud_panel_chat_bg "0" @@ -226,7 +226,7 @@ seta hud_panel_chat_bg_alpha "" seta hud_panel_chat_bg_border "" seta hud_panel_chat_bg_padding "" -seta hud_panel_engineinfo 0 +seta hud_panel_engineinfo "0" seta hud_panel_engineinfo_pos "0.887500 0.870000" seta hud_panel_engineinfo_size "0.112500 0.030000" seta hud_panel_engineinfo_bg "0" @@ -238,7 +238,7 @@ seta hud_panel_engineinfo_bg_padding "" seta hud_panel_engineinfo_framecounter_time "0.1" seta hud_panel_engineinfo_framecounter_decimals "0" -seta hud_panel_infomessages 1 +seta hud_panel_infomessages "1" seta hud_panel_infomessages_pos "0.690000 0.620000" seta hud_panel_infomessages_size "0.300000 0.100000" seta hud_panel_infomessages_bg "0" @@ -249,7 +249,7 @@ seta hud_panel_infomessages_bg_border "" seta hud_panel_infomessages_bg_padding "" seta hud_panel_infomessages_flip "1" -seta hud_panel_physics 3 +seta hud_panel_physics "3" seta hud_panel_physics_pos "0.430000 0.640000" seta hud_panel_physics_size "0.140000 0.100000" seta hud_panel_physics_bg "0" @@ -274,7 +274,7 @@ seta hud_panel_physics_acceleration_progressbar_nonlinear "0" seta hud_panel_physics_text "2" seta hud_panel_physics_text_scale "1" -seta hud_panel_centerprint 1 +seta hud_panel_centerprint "1" seta hud_panel_centerprint_pos "0.175000 0.260000" seta hud_panel_centerprint_size "0.650000 0.200000" seta hud_panel_centerprint_bg "0" @@ -297,7 +297,7 @@ seta hud_panel_centerprint_fade_subsequent_passtwo_minalpha "0.5" seta hud_panel_centerprint_fade_subsequent_minfontsize "0.75" seta hud_panel_centerprint_fade_minfontsize "0" -seta hud_panel_mapvote 1 +seta hud_panel_mapvote "1" seta hud_panel_mapvote_pos "0 0" seta hud_panel_mapvote_size "1 1" seta hud_panel_mapvote_bg "0" @@ -307,7 +307,7 @@ seta hud_panel_mapvote_bg_alpha "" seta hud_panel_mapvote_bg_border "" seta hud_panel_mapvote_bg_padding "" -seta hud_panel_itemstime 2 +seta hud_panel_itemstime "2" seta hud_panel_itemstime_pos "0.000000 0.290000" seta hud_panel_itemstime_size "0.150000 0.060000" seta hud_panel_itemstime_bg "0" @@ -364,7 +364,7 @@ seta hud_panel_minigamemenu_bg_alpha "" seta hud_panel_minigamemenu_bg_border "" seta hud_panel_minigamemenu_bg_padding "" -seta hud_panel_quickmenu 1 +seta hud_panel_quickmenu "1" seta hud_panel_quickmenu_pos "0.010000 0.380000" seta hud_panel_quickmenu_size "0.210000 0.250000" seta hud_panel_quickmenu_bg "" diff --git a/qcsrc/client/hud/hud_config.qc b/qcsrc/client/hud/hud_config.qc index 6bb871dab..df340a81c 100644 --- a/qcsrc/client/hud/hud_config.qc +++ b/qcsrc/client/hud/hud_config.qc @@ -3,11 +3,8 @@ #include "hud.qh" #define HUD_Write(s) fputs(fh, s) -// q: quoted, n: not quoted -#define HUD_Write_Cvar_n(cvar) HUD_Write(strcat("seta ", cvar, " ", cvar_string(cvar), "\n")) -#define HUD_Write_Cvar_q(cvar) HUD_Write(strcat("seta ", cvar, " \"", cvar_string(cvar), "\"\n")) -#define HUD_Write_PanelCvar_n(cvar_suf) HUD_Write_Cvar_n(strcat("hud_panel_", panel.panel_name, cvar_suf)) -#define HUD_Write_PanelCvar_q(cvar_suf) HUD_Write_Cvar_q(strcat("hud_panel_", panel.panel_name, cvar_suf)) +#define HUD_Write_Cvar(cvar) HUD_Write(strcat("seta ", cvar, " \"", cvar_string(cvar), "\"\n")) +#define HUD_Write_PanelCvar(cvar_suf) HUD_Write_Cvar(strcat("hud_panel_", panel.panel_name, cvar_suf)) // Save the config void HUD_Panel_ExportCfg(string cfgname) { @@ -16,40 +13,40 @@ void HUD_Panel_ExportCfg(string cfgname) fh = fopen(filename, FILE_WRITE); if(fh >= 0) { - HUD_Write_Cvar_q("hud_skin"); - HUD_Write_Cvar_q("hud_panel_bg"); - HUD_Write_Cvar_q("hud_panel_bg_color"); - HUD_Write_Cvar_q("hud_panel_bg_color_team"); - HUD_Write_Cvar_q("hud_panel_bg_alpha"); - HUD_Write_Cvar_q("hud_panel_bg_border"); - HUD_Write_Cvar_q("hud_panel_bg_padding"); - HUD_Write_Cvar_q("hud_panel_fg_alpha"); + HUD_Write_Cvar("hud_skin"); + HUD_Write_Cvar("hud_panel_bg"); + HUD_Write_Cvar("hud_panel_bg_color"); + HUD_Write_Cvar("hud_panel_bg_color_team"); + HUD_Write_Cvar("hud_panel_bg_alpha"); + HUD_Write_Cvar("hud_panel_bg_border"); + HUD_Write_Cvar("hud_panel_bg_padding"); + HUD_Write_Cvar("hud_panel_fg_alpha"); HUD_Write("\n"); - HUD_Write_Cvar_q("hud_dock"); - HUD_Write_Cvar_q("hud_dock_color"); - HUD_Write_Cvar_q("hud_dock_color_team"); - HUD_Write_Cvar_q("hud_dock_alpha"); + HUD_Write_Cvar("hud_dock"); + HUD_Write_Cvar("hud_dock_color"); + HUD_Write_Cvar("hud_dock_color_team"); + HUD_Write_Cvar("hud_dock_alpha"); HUD_Write("\n"); - HUD_Write_Cvar_q("hud_progressbar_alpha"); - HUD_Write_Cvar_q("hud_progressbar_strength_color"); - HUD_Write_Cvar_q("hud_progressbar_shield_color"); - HUD_Write_Cvar_q("hud_progressbar_health_color"); - HUD_Write_Cvar_q("hud_progressbar_armor_color"); - HUD_Write_Cvar_q("hud_progressbar_fuel_color"); - HUD_Write_Cvar_q("hud_progressbar_nexball_color"); - HUD_Write_Cvar_q("hud_progressbar_speed_color"); - HUD_Write_Cvar_q("hud_progressbar_acceleration_color"); - HUD_Write_Cvar_q("hud_progressbar_acceleration_neg_color"); + HUD_Write_Cvar("hud_progressbar_alpha"); + HUD_Write_Cvar("hud_progressbar_strength_color"); + HUD_Write_Cvar("hud_progressbar_shield_color"); + HUD_Write_Cvar("hud_progressbar_health_color"); + HUD_Write_Cvar("hud_progressbar_armor_color"); + HUD_Write_Cvar("hud_progressbar_fuel_color"); + HUD_Write_Cvar("hud_progressbar_nexball_color"); + HUD_Write_Cvar("hud_progressbar_speed_color"); + HUD_Write_Cvar("hud_progressbar_acceleration_color"); + HUD_Write_Cvar("hud_progressbar_acceleration_neg_color"); HUD_Write("\n"); - HUD_Write_Cvar_q("_hud_panelorder"); + HUD_Write_Cvar("_hud_panelorder"); HUD_Write("\n"); - HUD_Write_Cvar_q("hud_configure_grid"); - HUD_Write_Cvar_q("hud_configure_grid_xsize"); - HUD_Write_Cvar_q("hud_configure_grid_ysize"); + HUD_Write_Cvar("hud_configure_grid"); + HUD_Write_Cvar("hud_configure_grid_xsize"); + HUD_Write_Cvar("hud_configure_grid_ysize"); HUD_Write("\n"); // common cvars for all panels @@ -57,151 +54,151 @@ void HUD_Panel_ExportCfg(string cfgname) { panel = hud_panels_from(i); - HUD_Write_PanelCvar_n(""); - HUD_Write_PanelCvar_q("_pos"); - HUD_Write_PanelCvar_q("_size"); - HUD_Write_PanelCvar_q("_bg"); - HUD_Write_PanelCvar_q("_bg_color"); - HUD_Write_PanelCvar_q("_bg_color_team"); - HUD_Write_PanelCvar_q("_bg_alpha"); - HUD_Write_PanelCvar_q("_bg_border"); - HUD_Write_PanelCvar_q("_bg_padding"); + HUD_Write_PanelCvar(""); + HUD_Write_PanelCvar("_pos"); + HUD_Write_PanelCvar("_size"); + HUD_Write_PanelCvar("_bg"); + HUD_Write_PanelCvar("_bg_color"); + HUD_Write_PanelCvar("_bg_color_team"); + HUD_Write_PanelCvar("_bg_alpha"); + HUD_Write_PanelCvar("_bg_border"); + HUD_Write_PanelCvar("_bg_padding"); switch(panel) { case HUD_PANEL_WEAPONS: - HUD_Write_PanelCvar_q("_accuracy"); - HUD_Write_PanelCvar_q("_label"); - HUD_Write_PanelCvar_q("_label_scale"); - HUD_Write_PanelCvar_q("_complainbubble"); - HUD_Write_PanelCvar_q("_complainbubble_padding"); - HUD_Write_PanelCvar_q("_complainbubble_time"); - HUD_Write_PanelCvar_q("_complainbubble_fadetime"); - HUD_Write_PanelCvar_q("_complainbubble_color_outofammo"); - HUD_Write_PanelCvar_q("_complainbubble_color_donthave"); - HUD_Write_PanelCvar_q("_complainbubble_color_unavailable"); - HUD_Write_PanelCvar_q("_ammo"); - HUD_Write_PanelCvar_q("_ammo_color"); - HUD_Write_PanelCvar_q("_ammo_alpha"); - HUD_Write_PanelCvar_q("_aspect"); - HUD_Write_PanelCvar_q("_timeout"); - HUD_Write_PanelCvar_q("_timeout_effect"); - HUD_Write_PanelCvar_q("_timeout_fadebgmin"); - HUD_Write_PanelCvar_q("_timeout_fadefgmin"); - HUD_Write_PanelCvar_q("_timeout_speed_in"); - HUD_Write_PanelCvar_q("_timeout_speed_out"); - HUD_Write_PanelCvar_q("_onlyowned"); - HUD_Write_PanelCvar_q("_noncurrent_alpha"); - HUD_Write_PanelCvar_q("_noncurrent_scale"); + HUD_Write_PanelCvar("_accuracy"); + HUD_Write_PanelCvar("_label"); + HUD_Write_PanelCvar("_label_scale"); + HUD_Write_PanelCvar("_complainbubble"); + HUD_Write_PanelCvar("_complainbubble_padding"); + HUD_Write_PanelCvar("_complainbubble_time"); + HUD_Write_PanelCvar("_complainbubble_fadetime"); + HUD_Write_PanelCvar("_complainbubble_color_outofammo"); + HUD_Write_PanelCvar("_complainbubble_color_donthave"); + HUD_Write_PanelCvar("_complainbubble_color_unavailable"); + HUD_Write_PanelCvar("_ammo"); + HUD_Write_PanelCvar("_ammo_color"); + HUD_Write_PanelCvar("_ammo_alpha"); + HUD_Write_PanelCvar("_aspect"); + HUD_Write_PanelCvar("_timeout"); + HUD_Write_PanelCvar("_timeout_effect"); + HUD_Write_PanelCvar("_timeout_fadebgmin"); + HUD_Write_PanelCvar("_timeout_fadefgmin"); + HUD_Write_PanelCvar("_timeout_speed_in"); + HUD_Write_PanelCvar("_timeout_speed_out"); + HUD_Write_PanelCvar("_onlyowned"); + HUD_Write_PanelCvar("_noncurrent_alpha"); + HUD_Write_PanelCvar("_noncurrent_scale"); break; case HUD_PANEL_AMMO: - HUD_Write_PanelCvar_q("_onlycurrent"); - HUD_Write_PanelCvar_q("_noncurrent_alpha"); - HUD_Write_PanelCvar_q("_noncurrent_scale"); - HUD_Write_PanelCvar_q("_iconalign"); - HUD_Write_PanelCvar_q("_progressbar"); - HUD_Write_PanelCvar_q("_progressbar_name"); - HUD_Write_PanelCvar_q("_progressbar_xoffset"); - HUD_Write_PanelCvar_q("_text"); + HUD_Write_PanelCvar("_onlycurrent"); + HUD_Write_PanelCvar("_noncurrent_alpha"); + HUD_Write_PanelCvar("_noncurrent_scale"); + HUD_Write_PanelCvar("_iconalign"); + HUD_Write_PanelCvar("_progressbar"); + HUD_Write_PanelCvar("_progressbar_name"); + HUD_Write_PanelCvar("_progressbar_xoffset"); + HUD_Write_PanelCvar("_text"); break; case HUD_PANEL_POWERUPS: - HUD_Write_PanelCvar_q("_iconalign"); - HUD_Write_PanelCvar_q("_baralign"); - HUD_Write_PanelCvar_q("_progressbar"); - HUD_Write_PanelCvar_q("_text"); + HUD_Write_PanelCvar("_iconalign"); + HUD_Write_PanelCvar("_baralign"); + HUD_Write_PanelCvar("_progressbar"); + HUD_Write_PanelCvar("_text"); break; case HUD_PANEL_HEALTHARMOR: - HUD_Write_PanelCvar_q("_flip"); - HUD_Write_PanelCvar_q("_iconalign"); - HUD_Write_PanelCvar_q("_baralign"); - HUD_Write_PanelCvar_q("_progressbar"); - HUD_Write_PanelCvar_q("_progressbar_health"); - HUD_Write_PanelCvar_q("_progressbar_armor"); - HUD_Write_PanelCvar_q("_progressbar_gfx"); - HUD_Write_PanelCvar_q("_progressbar_gfx_smooth"); - HUD_Write_PanelCvar_q("_text"); + HUD_Write_PanelCvar("_flip"); + HUD_Write_PanelCvar("_iconalign"); + HUD_Write_PanelCvar("_baralign"); + HUD_Write_PanelCvar("_progressbar"); + HUD_Write_PanelCvar("_progressbar_health"); + HUD_Write_PanelCvar("_progressbar_armor"); + HUD_Write_PanelCvar("_progressbar_gfx"); + HUD_Write_PanelCvar("_progressbar_gfx_smooth"); + HUD_Write_PanelCvar("_text"); break; case HUD_PANEL_NOTIFY: - HUD_Write_PanelCvar_q("_flip"); - HUD_Write_PanelCvar_q("_fontsize"); - HUD_Write_PanelCvar_q("_time"); - HUD_Write_PanelCvar_q("_fadetime"); - HUD_Write_PanelCvar_q("_icon_aspect"); + HUD_Write_PanelCvar("_flip"); + HUD_Write_PanelCvar("_fontsize"); + HUD_Write_PanelCvar("_time"); + HUD_Write_PanelCvar("_fadetime"); + HUD_Write_PanelCvar("_icon_aspect"); break; case HUD_PANEL_TIMER: break; case HUD_PANEL_RADAR: - 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"); - HUD_Write_PanelCvar_q("_maximized_rotation"); - HUD_Write_PanelCvar_q("_maximized_zoommode"); + HUD_Write_PanelCvar("_foreground_alpha"); + HUD_Write_PanelCvar("_rotation"); + HUD_Write_PanelCvar("_zoommode"); + HUD_Write_PanelCvar("_scale"); + HUD_Write_PanelCvar("_maximized_scale"); + HUD_Write_PanelCvar("_maximized_size"); + HUD_Write_PanelCvar("_maximized_rotation"); + HUD_Write_PanelCvar("_maximized_zoommode"); break; case HUD_PANEL_SCORE: - HUD_Write_PanelCvar_q("_rankings"); + HUD_Write_PanelCvar("_rankings"); break; case HUD_PANEL_VOTE: - HUD_Write_PanelCvar_q("_alreadyvoted_alpha"); + HUD_Write_PanelCvar("_alreadyvoted_alpha"); break; case HUD_PANEL_MODICONS: - HUD_Write_PanelCvar_q("_ca_layout"); - HUD_Write_PanelCvar_q("_dom_layout"); - HUD_Write_PanelCvar_q("_freezetag_layout"); + HUD_Write_PanelCvar("_ca_layout"); + HUD_Write_PanelCvar("_dom_layout"); + HUD_Write_PanelCvar("_freezetag_layout"); break; case HUD_PANEL_PRESSEDKEYS: - HUD_Write_PanelCvar_q("_aspect"); - HUD_Write_PanelCvar_q("_attack"); + HUD_Write_PanelCvar("_aspect"); + HUD_Write_PanelCvar("_attack"); break; case HUD_PANEL_ENGINEINFO: - HUD_Write_PanelCvar_q("_framecounter_time"); - HUD_Write_PanelCvar_q("_framecounter_decimals"); + HUD_Write_PanelCvar("_framecounter_time"); + HUD_Write_PanelCvar("_framecounter_decimals"); break; case HUD_PANEL_INFOMESSAGES: - HUD_Write_PanelCvar_q("_flip"); + HUD_Write_PanelCvar("_flip"); break; case HUD_PANEL_PHYSICS: - HUD_Write_PanelCvar_q("_speed_unit_show"); - HUD_Write_PanelCvar_q("_speed_max"); - HUD_Write_PanelCvar_q("_speed_vertical"); - HUD_Write_PanelCvar_q("_topspeed"); - HUD_Write_PanelCvar_q("_topspeed_time"); - HUD_Write_PanelCvar_q("_acceleration_max"); - HUD_Write_PanelCvar_q("_acceleration_vertical"); - HUD_Write_PanelCvar_q("_flip"); - HUD_Write_PanelCvar_q("_baralign"); - HUD_Write_PanelCvar_q("_progressbar"); - HUD_Write_PanelCvar_q("_progressbar_acceleration_mode"); - HUD_Write_PanelCvar_q("_progressbar_acceleration_scale"); - HUD_Write_PanelCvar_q("_progressbar_acceleration_nonlinear"); - HUD_Write_PanelCvar_q("_text"); - HUD_Write_PanelCvar_q("_text_scale"); + HUD_Write_PanelCvar("_speed_unit_show"); + HUD_Write_PanelCvar("_speed_max"); + HUD_Write_PanelCvar("_speed_vertical"); + HUD_Write_PanelCvar("_topspeed"); + HUD_Write_PanelCvar("_topspeed_time"); + HUD_Write_PanelCvar("_acceleration_max"); + HUD_Write_PanelCvar("_acceleration_vertical"); + HUD_Write_PanelCvar("_flip"); + HUD_Write_PanelCvar("_baralign"); + HUD_Write_PanelCvar("_progressbar"); + HUD_Write_PanelCvar("_progressbar_acceleration_mode"); + HUD_Write_PanelCvar("_progressbar_acceleration_scale"); + HUD_Write_PanelCvar("_progressbar_acceleration_nonlinear"); + HUD_Write_PanelCvar("_text"); + HUD_Write_PanelCvar("_text_scale"); break; case HUD_PANEL_CENTERPRINT: - HUD_Write_PanelCvar_q("_align"); - HUD_Write_PanelCvar_q("_flip"); - HUD_Write_PanelCvar_q("_fontscale"); - HUD_Write_PanelCvar_q("_time"); - HUD_Write_PanelCvar_q("_fade_in"); - HUD_Write_PanelCvar_q("_fade_out"); - HUD_Write_PanelCvar_q("_fade_subsequent"); - HUD_Write_PanelCvar_q("_fade_subsequent_passone"); - HUD_Write_PanelCvar_q("_fade_subsequent_passone_minalpha"); - HUD_Write_PanelCvar_q("_fade_subsequent_passtwo"); - HUD_Write_PanelCvar_q("_fade_subsequent_passtwo_minalpha"); - HUD_Write_PanelCvar_q("_fade_subsequent_minfontsize"); - HUD_Write_PanelCvar_q("_fade_minfontsize"); + HUD_Write_PanelCvar("_align"); + HUD_Write_PanelCvar("_flip"); + HUD_Write_PanelCvar("_fontscale"); + HUD_Write_PanelCvar("_time"); + HUD_Write_PanelCvar("_fade_in"); + HUD_Write_PanelCvar("_fade_out"); + HUD_Write_PanelCvar("_fade_subsequent"); + HUD_Write_PanelCvar("_fade_subsequent_passone"); + HUD_Write_PanelCvar("_fade_subsequent_passone_minalpha"); + HUD_Write_PanelCvar("_fade_subsequent_passtwo"); + HUD_Write_PanelCvar("_fade_subsequent_passtwo_minalpha"); + HUD_Write_PanelCvar("_fade_subsequent_minfontsize"); + HUD_Write_PanelCvar("_fade_minfontsize"); break; case HUD_PANEL_ITEMSTIME: - HUD_Write_PanelCvar_q("_iconalign"); - HUD_Write_PanelCvar_q("_progressbar"); - HUD_Write_PanelCvar_q("_progressbar_name"); - HUD_Write_PanelCvar_q("_progressbar_reduced"); - HUD_Write_PanelCvar_q("_text"); - HUD_Write_PanelCvar_q("_ratio"); - HUD_Write_PanelCvar_q("_dynamicsize"); + HUD_Write_PanelCvar("_iconalign"); + HUD_Write_PanelCvar("_progressbar"); + HUD_Write_PanelCvar("_progressbar_name"); + HUD_Write_PanelCvar("_progressbar_reduced"); + HUD_Write_PanelCvar("_text"); + HUD_Write_PanelCvar("_ratio"); + HUD_Write_PanelCvar("_dynamicsize"); case HUD_PANEL_QUICKMENU: - HUD_Write_PanelCvar_q("_align"); + HUD_Write_PanelCvar("_align"); break; } HUD_Write("\n"); -- 2.39.2