]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge remote-tracking branch 'origin/Juhu/strafehud-server' into morosophos/server...
authorNick S <nick@teichisma.info>
Thu, 19 Jan 2023 19:41:34 +0000 (21:41 +0200)
committerNick S <nick@teichisma.info>
Thu, 19 Jan 2023 19:41:34 +0000 (21:41 +0200)
1  2 
_hud_common.cfg

diff --combined _hud_common.cfg
index ffbd47b6e48cf9b2b7ca79dd6c034b0598191ec2,b85631d805eea18fb814f9cd55fa0d7c04207de8..d09554740b8169098810e196f996506cf397d480
@@@ -49,7 -49,6 +49,7 @@@ seta hud_panel_scoreboard_accuracy 1 "s
  seta hud_panel_scoreboard_ctf_leaderboard 1 "show a capture time rankings leaderboard in the scoreboard if allowed by the server"
  seta hud_panel_scoreboard_itemstats 1 "show item stats panel in the scoreboard"
  seta hud_panel_strafehud        3 "enable this panel, 1 = show if not observing, 2 = show always, 3 = show only in race/cts if not observing"
 +seta hud_panel_pickup           1 "enable this panel"
  
  seta hud_panel_weapons_dynamichud          1 "apply the dynamic hud effects to this panel"
  seta hud_panel_ammo_dynamichud             1 "apply the dynamic hud effects to this panel"
@@@ -70,7 -69,6 +70,7 @@@ seta hud_panel_centerprint_dynamichu
  seta hud_panel_itemstime_dynamichud        1 "apply the dynamic hud effects to this panel"
  seta hud_panel_scoreboard_dynamichud       0 "apply the dynamic hud effects to this panel"
  seta hud_panel_strafehud_dynamichud        1 "apply the dynamic hud effects to this panel"
 +seta hud_panel_pickup_dynamichud           1 "apply the dynamic hud effects to this panel"
  
  seta hud_panel_weapons_ammo_full_shells 60 "show 100% of the status bar at this ammo count"
  seta hud_panel_weapons_ammo_full_nails 320 "show 100% of the status bar at this ammo count"
@@@ -112,7 -110,6 +112,7 @@@ seta hud_panel_itemstime_progressbar_ma
  seta hud_panel_itemstime_hidespawned "1" "if 1 hide an item from the panel when all the occurrences of it are available again; if 2 hide it when at least one occurrence is available again"
  seta hud_panel_itemstime_hidebig "0" "if 1 hide big armor and health from the panel"
  
 +set _hud_panel_quickmenu_file_from_server "" "reserved cvar set by the server with a custom server quickmenu file that appears in the default quickmenu"
  seta hud_panel_quickmenu_file "" "load the quick menu from this file (empty or 0 to disable)"
  seta hud_panel_quickmenu_translatecommands 0 "when the game is translated, translate strings inside commands too (useful for chat commands)"
  seta hud_panel_quickmenu_time 5 "quickmenu expires after this number of seconds in the same page"
@@@ -178,23 -175,28 +178,28 @@@ seta hud_panel_strafehud_angle_arrow_si
  seta hud_panel_strafehud_bestangle "1" "set to \"1\" to enable a ghost angle indicator showing the best angle to gain maximum acceleration"
  seta hud_panel_strafehud_bestangle_color "1 1 1" "color of the indicator showing the best angle to gain maximum acceleration"
  seta hud_panel_strafehud_bestangle_alpha "0.5" "opacity of the indicator showing the best angle to gain maximum acceleration"
+ seta hud_panel_strafehud_switch "1" "set to \"1\" to enable the switch indicator showing the angle to move to when switching sides"
  seta hud_panel_strafehud_switch_minspeed "-1" "minimum speed in qu/s at which switch indicator(s) which are used to aid changing strafe direction will be shown (set to -1 for dynamic minspeed)"
  seta hud_panel_strafehud_switch_color "1 1 0" "color of the switch indicator"
  seta hud_panel_strafehud_switch_alpha "1" "opacity of the switch indicator"
  seta hud_panel_strafehud_switch_width "0.003" "width of the strafe angle indicator(s) (relative to the strafe bar width)"
+ seta hud_panel_strafehud_direction "0" "set to \"1\" to enable the direction caps to see in which direction you are currently strafing"
  seta hud_panel_strafehud_direction_color "0 0.5 1" "color of the direction caps which indicate the direction the player is currently strafing towards"
- seta hud_panel_strafehud_direction_alpha "0" "opacity of the direction caps which indicate the direction the player is currently strafing towards"
+ seta hud_panel_strafehud_direction_alpha "1" "opacity of the direction caps which indicate the direction the player is currently strafing towards"
  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 "1" "set to \"1\" to enable the slick detector which notifies you if there is slick near you"
+ seta hud_panel_strafehud_slickdetector_range "200" "range of the slick detector in qu"
  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)"
- seta hud_panel_strafehud_startspeed_fade "4" "fade time (in seconds) of the start speed text or \"0\" to disable"
+ seta hud_panel_strafehud_startspeed "1" "set to \"1\" to enable the start speed indicator which shows you the speed you had while passing the start trigger of a race map"
+ seta hud_panel_strafehud_startspeed_fade "4" "fade time (in seconds) of the start speed text"
  seta hud_panel_strafehud_startspeed_color "1 0.75 0" "color of the start speed text"
  seta hud_panel_strafehud_startspeed_size "1.5" "size of the start speed text (relative to the panel height)"
- seta hud_panel_strafehud_jumpheight_fade "0" "fade time (in seconds) of the jump height text or \"0\" to disable"
+ seta hud_panel_strafehud_jumpheight "0" "set to \"1\" to enable the jump height indicator which tells you how high you jumped"
+ seta hud_panel_strafehud_jumpheight_fade "4" "fade time (in seconds) of the jump height text"
  seta hud_panel_strafehud_jumpheight_min "50" "minimum jump height to display in the selected unit"
  seta hud_panel_strafehud_jumpheight_color "0 1 0.75" "color of the jump height text"
  seta hud_panel_strafehud_jumpheight_size "1.5" "size of the jump height text (relative to the panel height)"
@@@ -205,11 -207,15 +210,15 @@@ seta hud_panel_strafehud_fps_update "0.
  seta hud_panel_strafehud_sonar "0" "set to \"1\" to enable the strafe sonar"
  seta hud_panel_strafehud_sonar_audio "misc/talk" "audio to play for sonar"
  seta hud_panel_strafehud_sonar_start "0.5" "how optimal from 0 to 1 your strafing angle has to be for the strafe sonar to activate"
- seta hud_panel_strafehud_sonar_interval "0.333333" "strafe sonar sound interval in seconds"
+ seta hud_panel_strafehud_sonar_interval_start "0.333333" "strafe sonar sound interval in seconds"
+ seta hud_panel_strafehud_sonar_interval_range "-0.222222" "dynamic sound interval range in seconds of the strafe sonar as you approach the optimal angle"
  seta hud_panel_strafehud_sonar_volume_start "0.333333" "sound volume of the strafe sonar"
  seta hud_panel_strafehud_sonar_volume_range "0.666666" "dynamic volume range of the strafe sonar as you approach the optimal angle"
  seta hud_panel_strafehud_sonar_pitch_start "0.9" "playback speed of the strafe sonar"
  seta hud_panel_strafehud_sonar_pitch_range "0.1" "dynamic playback speed range of the strafe sonar as you approach the optimal angle"
+ seta hud_panel_strafehud_vangle "0" "set to \"1\" to enable the vertical angle indicator"
+ seta hud_panel_strafehud_vangle_color "0.75 0.75 0.75" "color of the vertical angle text"
+ seta hud_panel_strafehud_vangle_size "1" "size of the vertical angle text (relative to the panel height)"
  
  // hud panel aliases
  alias quickmenu "cl_cmd hud quickmenu ${* ?}"
@@@ -290,8 -296,3 +299,8 @@@ seta hud_shownames_maxdistance 5000 "al
  seta hud_shownames_antioverlap 1 "if two tags overlap, fade out the one further away from you"
  seta hud_shownames_antioverlap_minalpha 0.4 "fade out overlapping tags to this alpha value"
  seta hud_shownames_offset 52 "offset (along z-axis) tag from player origin by this many units"
 +
 +seta hud_panel_pickup_showtimer 1 "0 = hide timer, 1 = show timer, 2 = only when spectating"
 +seta hud_panel_pickup_iconsize 1.5 "icon size scale"
 +seta hud_panel_pickup_time 3 "pickup message duration (can't be higher than 5)"
 +seta hud_panel_pickup_fade_out 0.15 "how long a pickup message takes to fade out (this time is included in the message duration)"