From: MirceaKitsune Date: Sun, 3 Feb 2013 00:32:39 +0000 (+0200) Subject: Move some cvars, cleanup finished TODO's, and ready the new HUD for inclusion X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=refs%2Fheads%2Fmirceakitsune%2Fcustomizable_hud;p=voretournament%2Fvoretournament.git Move some cvars, cleanup finished TODO's, and ready the new HUD for inclusion --- diff --git a/data/defaultVT.cfg b/data/defaultVT.cfg index 0439d806..bd806609 100644 --- a/data/defaultVT.cfg +++ b/data/defaultVT.cfg @@ -1239,43 +1239,6 @@ seta hud_shownames_antioverlap_distance 125 "2d distance to other tag after whic seta hud_shownames_offset 52 "offset (along z-axis) tag from player origin by this many units" seta hud_shownames_offset_healthsize 0.5 "offset (along z-axis) tag from player origin by this many units, based on player size" -sbar_info_pos 50 -seta sbar_hudselector 1 "enables the HUD" -seta sbar_alpha_bg 0.8 "alpha value of the HUD background" -seta sbar_alpha_fg 1 "alpha value of the HUD foreground items" -seta sbar_border_thickness 1 "scoreboard border thickness" -seta sbar_color_bg "0 0.25 0.75" "default color of the HUD background" -seta sbar_color_bg_team 1 "team color multiplier of the HUD background" -seta sbar_scoreboard_offset 100 "scoreboard vertical position" -seta sbar_scoreboard_alpha_bg 0.6 "scoreboard background alpha" -seta sbar_scoreboard_alpha_fg 1 "scoreboard foreground alpha" -seta sbar_scoreboard_alpha_name 0.9 "alpha of player text in scoreboard list other than self" -seta sbar_scoreboard_alpha_name_self 1 "alpha of player text in scoreboard list of self" -seta sbar_scoreboard_fadeinspeed 10 "speed at which scoreboard fades in, higher is faster (0 = instant)" -seta sbar_scoreboard_fadeoutspeed 5 "speed at which scoreboard fades out, higher is faster (0 = instant)" -seta sbar_scoreboard_highlight 1 "enable highlighting for rows and columns in the scoreboard" -seta sbar_scoreboard_highlight_alpha 0.10 "highlight alpha value (depends on sbar_scoreboard_highlight 1)" -seta sbar_scoreboard_highlight_alpha_self 0.25 "self highlight alpha value" -seta sbar_stomachboard_color1 "0 0.5 0" "RGB color of the stomach board highlights when showing self" -seta sbar_stomachboard_color2 "0.5 0.5 0" "RGB color of the stomach board highlights when showing team mate predators" -seta sbar_stomachboard_color3 "0.5 0 0" "RGB color of the stomach board highlights when showing enemy predators" -seta sbar_stomachboard_status_alpha 0.75 "alpha of the stomach board status" -seta sbar_stomachboard_status_fade 1 "color fading speed of the stomach board status" -seta sbar_stomachboard_highlight_alpha 0.25 "alpha of the stomach board highlight" -seta sbar_timer_increment 0 "1 = show elapsed time on the timer" -seta sbar_ring1 1 "enables the first HUD ring" -seta sbar_ring1_scale 110 "scale of the first HUD ring" -seta sbar_ring1_text_scale 12 "scale of the text on the first HUD ring" -seta sbar_ring1_alpha 0.75 "alpha of the first HUD ring" -seta sbar_ring2 1 "enables the second HUD ring" -seta sbar_ring2_scale 80 "scale of the second HUD ring" -seta sbar_ring2_text_scale 10 "scale of the text on the second HUD ring" -seta sbar_ring2_alpha 0.75 "alpha of the second HUD ring" -seta sbar_vote_alreadyvoted_alpha 0.75 "alpha of the vote dialog after you have voted" -seta sbar_portrait 1 "enables portraits" -seta sbar_portrait_time 5 "how long a portrait lasts on the screen" -seta sbar_portrait_fade 0.1 "amount of time fading the portrait takes from total time" - // for menu server list (eventually make them have engine support?) seta menu_slist_showfull 1 "show servers even if they are full and have no slots to join" seta menu_slist_showempty 1 "show servers even if they are no empty and have no opponents to play against" diff --git a/data/hudVT.cfg b/data/hudVT.cfg index 920e77bb..b9848dcf 100644 --- a/data/hudVT.cfg +++ b/data/hudVT.cfg @@ -100,3 +100,46 @@ set hud_item_preylist_health_icon_length 0.05 set hud_item_preylist_health_text_location 0.9 set hud_item_preylist_health_text_length 0.1 set hud_item_preylist_items 9 + +// Other HUD stuff below + +sbar_info_pos 50 +seta sbar_hudselector 1 "enables the HUD" +seta sbar_alpha_bg 0.8 "alpha value of the HUD background" +seta sbar_alpha_fg 1 "alpha value of the HUD foreground items" +seta sbar_border_thickness 1 "scoreboard border thickness" +seta sbar_color_bg "0 0.25 0.75" "default color of the HUD background" +seta sbar_color_bg_team 1 "team color multiplier of the HUD background" +seta sbar_timer_increment 0 "1 = show elapsed time on the timer" +seta sbar_vote_alreadyvoted_alpha 0.75 "alpha of the vote dialog after you have voted" + +seta sbar_scoreboard_offset 100 "scoreboard vertical position" +seta sbar_scoreboard_alpha_bg 0.6 "scoreboard background alpha" +seta sbar_scoreboard_alpha_fg 1 "scoreboard foreground alpha" +seta sbar_scoreboard_alpha_name 0.9 "alpha of player text in scoreboard list other than self" +seta sbar_scoreboard_alpha_name_self 1 "alpha of player text in scoreboard list of self" +seta sbar_scoreboard_fadeinspeed 10 "speed at which scoreboard fades in, higher is faster (0 = instant)" +seta sbar_scoreboard_fadeoutspeed 5 "speed at which scoreboard fades out, higher is faster (0 = instant)" +seta sbar_scoreboard_highlight 1 "enable highlighting for rows and columns in the scoreboard" +seta sbar_scoreboard_highlight_alpha 0.10 "highlight alpha value (depends on sbar_scoreboard_highlight 1)" +seta sbar_scoreboard_highlight_alpha_self 0.25 "self highlight alpha value" + +seta sbar_stomachboard_color1 "0 0.5 0" "RGB color of the stomach board highlights when showing self" +seta sbar_stomachboard_color2 "0.5 0.5 0" "RGB color of the stomach board highlights when showing team mate predators" +seta sbar_stomachboard_color3 "0.5 0 0" "RGB color of the stomach board highlights when showing enemy predators" +seta sbar_stomachboard_status_alpha 0.75 "alpha of the stomach board status" +seta sbar_stomachboard_status_fade 1 "color fading speed of the stomach board status" +seta sbar_stomachboard_highlight_alpha 0.25 "alpha of the stomach board highlight" + +seta sbar_ring1 1 "enables the first HUD ring" +seta sbar_ring1_scale 110 "scale of the first HUD ring" +seta sbar_ring1_text_scale 12 "scale of the text on the first HUD ring" +seta sbar_ring1_alpha 0.75 "alpha of the first HUD ring" +seta sbar_ring2 1 "enables the second HUD ring" +seta sbar_ring2_scale 80 "scale of the second HUD ring" +seta sbar_ring2_text_scale 10 "scale of the text on the second HUD ring" +seta sbar_ring2_alpha 0.75 "alpha of the second HUD ring" + +seta sbar_portrait 1 "enables portraits" +seta sbar_portrait_time 5 "how long a portrait lasts on the screen" +seta sbar_portrait_fade 0.1 "amount of time fading the portrait takes from total time" diff --git a/docs/TODO.txt b/docs/TODO.txt index cc4c5d80..a9172ea2 100644 --- a/docs/TODO.txt +++ b/docs/TODO.txt @@ -260,11 +260,7 @@ - 0.8: Tweak balance so that less damage is dealt and vore lasts more -- 0.8 BUG: When inside the stomach, the "Respawning in" field inside the scoreboard shouldn't keep resetting over and over again, and instead say something else - -- 0.8 BUG (new HUD): HUD scores don't show any more because of the new positioning of DrawXNum, fix it - -- 0.8 (new HUD): Remove all position vectors left (topright, bottom, scorepos, etc) +- 0.8 BUG: When inside the stomach, the "Respawning in" field inside the scoreboard shouldn't keep resetting over and over again, and instead say something else - 0.8: Smart hint system detecting gameplay errors client-side