From 011bb51c9e023621a130c1bfe280840dbbe36b5c Mon Sep 17 00:00:00 2001 From: FruitieX Date: Thu, 17 Jun 2010 00:46:55 +0300 Subject: [PATCH] really fix notify resizing now, also move the default skin cvars from defaultXonotic.cfg into hud_wickedhud_default.cfg --- defaultXonotic.cfg | 186 +------------------- hud_wickedhud_default.cfg | 346 ++++++++++++++++++++------------------ qcsrc/client/hud.qc | 3 +- 3 files changed, 188 insertions(+), 347 deletions(-) diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index deac3f50e5..82289bff9a 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1317,17 +1317,6 @@ con_notifyalign 0 // hud variables set _hud_configure 0 "1 = configure the HUD" - -seta hud_skin wickedhud "skin folder where to look for images" -seta hud_bg "border" "default background for the panels, file must exist in gfx/hud/[skin name]/, 0 = disable background by default" -seta hud_bg_color "0.875 0.375 0" "default background color for the panels, accepts \"shirt\" and \"pants\"" -seta hud_bg_color_team 0 "default setting for overriding panel color with team color in team games, 0.5 = less saturated" -seta hud_bg_alpha 1 "default alpha of the background" -seta hud_bg_border 6 "default border size for the panels" -seta hud_bg_padding 2 "default padding of contents from the border" -seta hud_fg_alpha 1 "alpha of the foreground" -seta hud_progressbar_alpha "0.5" "alpha of progressbars" - seta hud_configure_checkcollisions 1 "check for collisions against other panels when in hud configure mode" seta hud_configure_bg_minalpha 0.25 "minimum panel background alpha when in hud configure mode" seta hud_configure_grid 1 "snap to grid when moving/resizing panels" @@ -1335,182 +1324,9 @@ seta hud_configure_grid_x 5 "snap each X pixels" seta hud_configure_grid_y 5 "snap each Y pixels" seta hud_configure_grid_alpha 0.15 "alpha for visible grid when in configure mode" -seta hud_dock "dock_small" "enable a fullscreen background for the hud, useful for creating artificial docks, \"\" = disable" -seta hud_dock_color "0 0.1875 0.4375" "dock color, accepts \"shirt\" and \"pants\"" -seta hud_dock_color_team 0.7 "override dock color with team color in team games" -seta hud_dock_alpha 1 "alpha of the dock" - seta sbar_info_pos 0 "Y-axis distance from lower right corner for engine info prints" -seta hud_weaponicons 1 "enable/disable this panel" -seta hud_weaponicons_pos "-0.075000 0.083333" "position of this panel" -seta hud_weaponicons_size "0.050000 0.500000" "size of this panel" -seta hud_weaponicons_number 1 "show number of weapon" -seta hud_weaponicons_accuracy_yellow 40 "percentage at which the accuracy color is yellow" -seta hud_weaponicons_bg "border_weaponicons" "if set to something else than \"\" = override default background" -seta hud_weaponicons_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_weaponicons_bg_color_team "" "override panel color with team color in team based games" -seta hud_weaponicons_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" -seta hud_weaponicons_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_weaponicons_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" - -seta hud_inventory 1 "enable/disable this panel" -seta hud_inventory_pos "-0.318750 -0.066667" "position of this panel" -seta hud_inventory_size "0.087500 0.050000" "size of this panel" -seta hud_inventory_onlycurrent 1 "1 = show only current ammo type" -seta hud_inventory_bg "border_inventory" "if set to something else than \"\" = override default background" -seta hud_inventory_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_inventory_bg_color_team "" "override panel color with team color in team based games" -seta hud_inventory_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" -seta hud_inventory_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_inventory_bg_padding "" if set to something else than \"\" = override default padding of contents from border" - -seta hud_powerups 1 "enable/disable this panel" -seta hud_powerups_pos "0.400000 0.141667" "position of this panel" -seta hud_powerups_size "0.200000 0.041667" "size of this panel" -seta hud_powerups_flip 1 "flip strength/shield positions" -seta hud_powerups_mirror 0 "mirror alignment of panel items" -seta hud_powerups_bg "border_powerups" "if set to something else than \"\" = override default background" -seta hud_powerups_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_powerups_bg_color_team "" "override panel color with team color in team based games" -seta hud_powerups_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" -seta hud_powerups_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_powerups_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" -seta hud_progressbar_strength_color "0 0 0.6" "R G B vector of the progress bar background color" -seta hud_progressbar_shield_color "0.6 0 0.6" "R G B vector of the progress bar background color" - -seta hud_healtharmor 1 "enable/disable this panel, 2 = combined health/armor display" -seta hud_healtharmor_pos "-0.606250 -0.075000" "position of this panel" -seta hud_healtharmor_size "0.268750 0.058333" "size of this panel" -seta hud_healtharmor_flip 0 "flip health/armor positions" -seta hud_healtharmor_mirror 0 "mirror alignment of panel items" -seta hud_healtharmor_bg "border_healtharmor" "if set to something else than \"\" = override default background" -seta hud_healtharmor_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_healtharmor_bg_color_team "" "override panel color with team color in team based games" -seta hud_healtharmor_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" -seta hud_healtharmor_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_healtharmor_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" -seta hud_progressbar_health_color "0.6 0 0" "R G B vector of the progress bar background color" -seta hud_progressbar_armor_color "0 0.6 0" "R G B vector of the progress bar background color" -seta hud_progressbar_fuel_color "0.6 0.6 0" "R G B vector of the progress bar background color" - -seta hud_notify 1 "enable/disable this panel" -seta hud_notify_pos "-0.206250 -0.266667" "position of this base of the panel" -seta hud_notify_size "0.181250 0.183333" "size of this panel with all notifications on" -seta hud_notify_bg "border_modicons" "if set to something else than \"\" = override default background" -seta hud_notify_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_notify_bg_color_team "" "override panel color with team color in team based games" -seta hud_notify_bg_alpha 0 "if set to something else than \"\" = override default panel background alpha" -seta hud_notify_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_notify_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" -seta hud_notify_flip 0 "order the list top to bottom instead of bottom to top" -seta hud_notify_print 0 "also con_notify print the messages that are shown on the notify panel" -seta hud_notify_time 10 "time that a new entry stays until it fades out" -seta hud_notify_fadetime 3 "fade out time" -seta hud_notify_info_top 1 "show info messages at top of panel" - -seta hud_timer 1 "enable/disable this panel" -seta hud_timer_pos "-0.125000 0.016667" "position of this base of the panel" -seta hud_timer_size "0.112500 0.033333" "size of this panel" -seta hud_timer_increment 0 "show elapsed time instead of remaining time" -seta hud_timer_bg "border_timer" "if set to something else than \"\" = override default background" -seta hud_timer_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_timer_bg_color_team "" "override panel color with team color in team based games" -seta hud_timer_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" -seta hud_timer_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_timer_bg_padding "-1" "if set to something else than \"\" = override default padding of contents from border" - -seta hud_radar 2 "enable/disable this panel, 2 = also enable in non-teambased gamemodes" -seta hud_radar_pos "0.025000 0.091667" "position of this base of the panel" -seta hud_radar_size "0.175000 0.216667" "size of this panel" -seta hud_radar_bg "border_radar" "if set to something else than \"\" = override default background" -seta hud_radar_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_radar_bg_color_team "" "override panel color with team color in team based games" -seta hud_radar_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" -seta hud_radar_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_radar_bg_padding "-3" "if set to something else than \"\" = override default padding of contents from border" -seta hud_radar_foreground_alpha 0.8 "alpha of the map" -seta hud_radar_scale 4096 "distance you can see on the team radar" -seta hud_radar_rotation 0 "rotation mode: you set what points up. 0 = player, 1 = west, 2 = south, 3 = east, 4 = north" -seta hud_radar_zoommode 0 "zoom mode: 0 = zoomed by default, 1 = zoomed when +zoom, 2 = always zoomed, 3 = always zoomed out" -alias hud_radar_rotate "toggle hud_radar_rotation 0 1 2 3 4" - -seta hud_score 1 "enable/disable this panel" -seta hud_score_pos "0.237500 -0.066667" "position of this base of the panel" -seta hud_score_size "0.137500 0.050000" "size of this panel" -seta hud_score_bg "border_score" "if set to something else than \"\" = override default background" -seta hud_score_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_score_bg_color_team "" "override panel color with team color in team based games" -seta hud_score_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" -seta hud_score_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_score_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" - -seta hud_racetimer 1 "enable/disable this panel" -seta hud_racetimer_pos "0.350000 0.016667" "position of this base of the panel" -seta hud_racetimer_size "0.300000 0.100000" "size of this panel" -seta hud_racetimer_bg 0 "if set to something else than \"\" = override default background" -seta hud_racetimer_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_racetimer_bg_color_team "" "override panel color with team color in team based games" -seta hud_racetimer_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" -seta hud_racetimer_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_racetimer_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" - -seta hud_vote 1 "enable/disable this panel" -seta hud_vote_pos "0.375000 -0.200000" "position of this base of the panel" -seta hud_vote_size "0.250000 0.083333" "size of this panel" -seta hud_vote_alreadyvoted_alpha 0.75 "alpha of the vote dialog after you have voted" -seta hud_vote_bg "border_modicons" "if set to something else than \"\" = override default background" -seta hud_vote_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_vote_bg_color_team "" "override panel color with team color in team based games" -seta hud_vote_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" -seta hud_vote_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_vote_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" - -seta hud_modicons 1 "enable/disable this panel" -seta hud_modicons_pos "-0.356250 -0.200000" "position of this base of the panel" -seta hud_modicons_size "0.125000 0.083333" "size of this panel" -seta hud_modicons_bg "border_modicons" "if set to something else than \"\" = override default background" -seta hud_modicons_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_modicons_bg_color_team "" "override panel color with team color in team based games" -seta hud_modicons_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" -seta hud_modicons_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_modicons_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" -seta hud_progressbar_nexball_color "0.7 0.1 0" "R G B vector of the progress bar background color" - -seta hud_pressedkeys 1 "enable/disable this panel, 1 = show only when spectating other players, 2 = show always" -seta hud_pressedkeys_pos "0.431250 -0.325000" "position of this base of the panel" -seta hud_pressedkeys_size "0.131250 0.100000" "size of this panel" -seta hud_pressedkeys_bg "" "if set to something else than \"\" = override default background" -seta hud_pressedkeys_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_pressedkeys_bg_color_team "" "override panel color with team color in team based games" -seta hud_pressedkeys_bg_alpha 0 "if set to something else than \"\" = override default panel background alpha" -seta hud_pressedkeys_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_pressedkeys_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" - -seta hud_chat 1 "enable/disable this panel, 1 = show only when spectating other players, 2 = show always" -seta hud_chat_pos "0.025000 -0.200000" "position of this base of the panel" -seta hud_chat_size "0.331250 0.083333" "size of this panel" -seta hud_chat_bg "" "if set to something else than \"\" = override default background" -seta hud_chat_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_chat_bg_color_team "" "override panel color with team color in team based games" -seta hud_chat_bg_alpha 0 "if set to something else than \"\" = override default panel background alpha" -seta hud_chat_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_chat_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" - -seta hud_engineinfo 0 "enable/disable this panel, 1 = show only when spectating other players, 2 = show always" -seta hud_engineinfo_pos "-0.131250 -0.050000"" "position of this base of the panel" -seta hud_engineinfo_size "0.131250 0.041667" "size of this panel" -seta hud_engineinfo_bg "" "if set to something else than \"\" = override default background" -seta hud_engineinfo_bg_color "" "if set to something else than \"\" = override default panel background color" -seta hud_engineinfo_bg_color_team "" "override panel color with team color in team based games" -seta hud_engineinfo_bg_alpha 0 "if set to something else than \"\" = override default panel background alpha" -seta hud_engineinfo_bg_border "" "if set to something else than \"\" = override default size of border around the background" -seta hud_engineinfo_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" -seta hud_engineinfo_framecounter_time 1 "time between framerate display updates, smaller values yield less accuracy" -seta hud_engineinfo_framecounter_decimals 0 "amount of decimals to show" -seta hud_engineinfo_framecounter_exponentialmovingaverage 1 "use an averaging method for calculating fps instead of counting frametime like engine does" -seta hud_engineinfo_framecounter_exponentialmovingaverage_new_weight 0.1 "weight of latest data point" -seta hud_engineinfo_framecounter_exponentialmovingaverage_instantupdate_change_threshold 0.5 "treshold for fps change when to update instantly, to make big fps changes update faster" +exec hud_wickedhud_default.cfg // scoreboard seta scoreboard_columns default diff --git a/hud_wickedhud_default.cfg b/hud_wickedhud_default.cfg index 443a594b7c..4138a9f1c2 100644 --- a/hud_wickedhud_default.cfg +++ b/hud_wickedhud_default.cfg @@ -1,161 +1,185 @@ -seta hud_skin "wickedhud" -seta hud_bg "border" -seta hud_bg_color "0.875 0.375 0" -seta hud_bg_color_team "0" -seta hud_bg_alpha "1" -seta hud_bg_border "6" -seta hud_bg_padding "2" -seta hud_fg_alpha) "1" - -seta hud_dock "dock_small" -seta hud_dock_color "0 0.1875 0.4375" -seta hud_dock_color_team "0.700000" -seta hud_dock_alpha "1" - -seta hud_progressbar_alpha 0.500000 -seta hud_progressbar_strength_color "0 0 0.6" -seta hud_progressbar_shield_color "0.6 0 0.6" -seta hud_progressbar_health_color "0.6 0 0" -seta hud_progressbar_armor_color "0 0.6 0" -seta hud_progressbar_fuel_color "0.6 0.6 0" -seta hud_progressbar_nexball_color "0.7 0.1 0" - -seta hud_weaponicons 1 -seta hud_weaponicons_pos "-0.075000 0.083333" -seta hud_weaponicons_size "0.050000 0.500000" -seta hud_weaponicons_bg "border_weaponicons" -seta hud_weaponicons_bg_color "" -seta hud_weaponicons_bg_color_team "" -seta hud_weaponicons_bg_alpha "" -seta hud_weaponicons_bg_border "" -seta hud_weaponicons_bg_padding "" -seta hud_weaponicons_accuracy_yellow 40 - -seta hud_inventory 1 -seta hud_inventory_pos "-0.318750 -0.066667" -seta hud_inventory_size "0.087500 0.050000" -seta hud_inventory_bg "border_inventory" -seta hud_inventory_bg_color "" -seta hud_inventory_bg_color_team "" -seta hud_inventory_bg_alpha "" -seta hud_inventory_bg_border "" -seta hud_inventory_bg_padding "" -seta hud_inventory_onlycurrent 1 - -seta hud_powerups 1 -seta hud_powerups_pos "0.400000 0.141667" -seta hud_powerups_size "0.200000 0.041667" -seta hud_powerups_bg "border_powerups" -seta hud_powerups_bg_color "" -seta hud_powerups_bg_color_team "" -seta hud_powerups_bg_alpha "" -seta hud_powerups_bg_border "" -seta hud_powerups_bg_padding "" -seta hud_powerups_flip 1 -seta hud_powerups_mirror 0 - -seta hud_healtharmor 1 -seta hud_healtharmor_pos "-0.606250 -0.075000" -seta hud_healtharmor_size "0.268750 0.058333" -seta hud_healtharmor_bg "border_healtharmor" -seta hud_healtharmor_bg_color "" -seta hud_healtharmor_bg_color_team "" -seta hud_healtharmor_bg_alpha "" -seta hud_healtharmor_bg_border "" -seta hud_healtharmor_bg_padding "" -seta hud_healtharmor_flip 0 -seta hud_healtharmor_mirror 0 - -seta hud_notify 1 -seta hud_notify_pos "-0.206250 -0.266667" -seta hud_notify_size "0.181250 0.183333" -seta hud_notify_bg "border_modicons" -seta hud_notify_bg_color "" -seta hud_notify_bg_color_team "" -seta hud_notify_bg_alpha "0" -seta hud_notify_bg_border "" -seta hud_notify_bg_padding "" -seta hud_notify_flip 0 - -seta hud_timer 1 -seta hud_timer_pos "-0.125000 0.016667" -seta hud_timer_size "0.112500 0.033333" -seta hud_timer_bg "border_timer" -seta hud_timer_bg_color "" -seta hud_timer_bg_color_team "" -seta hud_timer_bg_alpha "" -seta hud_timer_bg_border "" -seta hud_timer_bg_padding "-1" -seta hud_radar_foreground_alpha "0.8" - -seta hud_radar 2 -seta hud_radar_pos "0.025000 0.091667" -seta hud_radar_size "0.175000 0.216667" -seta hud_radar_bg "border_radar" -seta hud_radar_bg_color "" -seta hud_radar_bg_color_team "" -seta hud_radar_bg_alpha "" -seta hud_radar_bg_border "" -seta hud_radar_bg_padding "-3" - -seta hud_score 1 -seta hud_score_pos "0.237500 -0.066667" -seta hud_score_size "0.137500 0.050000" -seta hud_score_bg "border_score" -seta hud_score_bg_color "" -seta hud_score_bg_color_team "" -seta hud_score_bg_alpha "1" -seta hud_score_bg_border "" -seta hud_score_bg_padding "" - -seta hud_racetimer 1 -seta hud_racetimer_pos "0.350000 0.016667" -seta hud_racetimer_size "0.300000 0.100000" -seta hud_racetimer_bg "0" -seta hud_racetimer_bg_color "" -seta hud_racetimer_bg_color_team "" -seta hud_racetimer_bg_alpha "" -seta hud_racetimer_bg_border "" -seta hud_racetimer_bg_padding "" - -seta hud_vote 1 -seta hud_vote_pos "0.375000 -0.200000" -seta hud_vote_size "0.250000 0.083333" -seta hud_vote_bg "border_modicons" -seta hud_vote_bg_color "" -seta hud_vote_bg_color_team "" -seta hud_vote_bg_alpha "" -seta hud_vote_bg_border "" -seta hud_vote_bg_padding "" -seta hud_vote_alreadyvoted_alpha 0.75 - -seta hud_modicons 1 -seta hud_modicons_pos "-0.356250 -0.200000" -seta hud_modicons_size "0.125000 0.083333" -seta hud_modicons_bg "border_modicons" -seta hud_modicons_bg_color "" -seta hud_modicons_bg_color_team "" -seta hud_modicons_bg_alpha "" -seta hud_modicons_bg_border "" -seta hud_modicons_bg_padding "" - -seta hud_pressedkeys 1 -seta hud_pressedkeys_pos "0.431250 -0.325000" -seta hud_pressedkeys_size "0.131250 0.100000" -seta hud_pressedkeys_bg "0" -seta hud_pressedkeys_bg_color "" -seta hud_pressedkeys_bg_color_team "" -seta hud_pressedkeys_bg_alpha "0" -seta hud_pressedkeys_bg_border "" -seta hud_pressedkeys_bg_padding "" - -seta hud_chat 1 -seta hud_chat_pos "0.025000 -0.200000" -seta hud_chat_size "0.331250 0.083333" -seta hud_chat_bg "0" -seta hud_chat_bg_color "" -seta hud_chat_bg_color_team "" -seta hud_chat_bg_alpha "0" -seta hud_chat_bg_border "" -seta hud_chat_bg_padding "" - +seta hud_skin wickedhud "skin folder where to look for images" +seta hud_bg "border" "default background for the panels, file must exist in gfx/hud/[skin name]/, 0 = disable background by default" +seta hud_bg_color "0.875 0.375 0" "default background color for the panels, accepts \"shirt\" and \"pants\"" +seta hud_bg_color_team 0 "default setting for overriding panel color with team color in team games, 0.5 = less saturated" +seta hud_bg_alpha 1 "default alpha of the background" +seta hud_bg_border 6 "default border size for the panels" +seta hud_bg_padding 2 "default padding of contents from the border" +seta hud_fg_alpha 1 "alpha of the foreground" + +seta hud_dock "dock_small" "enable a fullscreen background for the hud, useful for creating artificial docks, \"\" = disable" +seta hud_dock_color "0 0.1875 0.4375" "dock color, accepts \"shirt\" and \"pants\"" +seta hud_dock_color_team 0.7 "override dock color with team color in team games" +seta hud_dock_alpha 1 "alpha of the dock" + +seta hud_progressbar_alpha "0.5" "alpha of progressbars" +seta hud_progressbar_strength_color "0 0 0.6" "R G B vector of the progress bar background color" +seta hud_progressbar_shield_color "0.6 0 0.6" "R G B vector of the progress bar background color" +seta hud_progressbar_health_color "0.6 0 0" "R G B vector of the progress bar background color" +seta hud_progressbar_armor_color "0 0.6 0" "R G B vector of the progress bar background color" +seta hud_progressbar_fuel_color "0.6 0.6 0" "R G B vector of the progress bar background color" +seta hud_progressbar_nexball_color "0.7 0.1 0" "R G B vector of the progress bar background color" + +seta hud_weaponicons 1 "enable/disable this panel" +seta hud_weaponicons_pos "-0.075000 0.083333" "position of this panel" +seta hud_weaponicons_size "0.050000 0.500000" "size of this panel" +seta hud_weaponicons_number 1 "show number of weapon" +seta hud_weaponicons_accuracy_yellow 40 "percentage at which the accuracy color is yellow" +seta hud_weaponicons_bg "border_weaponicons" "if set to something else than \"\" = override default background" +seta hud_weaponicons_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_weaponicons_bg_color_team "" "override panel color with team color in team based games" +seta hud_weaponicons_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" +seta hud_weaponicons_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_weaponicons_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" + +seta hud_inventory 1 "enable/disable this panel" +seta hud_inventory_pos "-0.318750 -0.066667" "position of this panel" +seta hud_inventory_size "0.087500 0.050000" "size of this panel" +seta hud_inventory_onlycurrent 1 "1 = show only current ammo type" +seta hud_inventory_bg "border_inventory" "if set to something else than \"\" = override default background" +seta hud_inventory_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_inventory_bg_color_team "" "override panel color with team color in team based games" +seta hud_inventory_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" +seta hud_inventory_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_inventory_bg_padding "" if set to something else than \"\" = override default padding of contents from border" + +seta hud_powerups 1 "enable/disable this panel" +seta hud_powerups_pos "0.400000 0.141667" "position of this panel" +seta hud_powerups_size "0.200000 0.041667" "size of this panel" +seta hud_powerups_flip 1 "flip strength/shield positions" +seta hud_powerups_mirror 0 "mirror alignment of panel items" +seta hud_powerups_bg "border_powerups" "if set to something else than \"\" = override default background" +seta hud_powerups_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_powerups_bg_color_team "" "override panel color with team color in team based games" +seta hud_powerups_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" +seta hud_powerups_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_powerups_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" + +seta hud_healtharmor 1 "enable/disable this panel, 2 = combined health/armor display" +seta hud_healtharmor_pos "-0.606250 -0.075000" "position of this panel" +seta hud_healtharmor_size "0.268750 0.058333" "size of this panel" +seta hud_healtharmor_flip 0 "flip health/armor positions" +seta hud_healtharmor_mirror 0 "mirror alignment of panel items" +seta hud_healtharmor_bg "border_healtharmor" "if set to something else than \"\" = override default background" +seta hud_healtharmor_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_healtharmor_bg_color_team "" "override panel color with team color in team based games" +seta hud_healtharmor_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" +seta hud_healtharmor_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_healtharmor_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" + +seta hud_notify 1 "enable/disable this panel" +seta hud_notify_pos "-0.206250 -0.266667" "position of this base of the panel" +seta hud_notify_size "0.181250 0.183333" "size of this panel with all notifications on" +seta hud_notify_bg "border_modicons" "if set to something else than \"\" = override default background" +seta hud_notify_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_notify_bg_color_team "" "override panel color with team color in team based games" +seta hud_notify_bg_alpha 0 "if set to something else than \"\" = override default panel background alpha" +seta hud_notify_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_notify_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" +seta hud_notify_flip 0 "order the list top to bottom instead of bottom to top" +seta hud_notify_print 0 "also con_notify print the messages that are shown on the notify panel" +seta hud_notify_time 10 "time that a new entry stays until it fades out" +seta hud_notify_fadetime 3 "fade out time" +seta hud_notify_info_top 1 "show info messages at top of panel" + +seta hud_timer 1 "enable/disable this panel" +seta hud_timer_pos "-0.125000 0.016667" "position of this base of the panel" +seta hud_timer_size "0.112500 0.033333" "size of this panel" +seta hud_timer_increment 0 "show elapsed time instead of remaining time" +seta hud_timer_bg "border_timer" "if set to something else than \"\" = override default background" +seta hud_timer_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_timer_bg_color_team "" "override panel color with team color in team based games" +seta hud_timer_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" +seta hud_timer_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_timer_bg_padding "-1" "if set to something else than \"\" = override default padding of contents from border" + +seta hud_radar 2 "enable/disable this panel, 2 = also enable in non-teambased gamemodes" +seta hud_radar_pos "0.025000 0.091667" "position of this base of the panel" +seta hud_radar_size "0.175000 0.216667" "size of this panel" +seta hud_radar_bg "border_radar" "if set to something else than \"\" = override default background" +seta hud_radar_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_radar_bg_color_team "" "override panel color with team color in team based games" +seta hud_radar_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" +seta hud_radar_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_radar_bg_padding "-3" "if set to something else than \"\" = override default padding of contents from border" +seta hud_radar_foreground_alpha 0.8 "alpha of the map" +seta hud_radar_scale 4096 "distance you can see on the team radar" +seta hud_radar_rotation 0 "rotation mode: you set what points up. 0 = player, 1 = west, 2 = south, 3 = east, 4 = north" +seta hud_radar_zoommode 0 "zoom mode: 0 = zoomed by default, 1 = zoomed when +zoom, 2 = always zoomed, 3 = always zoomed out" +alias hud_radar_rotate "toggle hud_radar_rotation 0 1 2 3 4" + +seta hud_score 1 "enable/disable this panel" +seta hud_score_pos "0.237500 -0.066667" "position of this base of the panel" +seta hud_score_size "0.137500 0.050000" "size of this panel" +seta hud_score_bg "border_score" "if set to something else than \"\" = override default background" +seta hud_score_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_score_bg_color_team "" "override panel color with team color in team based games" +seta hud_score_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" +seta hud_score_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_score_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" + +seta hud_racetimer 1 "enable/disable this panel" +seta hud_racetimer_pos "0.350000 0.016667" "position of this base of the panel" +seta hud_racetimer_size "0.300000 0.100000" "size of this panel" +seta hud_racetimer_bg 0 "if set to something else than \"\" = override default background" +seta hud_racetimer_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_racetimer_bg_color_team "" "override panel color with team color in team based games" +seta hud_racetimer_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" +seta hud_racetimer_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_racetimer_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" + +seta hud_vote 1 "enable/disable this panel" +seta hud_vote_pos "0.375000 -0.200000" "position of this base of the panel" +seta hud_vote_size "0.250000 0.083333" "size of this panel" +seta hud_vote_alreadyvoted_alpha 0.75 "alpha of the vote dialog after you have voted" +seta hud_vote_bg "border_modicons" "if set to something else than \"\" = override default background" +seta hud_vote_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_vote_bg_color_team "" "override panel color with team color in team based games" +seta hud_vote_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" +seta hud_vote_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_vote_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" + +seta hud_modicons 1 "enable/disable this panel" +seta hud_modicons_pos "-0.356250 -0.200000" "position of this base of the panel" +seta hud_modicons_size "0.125000 0.083333" "size of this panel" +seta hud_modicons_bg "border_modicons" "if set to something else than \"\" = override default background" +seta hud_modicons_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_modicons_bg_color_team "" "override panel color with team color in team based games" +seta hud_modicons_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" +seta hud_modicons_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_modicons_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" + +seta hud_pressedkeys 1 "enable/disable this panel, 1 = show only when spectating other players, 2 = show always" +seta hud_pressedkeys_pos "0.431250 -0.325000" "position of this base of the panel" +seta hud_pressedkeys_size "0.131250 0.100000" "size of this panel" +seta hud_pressedkeys_bg "" "if set to something else than \"\" = override default background" +seta hud_pressedkeys_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_pressedkeys_bg_color_team "" "override panel color with team color in team based games" +seta hud_pressedkeys_bg_alpha 0 "if set to something else than \"\" = override default panel background alpha" +seta hud_pressedkeys_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_pressedkeys_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" + +seta hud_chat 1 "enable/disable this panel" +seta hud_chat_pos "0.025000 -0.200000" "position of this base of the panel" +seta hud_chat_size "0.331250 0.083333" "size of this panel" +seta hud_chat_bg "" "if set to something else than \"\" = override default background" +seta hud_chat_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_chat_bg_color_team "" "override panel color with team color in team based games" +seta hud_chat_bg_alpha 0 "if set to something else than \"\" = override default panel background alpha" +seta hud_chat_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_chat_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" + +seta hud_engineinfo 0 "enable/disable this panel +seta hud_engineinfo_pos "-0.131250 -0.050000"" "position of this base of the panel" +seta hud_engineinfo_size "0.131250 0.041667" "size of this panel" +seta hud_engineinfo_bg "" "if set to something else than \"\" = override default background" +seta hud_engineinfo_bg_color "" "if set to something else than \"\" = override default panel background color" +seta hud_engineinfo_bg_color_team "" "override panel color with team color in team based games" +seta hud_engineinfo_bg_alpha 0 "if set to something else than \"\" = override default panel background alpha" +seta hud_engineinfo_bg_border "" "if set to something else than \"\" = override default size of border around the background" +seta hud_engineinfo_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" +seta hud_engineinfo_framecounter_time 1 "time between framerate display updates, smaller values yield less accuracy" +seta hud_engineinfo_framecounter_decimals 0 "amount of decimals to show" +seta hud_engineinfo_framecounter_exponentialmovingaverage 1 "use an averaging method for calculating fps instead of counting frametime like engine does" +seta hud_engineinfo_framecounter_exponentialmovingaverage_new_weight 0.1 "weight of latest data point" +seta hud_engineinfo_framecounter_exponentialmovingaverage_instantupdate_change_threshold 0.5 "treshold for fps change when to update instantly, to make big fps changes update faster" diff --git a/qcsrc/client/hud.qc b/qcsrc/client/hud.qc index 415237d178..4cc3fa66e4 100644 --- a/qcsrc/client/hud.qc +++ b/qcsrc/client/hud.qc @@ -618,6 +618,7 @@ void HUD_Panel_ExportCfg(string cfgname) break; case 4: fputs(fh, strcat("seta hud_", HUD_Panel_GetName(i), "_flip ", ftos(cvar(strcat("hud_", HUD_Panel_GetName(i), "_flip"))), "\n")); + fputs(fh, strcat("seta hud_", HUD_Panel_GetName(i), "_info_top ", ftos(cvar(strcat("hud_", HUD_Panel_GetName(i), "_info_top"))), "\n")); break; case 6: fputs(fh, strcat("seta hud_", HUD_Panel_GetName(i), "_foreground_alpha ", ftos(cvar(strcat("hud_", HUD_Panel_GetName(i), "_foreground_alpha"))), "\n")); @@ -656,7 +657,7 @@ vector HUD_Panel_GetMinSize(float id) } break; case 4: - mySize_x = 4/5; // 4/5 * height, trial and error... + mySize_x = 1.1; // 4/5 * height, trial and error... mySize_y = 1/3; // 1/3 * width, trial and error... break; case 5: -- 2.39.2