From 29a3332a95e97637d2ab838cce2da556db551542 Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Tue, 23 Jun 2020 22:03:40 +0200 Subject: [PATCH] strafehud: reorder some cvars --- _hud_common.cfg | 8 ++++---- qcsrc/client/autocvars.qh | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/_hud_common.cfg b/_hud_common.cfg index f56ea323a..2d0d4a4c9 100644 --- a/_hud_common.cfg +++ b/_hud_common.cfg @@ -134,20 +134,20 @@ seta hud_panel_strafehud_indicator_switch_color "1 1 0" "color of the strafe ang 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.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" -seta hud_panel_strafehud_alert_color "1 0 1" "indicator color of the actual strafe angle if the angle has a critical value" seta hud_panel_strafehud_angle_alpha "0.8" "indicator transparency of the actual strafe angle" 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_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" +seta hud_panel_strafehud_alert_color "1 0 1" "indicator color of the actual strafe angle if the angle has a critical value" seta hud_panel_strafehud_direction_color "0 0.5 1" "direction indicator color" 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_unstyled "0" "don't apply any progressbar styles to the strafehud" 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" -seta hud_panel_strafehud_unstyled "0" "don't apply any progressbar styles to the strafehud" seta hud_panel_strafehud_antiflicker_angle "0.01" "how many degrees from 0° to 180° the hud ignores if it could cause visual disturbances otherwise" seta hud_panel_strafehud_antiflicker_speed "0.0001" "how many qu/s the hud ignores if it could cause visual disturbances otherwise" diff --git a/qcsrc/client/autocvars.qh b/qcsrc/client/autocvars.qh index 6f7be0c77..aa9d5626e 100644 --- a/qcsrc/client/autocvars.qh +++ b/qcsrc/client/autocvars.qh @@ -332,20 +332,20 @@ 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.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'; -vector autocvar_hud_panel_strafehud_alert_color = '1 0 1'; 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_good_color = '0 1 1'; +vector autocvar_hud_panel_strafehud_warning_color = '1 1 0'; +vector autocvar_hud_panel_strafehud_alert_color = '1 0 1'; vector autocvar_hud_panel_strafehud_direction_color = '0 0.5 1'; float autocvar_hud_panel_strafehud_direction_width = 0.25; float autocvar_hud_panel_strafehud_direction_length = 0.02; +bool autocvar_hud_panel_strafehud_unstyled = false; 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; -bool autocvar_hud_panel_strafehud_unstyled = false; float autocvar_hud_panel_strafehud_antiflicker_angle = 0.01; float autocvar_hud_panel_strafehud_antiflicker_speed = 0.0001; bool autocvar_hud_panel_timer; -- 2.39.2