From 9f8a786d582ddd5aea44bf2d6547593d9d756c25 Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Tue, 23 Jun 2020 21:26:21 +0200 Subject: [PATCH] strafehud: change default values to adjust size of some hud parts --- _hud_common.cfg | 6 +++--- qcsrc/client/autocvars.qh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/_hud_common.cfg b/_hud_common.cfg index d8353b1fe..f56ea323a 100644 --- a/_hud_common.cfg +++ b/_hud_common.cfg @@ -132,7 +132,7 @@ seta hud_panel_strafehud_indicators "1" "show the strafe indicators" seta hud_panel_strafehud_indicator_color "0 1 0" "color of the strafe angle indicator" seta hud_panel_strafehud_indicator_switch_color "1 1 0" "color of the strafe angle indicator on the opposite side" seta hud_panel_strafehud_indicator_minspeed "-1" "minimum speed in qu/s at which strafe angle indicators will be shown, uses physics maxspeed + antiflicker if negative" -seta hud_panel_strafehud_indicator_width "0.01" "width of the strafe angle indicators relative to the strafe bar width" +seta hud_panel_strafehud_indicator_width "0.0075" "width of the strafe angle indicators relative to the strafe bar width" seta hud_panel_strafehud_angle "0" "the maximum angle displayed on the strafehud, \"0\" = dynamic" seta hud_panel_strafehud_good_color "0 1 1" "indicator color of the actual strafe angle if the angle matches the ideal angle" seta hud_panel_strafehud_warning_color "1 1 0" "indicator color of the actual strafe angle if the angle doesn't match the ideal angle" @@ -141,8 +141,8 @@ seta hud_panel_strafehud_angle_alpha "0.8" "indicator transparency of the actual seta hud_panel_strafehud_angle_height "1.5" "indicator height of the actual strafe angle relative to the strafe bar height" seta hud_panel_strafehud_angle_width "0.005" "indicator width of the actual strafe angle relative to the strafe bar width" seta hud_panel_strafehud_direction_color "0 0.5 1" "direction indicator color" -seta hud_panel_strafehud_direction_width "0.27" "direction indicator width relative to the panel height" -seta hud_panel_strafehud_direction_length "0.0225" "direction indicator length relative to the panel width" +seta hud_panel_strafehud_direction_width "0.25" "direction indicator width relative to the panel height" +seta hud_panel_strafehud_direction_length "0.02" "direction indicator length relative to the panel width" seta hud_panel_strafehud_timeout_air "0.1" "time after take off before changing strafehud mode (prevents flickering on slick ramps)" seta hud_panel_strafehud_timeout_ground "0.03333333" "time after landing before changing strafehud mode (prevents flickering on regular strafe turns)" seta hud_panel_strafehud_timeout_strafe "0.1" "time after releasing the strafe keys before changing mode (prevents flickering when switching between left/right strafe turning)" diff --git a/qcsrc/client/autocvars.qh b/qcsrc/client/autocvars.qh index 9e791ab6c..6f7be0c77 100644 --- a/qcsrc/client/autocvars.qh +++ b/qcsrc/client/autocvars.qh @@ -330,7 +330,7 @@ bool autocvar_hud_panel_strafehud_indicators = true; vector autocvar_hud_panel_strafehud_indicator_color = '0 1 0'; vector autocvar_hud_panel_strafehud_indicator_switch_color = '1 1 0'; float autocvar_hud_panel_strafehud_indicator_minspeed = -1; -float autocvar_hud_panel_strafehud_indicator_width = 0.01; +float autocvar_hud_panel_strafehud_indicator_width = 0.0075; float autocvar_hud_panel_strafehud_angle = 0; vector autocvar_hud_panel_strafehud_good_color = '0 1 1'; vector autocvar_hud_panel_strafehud_warning_color = '1 1 0'; @@ -339,8 +339,8 @@ float autocvar_hud_panel_strafehud_angle_alpha = 0.8; float autocvar_hud_panel_strafehud_angle_height = 1.5; float autocvar_hud_panel_strafehud_angle_width = 0.005; vector autocvar_hud_panel_strafehud_direction_color = '0 0.5 1'; -float autocvar_hud_panel_strafehud_direction_width = 0.27; -float autocvar_hud_panel_strafehud_direction_length = 0.0225; +float autocvar_hud_panel_strafehud_direction_width = 0.25; +float autocvar_hud_panel_strafehud_direction_length = 0.02; float autocvar_hud_panel_strafehud_timeout_air = 0.1; float autocvar_hud_panel_strafehud_timeout_ground = 0.03333333; float autocvar_hud_panel_strafehud_timeout_strafe = 0.1; -- 2.39.2