]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - _hud_common.cfg
strafehud: make more width/height values configurable via cvars
[xonotic/xonotic-data.pk3dir.git] / _hud_common.cfg
index ead1cfa2646c1e283627ede6962cebc9aab6d726..6e57f5b7e4251dcb3464ae90742fc060d97a7ed1 100644 (file)
@@ -132,18 +132,24 @@ seta hud_panel_strafehud_bar_color "1 1 1" "color of the strafe meter"
 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"
 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"
+seta hud_panel_strafehud_angle_width "0.005" "indicator width of the actual strafe angle"
 seta hud_panel_strafehud_direction_color "0 0.5 1" "direction indicator color"
+seta hud_panel_strafehud_direction_width "0.0075" "direction indicator 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_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 strafe) are detected"
-seta hud_panel_strafehud_minspeed "-1" "minimum speed at which strafehud overturn/acceleration zones and indicators will be shown, uses physics maxspeed if negative"
 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"
 
 // hud panel aliases
 alias quickmenu "cl_cmd hud quickmenu ${* ?}"