]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
strafehud: set slickdetector default granularity to 1 instead of 4 for improved perfo...
authorJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Thu, 15 Sep 2022 10:35:37 +0000 (12:35 +0200)
committerJuhu <5894800-Juhu_@users.noreply.gitlab.com>
Thu, 15 Sep 2022 10:35:37 +0000 (12:35 +0200)
_hud_common.cfg
qcsrc/client/hud/panel/strafehud.qh

index c236229f27ee72733723149060a4100506d4158a..d982ad6e3868def43faeb3807d10eac96e8dba7b 100644 (file)
@@ -185,7 +185,7 @@ seta hud_panel_strafehud_direction_alpha "0" "opacity of the direction caps whic
 seta hud_panel_strafehud_direction_width "0.25" "stroke width of the direction caps which indicate the direction the player is currently strafing towards (relative to the panel height)"
 seta hud_panel_strafehud_direction_length "0.02" "length of the horizontal component of the direction caps which indicate the direction the player is currently strafing towards (relative to the panel width)"
 seta hud_panel_strafehud_slickdetector_range "200" "range of the slick detector in qu, \"0\" to disable"
-seta hud_panel_strafehud_slickdetector_granularity "4" "value from 0 to 4 which defines how exact the search for slick should be, higher values may yield better results but require more computation"
+seta hud_panel_strafehud_slickdetector_granularity "1" "value from 0 to 4 which defines how exact the search for slick should be, higher values may yield better results but require more computation"
 seta hud_panel_strafehud_slickdetector_color "0 1 1" "color of the slick detector indicator"
 seta hud_panel_strafehud_slickdetector_alpha "0.5" "opacity of the slick detector indicator"
 seta hud_panel_strafehud_slickdetector_height "0.125" "height of the slick detector indicator (relative to the panel height)"
index 19365f8a123fe39b82e6857b3b56900267a968fc..72dec4c6b9cde95b792c6762d599b4d165ca653d 100644 (file)
@@ -40,7 +40,7 @@ float autocvar_hud_panel_strafehud_direction_alpha = 0;
 float autocvar_hud_panel_strafehud_direction_width = 0.25;
 float autocvar_hud_panel_strafehud_direction_length = 0.02;
 float autocvar_hud_panel_strafehud_slickdetector_range = 200;
-int autocvar_hud_panel_strafehud_slickdetector_granularity = 4;
+int autocvar_hud_panel_strafehud_slickdetector_granularity = 1;
 vector autocvar_hud_panel_strafehud_slickdetector_color = '0 1 1';
 float autocvar_hud_panel_strafehud_slickdetector_alpha = 0.5;
 float autocvar_hud_panel_strafehud_slickdetector_height = 0.125;