]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
strafehud: enable air timeout by default
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Tue, 23 Jun 2020 18:48:16 +0000 (20:48 +0200)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Tue, 23 Jun 2020 18:48:16 +0000 (20:48 +0200)
_hud_common.cfg
qcsrc/client/autocvars.qh

index 94bba1ba4f105acdf8b3833164c02507ca299da0..d8353b1fef87dafdce180e23853dbbb9c6a1026c 100644 (file)
@@ -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"
index 018672f44e9f53501519660a5f4b0210213d6e45..9e791ab6cef3da69d91955903916261b370ccc7a 100644 (file)
@@ -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;