From bac819c49b74f1693244641113f224587b355372 Mon Sep 17 00:00:00 2001 From: Samual Date: Mon, 17 Oct 2011 00:07:33 -0400 Subject: [PATCH] Update the descriptions for the HUD variables which were added to the config files... Also strip defaultXonotic.cfg of any remaining hud_* cvars and move them to _hud_common.cfg --- _hud_common.cfg | 15 +++++++++------ _hud_descriptions.cfg | 32 +++++++++++++++++++++++++++++++- defaultXonotic.cfg | 4 ---- 3 files changed, 40 insertions(+), 11 deletions(-) diff --git a/_hud_common.cfg b/_hud_common.cfg index 496f9ffc6..3a0c0ce1d 100644 --- a/_hud_common.cfg +++ b/_hud_common.cfg @@ -5,6 +5,9 @@ seta hud_configure_checkcollisions 1 "check for collisions against other panels seta hud_configure_bg_minalpha 0.25 "minimum panel background alpha when in hud configure mode" seta hud_configure_grid_alpha 0.15 "alpha for visible grid when in configure mode" +seta hud_fontsize 11 "text fontsize for the hud" +seta hud_width 560 "2D virtual width for the hud" + // general hud panel cvars (i.e. shouldn't be adjusted by a skin config) seta hud_panel_weapons_ammo_full_shells 60 "show 100% of the status bar at this ammo count" seta hud_panel_weapons_ammo_full_nails 320 "show 100% of the status bar at this ammo count" @@ -66,12 +69,12 @@ seta hud_contents_blur_alpha 0.5 "Amount of alpha to use when merging the blurre seta hud_contents_factor 1 "factor at which to multiply the current faded value." seta hud_contents_fadeintime 0.02 "factor of time it takes for the alpha level to reach normal value when entering the liquid" seta hud_contents_fadeouttime 0.1 "factor of time it takes for the alpha level to reach normal value when leaving the liquid" -seta hud_contents_lava_alpha 0.7 "alpha of the lava color blend when inside it" -seta hud_contents_lava_color "0.8 0.1 0" -seta hud_contents_slime_alpha 0.7 "alpha of the slime color blend when inside it" -seta hud_contents_slime_color "0 0.4 0.1" -seta hud_contents_water_alpha 0.5 "alpha of the water color blend when inside it" -seta hud_contents_water_color "0.4 0.3 0.3" +seta hud_contents_lava_alpha 0.7 "alpha of the lava" +seta hud_contents_lava_color "0.8 0.1 0" "color blend when inside lava" +seta hud_contents_slime_alpha 0.7 "alpha of the slime" +seta hud_contents_slime_color "0 0.4 0.1" "color blend when inside slime" +seta hud_contents_water_alpha 0.5 "alpha of the water" +seta hud_contents_water_color "0.4 0.3 0.3" "color blend when inside water" seta hud_shownames 1 "draw names and health/armor of nearby players" seta hud_shownames_enemies 2 "1 = draw names of enemies you point at (TODO), 2 = draw names of all enemies in view" diff --git a/_hud_descriptions.cfg b/_hud_descriptions.cfg index 138042143..d4e08e927 100644 --- a/_hud_descriptions.cfg +++ b/_hud_descriptions.cfg @@ -42,6 +42,8 @@ seta hud_panel_weapons_bg_border "" "if set to something else than \"\" = overri seta hud_panel_weapons_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" seta hud_panel_weapons_aspect "" "use this aspect on the items" seta hud_panel_weapons_complainbubble "" "complain bubble (out of ammo, weapon not available etc)" +seta hud_panel_weapons_complainbubble_time "" "time that a new entry stays until it fades out" +seta hud_panel_weapons_complainbubble_fadetime "" "fade out time" seta hud_panel_weapons_complainbubble_padding "" "padding for the complainbubble" seta hud_panel_weapons_complainbubble_color_outofammo "" "color of the complainbubble when showing out of ammo message" seta hud_panel_weapons_complainbubble_color_donthave "" "color of the complainbubble when showing don't have weapon message" @@ -50,6 +52,14 @@ seta hud_panel_weapons_ammo_color "" "color of status bar" seta hud_panel_weapons_ammo_alpha "" "alpha of status bar" seta hud_panel_weapons_timeout "" "panel disappears if you don't switch weapon for this amount of seconds" seta hud_panel_weapons_timeout_effect "" "disappearance effect: 0) no effect; 1) panel moves out of screen; 2) panel fades out" +seta hud_panel_weapons_label "" "1 = show number of weapon, 2 = show bound key of weapon" +seta hud_panel_weapons_accuracy "" "show accuracy color as the weapon icon background; colors can be configured with accuracy_color* cvars" +seta hud_panel_weapons_accuracy_color "" "low accuracy color" +seta hud_panel_weapons_accuracy_color "" "medium accuracy color" +seta hud_panel_weapons_accuracy_color "" "high accuracy color" +seta hud_panel_weapons_accuracy_color_levels "" "levels of accuracy (normally 3)" +seta hud_panel_weapons_ammo "" "show ammo as a status bar" +seta hud_panel_weapons_onlyowned "" "show only owned weapons" seta hud_panel_ammo "" "enable/disable this panel" seta hud_panel_ammo_pos "" "position of this panel" @@ -96,10 +106,12 @@ seta hud_panel_healtharmor_bg_color_team "" "override panel color with team colo seta hud_panel_healtharmor_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" seta hud_panel_healtharmor_bg_border "" "if set to something else than \"\" = override default size of border around the background" seta hud_panel_healtharmor_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" +seta hud_panel_healtharmor_text "" "show text/icons in the healtharmor panel" seta hud_panel_healtharmor_progressbar "" "enable progressbar in panel" seta hud_panel_healtharmor_progressbar_health "" "progressbar image for health" seta hud_panel_healtharmor_progressbar_armor "" "progressbar image for armor" -seta hud_panel_healtharmor_text "" "show text/icons in the healtharmor panel" +seta hud_panel_healtharmor_progressbar_gfx "" "enable graphic effects on the progressbars" +seta hud_panel_healtharmor_progressbar_gfx_smooth "" "smooth changes of the progressbar when health/armor change at least by this amount; 0 disables the effect" seta hud_panel_notify "" "enable/disable this panel" seta hud_panel_notify_pos "" "position of this base of the panel" @@ -113,6 +125,8 @@ seta hud_panel_notify_bg_padding "" "if set to something else than \"\" = overri seta hud_panel_notify_flip "" "order the list top to bottom instead of bottom to top" seta hud_panel_notify_fontsize "" "multiplier for the font size used for player names in the panel" seta hud_panel_notify_print "" "also con_notify print the messages that are shown on the notify panel" +seta hud_panel_notify_fadetime "" "fade out time" +seta hud_panel_notify_time "" "time that a new entry stays until it fades out" seta hud_panel_timer "" "enable/disable this panel" seta hud_panel_timer_pos "" "position of this base of the panel" @@ -123,6 +137,7 @@ seta hud_panel_timer_bg_color_team "" "override panel color with team color in t seta hud_panel_timer_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" seta hud_panel_timer_bg_border "" "if set to something else than \"\" = override default size of border around the background" seta hud_panel_timer_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" +seta hud_panel_timer_increment "" "show elapsed time instead of remaining time" seta hud_panel_radar "" "enable/disable this panel, 2 = also enable in non-teambased gamemodes" seta hud_panel_radar_pos "" "position of this base of the panel" @@ -134,6 +149,8 @@ seta hud_panel_radar_bg_alpha "" "if set to something else than \"\" = override seta hud_panel_radar_bg_border "" "if set to something else than \"\" = override default size of border around the background" seta hud_panel_radar_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" seta hud_panel_radar_foreground_alpha "" "alpha of the map" +seta hud_panel_radar_rotation "" "rotation mode: you set what points up. 0 = player, 1 = west, 2 = south, 3 = east, 4 = north" +seta hud_panel_radar_zoommode "" "zoom mode: 0 = zoomed by default, 1 = zoomed when +zoom, 2 = always zoomed, 3 = always zoomed out" seta hud_panel_score "" "enable/disable this panel" seta hud_panel_score_pos "" "position of this base of the panel" @@ -144,6 +161,7 @@ seta hud_panel_score_bg_color_team "" "override panel color with team color in t seta hud_panel_score_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" seta hud_panel_score_bg_border "" "if set to something else than \"\" = override default size of border around the background" seta hud_panel_score_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" +seta hud_panel_score_rankings "" "show rankings: 1 always show my own score; 2 pure rankings" seta hud_panel_racetimer "" "enable/disable this panel" seta hud_panel_racetimer_pos "" "position of this base of the panel" @@ -175,6 +193,7 @@ seta hud_panel_modicons_bg_color_team "" "override panel color with team color i seta hud_panel_modicons_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" seta hud_panel_modicons_bg_border "" "if set to something else than \"\" = override default size of border around the background" seta hud_panel_modicons_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" +seta hud_panel_modicons_dom_layout "" "3 possible layouts: 0) only icons; 1) icons and percentage of average pps (points per second); 2) icons and average pps" seta hud_panel_pressedkeys "" "enable/disable this panel, 1 = show only when spectating other players, 2 = show always" seta hud_panel_pressedkeys_pos "" "position of this base of the panel" @@ -206,6 +225,8 @@ seta hud_panel_engineinfo_bg_color_team "" "override panel color with team color seta hud_panel_engineinfo_bg_alpha "" "if set to something else than \"\" = override default panel background alpha" seta hud_panel_engineinfo_bg_border "" "if set to something else than \"\" = override default size of border around the background" seta hud_panel_engineinfo_bg_padding "" "if set to something else than \"\" = override default padding of contents from border" +seta hud_panel_engineinfo_framecounter_decimals "" "amount of decimals to show" +seta hud_panel_engineinfo_framecounter_time "" "time between framerate display updates" seta hud_panel_infomessages "" "enable/disable this panel" seta hud_panel_infomessages_pos "" "position of this base of the panel" @@ -231,7 +252,16 @@ seta hud_panel_physics_baralign "" "0 = align bars to the left, 1 = align bars t seta hud_panel_physics_flip "" "flip speed/acceleration positions" seta hud_panel_physics_progressbar "" "enable progressbar in panel (2 = only for speed; 3 = only for acceleration)" seta hud_panel_physics_acceleration_progressbar_mode "" "0 = progressbar increases from the center to the right if the acceleration is positive, to the left if it's negative; 1 = progressbar increases from the border in the same direction for both positive and negative accelerations" +seta hud_panel_physics_acceleration_max "" "acceleration progressbar gets completely filled up by this value (in g)" +seta hud_panel_physics_acceleration_mode "" "how the acceleration is displayed" +seta hud_panel_physics_acceleration_vertical "" "include the acceleration on the Z-axis" seta hud_panel_physics_text "" "show text in panel (2 = only for speed; 3 = only for acceleration)" +seta hud_panel_physics_speed_unit "" "speed unit (1 = qu/s, 2 = m/s, 3 = km/h, 4 = mph, 5 = knots)" +seta hud_panel_physics_speed_unit_show "" "also show speed unit" +seta hud_panel_physics_speed_max "" "speed progressbar gets filled up completely by this value (in qu/s)" +seta hud_panel_physics_speed_vertical "" "include the speed on the Z-axis" +seta hud_panel_physics_topspeed "" "also show top speed" +seta hud_panel_physics_topspeed_time "" "how many seconds the top speed takes to fade out" seta hud_panel_centerprint "" "enable/disable this panel" seta hud_panel_centerprint_pos "" "position of this base of the panel" diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 14316bcf4..9695b5a34 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -1585,10 +1585,6 @@ set sv_maxidle_spectatorsareidle 0 // CTF capture limit placeholder cvar set capturelimit 0 -// hud: font size -seta hud_fontsize 11 -seta hud_width 560 - // these entities are not referenced by anything directly, they just represent // teams and are found by find() when needed prvm_leaktest_ignore_classnames "ctf_team dom_team tdm_team" -- 2.39.2