From 4413e45d401ade81220c1f1adf092bc4f1d34f0f Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Tue, 23 Jun 2020 20:48:16 +0200 Subject: [PATCH] strafehud: enable air timeout by default --- _hud_common.cfg | 2 +- qcsrc/client/autocvars.qh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_hud_common.cfg b/_hud_common.cfg index 94bba1ba4..d8353b1fe 100644 --- a/_hud_common.cfg +++ b/_hud_common.cfg @@ -143,7 +143,7 @@ seta hud_panel_strafehud_angle_width "0.005" "indicator width of the actual stra 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_timeout_air "0" "time after take off before changing strafehud mode (prevents flickering on slick ramps)" +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)" seta hud_panel_strafehud_timeout_direction "0.5" "time it takes until direction changes (forward or backward movement) are detected" diff --git a/qcsrc/client/autocvars.qh b/qcsrc/client/autocvars.qh index 018672f44..9e791ab6c 100644 --- a/qcsrc/client/autocvars.qh +++ b/qcsrc/client/autocvars.qh @@ -341,7 +341,7 @@ 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_timeout_air = 0; +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; float autocvar_hud_panel_strafehud_timeout_direction = 0.5; -- 2.39.2