From 577db9325816e1237a67d4bfb989606ab4f0594b Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Thu, 18 Mar 2021 15:56:06 +0100 Subject: [PATCH] strafehud: change angle indicator default height to work better with new arrow indicator style --- _hud_common.cfg | 2 +- qcsrc/client/hud/panel/strafehud.qh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_hud_common.cfg b/_hud_common.cfg index e99fb5234..2d833ea69 100644 --- a/_hud_common.cfg +++ b/_hud_common.cfg @@ -148,7 +148,7 @@ seta hud_panel_strafehud_bar_overturn_alpha "0.3" "opacity of the strafe meter o seta hud_panel_strafehud_angle_style "2" "set the angle indicator style: 0 = solid line, 1 = dashed line, 2 = none" seta hud_panel_strafehud_angle_dashes "4" "determines the amount of dashes if the angle indicator uses a dashed line" seta hud_panel_strafehud_angle_alpha "0.8" "opacity of the indicator showing the player's current angle" -seta hud_panel_strafehud_angle_height "1.5" "height of the indicator showing the player's current angle (relative to the panel height)" +seta hud_panel_strafehud_angle_height "1" "height of the indicator showing the player's current angle (relative to the panel height)" seta hud_panel_strafehud_angle_width "0.005" "width of the indicator showing the player's current angle (relative to the panel width)" seta hud_panel_strafehud_angle_neutral_color "1 1 0" "color of the indicator showing the player's current angle if the player's angle is within the neutral zone" seta hud_panel_strafehud_angle_accel_color "0 1 1" "color of the indicator showing the player's current angle if the player's angle is within the acceleration zone" diff --git a/qcsrc/client/hud/panel/strafehud.qh b/qcsrc/client/hud/panel/strafehud.qh index 643477e59..bd8272531 100644 --- a/qcsrc/client/hud/panel/strafehud.qh +++ b/qcsrc/client/hud/panel/strafehud.qh @@ -18,7 +18,7 @@ float autocvar_hud_panel_strafehud_bar_overturn_alpha = 0.3; int autocvar_hud_panel_strafehud_angle_style = 2; int autocvar_hud_panel_strafehud_angle_dashes = 4; float autocvar_hud_panel_strafehud_angle_alpha = 0.8; -float autocvar_hud_panel_strafehud_angle_height = 1.5; +float autocvar_hud_panel_strafehud_angle_height = 1; float autocvar_hud_panel_strafehud_angle_width = 0.005; vector autocvar_hud_panel_strafehud_angle_neutral_color = '1 1 0'; vector autocvar_hud_panel_strafehud_angle_accel_color = '0 1 1'; -- 2.39.2