From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Sun, 15 Jan 2023 00:02:38 +0000 (+0100) Subject: strafehud: change the default value of hud_panel_strafehud_range from 0 (dynamic... X-Git-Tag: xonotic-v0.8.6~136^2~13 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7d838de5472d55c5e6baf107f3009a57fac6265c;p=xonotic%2Fxonotic-data.pk3dir.git strafehud: change the default value of hud_panel_strafehud_range from 0 (dynamic) to 90, 0 only makes sense with hud_panel_strafehud_mode 1 which isn't the default anymore --- diff --git a/_hud_common.cfg b/_hud_common.cfg index 1d8caae4c..0089d5063 100644 --- a/_hud_common.cfg +++ b/_hud_common.cfg @@ -150,7 +150,7 @@ seta hud_panel_scoreboard_itemstats_showdelay_minpos 0.75 "delay displaying the seta _hud_panel_strafehud_demo "0" "strafehud changes angle during configure" seta hud_panel_strafehud_mode "0" "strafehud mode which controls whether the strafehud is centered at \"0\" = view angle, \"1\" = velocity angle" -seta hud_panel_strafehud_range "0" "the angle range up to 360 degrees displayed on the strafehud, \"0\" = dynamic (chooses the minimum range required to still see the whole area needed for accelerating)" +seta hud_panel_strafehud_range "90" "the angle range up to 360 degrees displayed on the strafehud, \"0\" = dynamic (chooses the minimum range required to still see the whole area needed for accelerating)" seta hud_panel_strafehud_style "2" "\"0\" = no styling, \"1\" = progress bar style for the strafe bar, \"2\" = gradient for the strafe bar" seta hud_panel_strafehud_unit "1" "speed unit (1 = qu/s, 2 = m/s, 3 = km/h, 4 = mph, 5 = knots), length unit (1 = qu, 2 = m, 3 = km, 4 = mi, 5 = nmi)" seta hud_panel_strafehud_unit_show "1" "show units" diff --git a/qcsrc/client/hud/panel/strafehud.qh b/qcsrc/client/hud/panel/strafehud.qh index eac62e7ed..71fdd33f9 100644 --- a/qcsrc/client/hud/panel/strafehud.qh +++ b/qcsrc/client/hud/panel/strafehud.qh @@ -5,7 +5,7 @@ int autocvar_hud_panel_strafehud = 3; bool autocvar__hud_panel_strafehud_demo = false; bool autocvar_hud_panel_strafehud_dynamichud = true; int autocvar_hud_panel_strafehud_mode = 0; -float autocvar_hud_panel_strafehud_range = 0; +float autocvar_hud_panel_strafehud_range = 90; int autocvar_hud_panel_strafehud_style = 2; int autocvar_hud_panel_strafehud_unit = 1; bool autocvar_hud_panel_strafehud_unit_show = true;