]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge branch 'master' into fruitiex/newpanelhud_stable
authorFruitieX <rasse@rasse-lappy.localdomain>
Mon, 7 Jun 2010 16:01:58 +0000 (19:01 +0300)
committerFruitieX <rasse@rasse-lappy.localdomain>
Mon, 7 Jun 2010 16:01:58 +0000 (19:01 +0300)
1  2 
defaultXonotic.cfg
qcsrc/client/progs.src
qcsrc/common/constants.qh

diff --combined defaultXonotic.cfg
index 0ab71adab87e0ac1e3180fd599cc7c5c0f3c52b0,fd4c100ceb2a164ad643eb2b9dbcbdba95490c8e..3f01cc88134a24ad6c3410221b938c4d33ec9b04
@@@ -240,23 -240,23 +240,23 @@@ cl_bobcycle 0 // how long the cycle of 
  cl_bob 0.01 // how much view moves up/down when moving (does not move if cl_bobcycle is 0, but still enables cl_bobmodel), default is 0.02
  cl_bobmodel 1 // whether to have gun model move around on screen when moving (only works if cl_bob is not 0), default is 1
  cl_leanmodel 1 // enables weapon leaning effect when looking around
- cl_leanmodel_side_speed 1 "gun leaning sideways speed"
+ cl_leanmodel_side_speed 0.7 "gun leaning sideways speed"
  cl_leanmodel_side_limit 35 "gun leaning sideways limit"
  cl_leanmodel_side_highpass1 30 "gun leaning sideways pre-highpass in 1/s"
  cl_leanmodel_side_highpass 3 "gun leaning sideways highpass in 1/s"
  cl_leanmodel_side_lowpass 20 "gun leaning sideways lowpass in 1/s"
- cl_leanmodel_up_speed 1 "gun leaning upward speed"
+ cl_leanmodel_up_speed 0.65 "gun leaning upward speed"
  cl_leanmodel_up_limit 50 "gun leaning upward limit"
  cl_leanmodel_up_highpass1 5 "gun leaning upward pre-highpass in 1/s"
  cl_leanmodel_up_highpass 15 "gun leaning upward highpass in 1/s"
  cl_leanmodel_up_lowpass 20 "gun leaning upward lowpass in 1/s"
  cl_followmodel 1 // enables weapon pushing / pulling effect when walking
- cl_followmodel_side_speed 0.5 "gun following sideways speed"
+ cl_followmodel_side_speed 0.25 "gun following sideways speed"
  cl_followmodel_side_limit 6 "gun following sideways limit"
  cl_followmodel_side_highpass1 30 "gun following sideways pre-highpass in 1/s"
  cl_followmodel_side_highpass 5 "gun following sideways highpass in 1/s"
  cl_followmodel_side_lowpass 10 "gun following sideways lowpass in 1/s"
- cl_followmodel_up_speed 1 "gun following upward speed"
+ cl_followmodel_up_speed 0.5 "gun following upward speed"
  cl_followmodel_up_limit 5 "gun following upward limit"
  cl_followmodel_up_highpass1 60 "gun following upward pre-highpass in 1/s"
  cl_followmodel_up_highpass 2 "gun following upward highpass in 1/s"
@@@ -916,17 -916,33 +916,17 @@@ alias +zoom +button
  alias -zoom -button4
  alias +crouch +button5
  alias -crouch -button5
 -alias weapnext "_weapnext_${_supports_weaponpriority}${sbar_hudselector}${cl_weaponpriority_useforcycling}"
 -alias _weapnext_000 "impulse 10"
 -alias _weapnext_001 "impulse 10"
 -alias _weapnext_010 "impulse 10"
 -alias _weapnext_011 "impulse 10"
 -alias _weapnext_020 "impulse 10"
 -alias _weapnext_021 "impulse 10"
 -alias _weapnext_100 "impulse 10"
 -alias _weapnext_101 "impulse 15"
 -alias _weapnext_110 "impulse 18"
 -alias _weapnext_111 "impulse 15"
 -alias _weapnext_120 "impulse 18"
 -alias _weapnext_121 "impulse 15"
 +alias weapnext "_weapnext_${_supports_weaponpriority}${cl_weaponpriority_useforcycling}"
 +alias _weapnext_00 "impulse 10"
 +alias _weapnext_01 "impulse 10"
 +alias _weapnext_10 "impulse 10"
 +alias _weapnext_11 "impulse 15"
  alias weaplast "impulse 11"
 -alias weapprev "_weapprev_${_supports_weaponpriority}${sbar_hudselector}${cl_weaponpriority_useforcycling}"
 -alias _weapprev_000 "impulse 12"
 -alias _weapprev_001 "impulse 12"
 -alias _weapprev_010 "impulse 12"
 -alias _weapprev_011 "impulse 12"
 -alias _weapprev_020 "impulse 12"
 -alias _weapprev_021 "impulse 12"
 -alias _weapprev_100 "impulse 12"
 -alias _weapprev_101 "impulse 16"
 -alias _weapprev_110 "impulse 19"
 -alias _weapprev_111 "impulse 16"
 -alias _weapprev_120 "impulse 19"
 -alias _weapprev_121 "impulse 16"
 +alias weapprev "_weapprev_${_supports_weaponpriority}${cl_weaponpriority_useforcycling}"
 +alias _weapprev_00 "impulse 12"
 +alias _weapprev_01 "impulse 12"
 +alias _weapprev_10 "impulse 12"
 +alias _weapprev_11 "impulse 16"
  set _supports_weaponpriority 0        "set to 1 by csqc if supported, and to 0 on disconnect"
  alias weapbest "impulse 13"
  
@@@ -985,6 -1001,7 +985,6 @@@ bind F10 qui
  bind F11 disconnect
  bind F12 screenshot
  bind F4 ready
 -bind m radar
  bind ALT +showaccuracy
  
  // Gamepad defaults. Tested with Logitech Rumblepad 2, I hope similar ones works as well.
@@@ -1318,186 -1335,34 +1318,186 @@@ con_chatwidth 0.
  con_notifysize 10
  con_notifyalign 0
  
 -sbar_info_pos 50
 -seta sbar_alpha_bg 0.8 "alpha value of the HUD background"
 -seta sbar_alpha_fg 1 "alpha value of the HUD foreground items"
 -seta sbar_border_thickness 1 "scoreboard border thickness"
 -seta sbar_accuracy_border_thickness 1 "accuracy stats border thickness"
 -seta sbar_accuracy_doublerows 0 "use two rows instead of one"
 -seta sbar_accuracy_yellow 40 "percentage at which the accuracy color is yellow"
 -seta sbar_accuracy 1 "0 = no weapon accuracy stats panel on scoreboard"
 -seta sbar_accuracy_hud 1 "0 = no weapon accuracy bar on the weapon icons"
 -seta sbar_color_bg_r 0 "red color component of the HUD background"
 -seta sbar_color_bg_g 0.25 "green color component of the HUD background"
 -seta sbar_color_bg_b 0.17 "blue color component of the HUD background"
 -seta sbar_color_bg_team 0.5 "team color multiplier of the HUD background"
 -seta sbar_scoreboard_alpha_bg 0.6 "scoreboard background alpha"
 -seta sbar_scoreboard_alpha_fg 1 "scoreboard foreground alpha"
 -seta sbar_scoreboard_alpha_name 0.9 "alpha of player text in scoreboard list other than self"
 -seta sbar_scoreboard_alpha_name_self 1 "alpha of player text in scoreboard list of self" 
 -seta sbar_scoreboard_fadeinspeed 10 "speed at which scoreboard fades in, higher is faster (0 = instant)"
 -seta sbar_scoreboard_fadeoutspeed 5 "speed at which scoreboard fades out, higher is faster (0 = instant)"
 -seta sbar_scoreboard_highlight 1 "enable highlighting for rows and columns in the scoreboard"
 -seta sbar_scoreboard_highlight_alpha 0.10 "highlight alpha value (depends on sbar_scoreboard_highlight 1)"
 -seta sbar_scoreboard_highlight_alpha_self 0.25 "self highlight alpha value"
 -seta sbar_hudselector 1       "0 = health/armor positions flipped, 1 = default hud layout, 2 = combined health and armor display"
 -seta sbar_showcurrentammo 0 "0 = show all ammo types, 1 = show only the ammo type of the current weapon"
 -seta sbar_showweaponicons 1 "1 = show icons of weapons that you have"
 -seta sbar_timer_increment 0 "1 = show elapsed time on the timer"
 -seta sbar_timer_scale 1 "scale multiplier of the timer"
 -seta sbar_vote_alreadyvoted_alpha 0.75 "alpha of the vote dialog after you have voted"
 +// hud variables
 +set _hud_configure 0 "1 = configure the HUD"
 +
 +seta hud_skin old "skin folder where to look for images"
 +seta hud_bg 0 "default background for the panels, file must exist in gfx/hud/[skin name]/, 0 = disable background by default"
 +seta hud_bg_color "0 0.6 0.9" "default background color for the panels, accepts \"shirt\" and \"pants\""
 +seta hud_bg_color_team 0 "default setting for overriding panel color with team color in team games, 0.5 = less saturated"
 +seta hud_bg_alpha 0.8 "default alpha of the background"
 +seta hud_bg_border 10 "default border size for the panels"
 +seta hud_bg_padding 0 "default padding of contents from the border"
 +seta hud_fg_alpha 1 "alpha of the foreground"
 +seta hud_progressbar_alpha "0.5" "alpha of progressbars"
 +
 +seta hud_configure_checkcollisions 0 "check for collisions against other panels when in hud configure mode"
 +seta hud_configure_bg_minalpha 0.5 "minimum panel background alpha when in hud configure mode"
 +seta hud_configure_grid 1 "snap to grid when moving/resizing panels"
 +seta hud_configure_grid_x 10 "snap each X pixels"
 +seta hud_configure_grid_y 10 "snap each Y pixels"
 +seta hud_configure_grid_alpha 0.15 "alpha for visible grid when in configure mode"
 +
 +seta hud_dock "dock" "enable a fullscreen background for the hud, useful for creating artificial docks, \"\" = disable"
 +seta hud_dock_color "0 0.6 0.9" "dock color, accepts \"shirt\" and \"pants\""
 +seta hud_dock_color_team 0.7 "override dock color with team color in team games"
 +seta hud_dock_alpha 0.8 "alpha of the dock"
 +
 +seta sbar_info_pos 50
 +
 +seta hud_weaponicons 1 "enable/disable this panel"
 +seta hud_weaponicons_pos "-0.635295 -0.134116" "position of this panel"
 +seta hud_weaponicons_size "0.352942 0.064845" "size of this panel"
 +seta hud_weaponicons_number 1 "show number of weapon"
 +seta hud_weaponicons_accuracy_yellow 40 "percentage at which the accuracy color is yellow"
 +seta hud_weaponicons_bg "" "if set to something else than \"\" = override default background"
 +seta hud_weaponicons_bg_color "" "if set to something else than \"\" = override default panel background color"
 +seta hud_weaponicons_bg_color_team "" "override panel color with team color in team based games"
 +seta hud_weaponicons_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 +seta hud_weaponicons_bg_border "" "if set to something else than \"\" = override default size of border around the background"
 +seta hud_weaponicons_bg_padding "" "if set to something else than \"\" = override default padding of contents from border"
 +
 +seta hud_inventory 1 "enable/disable this panel"
 +seta hud_inventory_pos "0.179783 -0.092189" "position of this panel"
 +seta hud_inventory_size "0.174227 0.092189" "size of this panel"
 +seta hud_inventory_onlycurrent 0 "1 = show only current ammo type"
 +seta hud_inventory_bg "" "if set to something else than \"\" = override default background"
 +seta hud_inventory_bg_color "" "if set to something else than \"\" = override default panel background color"
 +seta hud_inventory_bg_color_team "" "override panel color with team color in team based games"
 +seta hud_inventory_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 +seta hud_inventory_bg_border "" "if set to something else than \"\" = override default size of border around the background"
 +seta hud_inventory_bg_padding "" if set to something else than \"\" = override default padding of contents from border"
 +
 +seta hud_powerups 1 "enable/disable this panel"
 +seta hud_powerups_pos "-0.311922 -0.084896" "position of this panel"
 +seta hud_powerups_size "0.086719 0.077084" "size of this panel"
 +seta hud_powerups_flip 1 "flip strength/shield positions"
 +seta hud_powerups_mirror 0 "mirror alignment of panel items"
 +seta hud_powerups_bg "" "if set to something else than \"\" = override default background"
 +seta hud_powerups_bg_color "" "if set to something else than \"\" = override default panel background color"
 +seta hud_powerups_bg_color_team "" "override panel color with team color in team based games"
 +seta hud_powerups_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 +seta hud_powerups_bg_border "" "if set to something else than \"\" = override default size of border around the background"
 +seta hud_powerups_bg_padding "" "if set to something else than \"\" = override default padding of contents from border"
 +seta hud_progressbar_strength_color "0 0 0.6" "R G B vector of the progress bar background color"
 +seta hud_progressbar_shield_color "0.6 0 0.6" "R G B vector of the progress bar background color"
 +
 +seta hud_healtharmor 1 "enable/disable this panel, 2 = combined health/armor display"
 +seta hud_healtharmor_pos "-0.627451 -0.066667" "position of this panel"
 +seta hud_healtharmor_size "0.291174 0.066667" "size of this panel"
 +seta hud_healtharmor_flip 1 "flip health/armor positions"
 +seta hud_healtharmor_mirror 0 "mirror alignment of panel items"
 +seta hud_healtharmor_bg "" "if set to something else than \"\" = override default background"
 +seta hud_healtharmor_bg_color "" "if set to something else than \"\" = override default panel background color"
 +seta hud_healtharmor_bg_color_team "" "override panel color with team color in team based games"
 +seta hud_healtharmor_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 +seta hud_healtharmor_bg_border "" "if set to something else than \"\" = override default size of border around the background"
 +seta hud_healtharmor_bg_padding "" "if set to something else than \"\" = override default padding of contents from border"
 +seta hud_progressbar_health_color "0.6 0 0" "R G B vector of the progress bar background color"
 +seta hud_progressbar_armor_color "0 0.6 0" "R G B vector of the progress bar background color"
 +seta hud_progressbar_fuel_color "0.6 0.6 0" "R G B vector of the progress bar background color"
 +
 +seta hud_notify 0 "enable/disable this panel"
 +seta hud_notify_pos "0.1 0" "position of this base of the panel"
 +seta hud_notify_size "0.1 0.1" "size of this panel with all notifications on"
 +seta hud_notify_bg "" "if set to something else than \"\" = override default background"
 +seta hud_notify_bg_color "" "if set to something else than \"\" = override default panel background color"
 +seta hud_notify_bg_color_team "" "override panel color with team color in team based games"
 +seta hud_notify_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 +seta hud_notify_bg_border "" "if set to something else than \"\" = override default size of border around the background"
 +seta hud_notify_bg_padding "" "if set to something else than \"\" = override default padding of contents from border"
 +
 +seta hud_timer 1 "enable/disable this panel"
 +seta hud_timer_pos "-0.213725 0" "position of this base of the panel"
 +seta hud_timer_size "0.212735 0.054427" "size of this panel"
 +seta hud_timer_increment 0 "show elapsed time instead of remaining time"
 +seta hud_timer_bg border "if set to something else than \"\" = override default background"
 +seta hud_timer_bg_color "" "if set to something else than \"\" = override default panel background color"
 +seta hud_timer_bg_color_team "" "override panel color with team color in team based games"
 +seta hud_timer_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 +seta hud_timer_bg_border "" "if set to something else than \"\" = override default size of border around the background"
 +seta hud_timer_bg_padding "" "if set to something else than \"\" = override default padding of contents from border"
 +
 +seta hud_radar 1 "enable/disable this panel"
 +seta hud_radar_pos "0 0" "position of this base of the panel"
 +seta hud_radar_size "0.215687 0.266667" "size of this panel"
 +seta hud_radar_bg "" "if set to something else than \"\" = override default background"
 +seta hud_radar_bg_color "" "if set to something else than \"\" = override default panel background color"
 +seta hud_radar_bg_color_team "" "override panel color with team color in team based games"
 +seta hud_radar_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 +seta hud_radar_bg_border "" "if set to something else than \"\" = override default size of border around the background"
 +seta hud_radar_bg_padding "" "if set to something else than \"\" = override default padding of contents from border"
 +
 +seta hud_score 1 "enable/disable this panel"
 +seta hud_score_pos "-0.225469 -0.084404" "position of this base of the panel"
 +seta hud_score_size "0.225469 0.075156" "size of this panel"
 +seta hud_score_bg "" "if set to something else than \"\" = override default background"
 +seta hud_score_bg_color "" "if set to something else than \"\" = override default panel background color"
 +seta hud_score_bg_color_team "" "override panel color with team color in team based games"
 +seta hud_score_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 +seta hud_score_bg_border "" "if set to something else than \"\" = override default size of border around the background"
 +seta hud_score_bg_padding "" "if set to something else than \"\" = override default padding of contents from border"
 +
 +seta hud_racetimer 1 "enable/disable this panel"
 +seta hud_racetimer_pos "-0.614706 0" "position of this base of the panel"
 +seta hud_racetimer_size "0.231373 0.077124" "size of this panel"
 +seta hud_racetimer_bg "" "if set to something else than \"\" = override default background"
 +seta hud_racetimer_bg_color "" "if set to something else than \"\" = override default panel background color"
 +seta hud_racetimer_bg_color_team "" "override panel color with team color in team based games"
 +seta hud_racetimer_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 +seta hud_racetimer_bg_border "" "if set to something else than \"\" = override default size of border around the background"
 +seta hud_racetimer_bg_padding "" "if set to something else than \"\" = override default padding of contents from border"
 +
 +seta hud_vote 1 "enable/disable this panel"
 +seta hud_vote_pos "-0.321140 -0.268230" "position of this base of the panel"
 +seta hud_vote_size "0.320156 0.106719" "size of this panel"
 +seta hud_vote_alreadyvoted_alpha 0.75 "alpha of the vote dialog after you have voted"
 +seta hud_vote_bg "" "if set to something else than \"\" = override default background"
 +seta hud_vote_bg_color "" "if set to something else than \"\" = override default panel background color"
 +seta hud_vote_bg_color_team "" "override panel color with team color in team based games"
 +seta hud_vote_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 +seta hud_vote_bg_border "" "if set to something else than \"\" = override default size of border around the background"
 +seta hud_vote_bg_padding "" "if set to something else than \"\" = override default padding of contents from border"
 +
 +seta hud_modicons 1 "enable/disable this panel"
 +seta hud_modicons_pos "-0.571569 -0.265625" "position of this base of the panel"
 +seta hud_modicons_size "0.145098 0.114105" "size of this panel"
 +seta hud_modicons_bg "" "if set to something else than \"\" = override default background"
 +seta hud_modicons_bg_color "" "if set to something else than \"\" = override default panel background color"
 +seta hud_modicons_bg_color_team "" "override panel color with team color in team based games"
 +seta hud_modicons_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 +seta hud_modicons_bg_border "" "if set to something else than \"\" = override default size of border around the background"
 +seta hud_modicons_bg_padding "" "if set to something else than \"\" = override default padding of contents from border"
 +seta hud_progressbar_nexball_color "0.7 0.1 0" "R G B vector of the progress bar background color"
 +
 +seta hud_pressedkeys 1 "enable/disable this panel, 1 = show only when spectating other players, 2 = show always"
 +seta hud_pressedkeys_pos "-0.571569 -0.265625" "position of this base of the panel"
 +seta hud_pressedkeys_size "0.145098 0.114105" "size of this panel"
 +seta hud_pressedkeys_bg "" "if set to something else than \"\" = override default background"
 +seta hud_pressedkeys_bg_color "" "if set to something else than \"\" = override default panel background color"
 +seta hud_pressedkeys_bg_color_team "" "override panel color with team color in team based games"
 +seta hud_pressedkeys_bg_alpha "" "if set to something else than \"\" = override default panel background alpha"
 +seta hud_pressedkeys_bg_border "" "if set to something else than \"\" = override default size of border around the background"
 +seta hud_pressedkeys_bg_padding "" "if set to something else than \"\" = override default padding of contents from border"
 +
 +// scoreboard
 +seta scoreboard_border_thickness 1 "scoreboard border thickness"
 +seta scoreboard_accuracy_border_thickness 1 "accuracy stats border thickness"
 +seta scoreboard_accuracy_doublerows 0 "use two rows instead of one"
 +seta scoreboard_accuracy 1 "0 = no weapon accuracy stats panel on scoreboard"
 +seta scoreboard_color_bg_r 0 "red color component of the HUD background"
 +seta scoreboard_color_bg_g 0.25 "green color component of the HUD background"
 +seta scoreboard_color_bg_b 0.17 "blue color component of the HUD background"
 +seta scoreboard_color_bg_team 0.5 "team color multiplier of the HUD background"
 +seta scoreboard_alpha_bg 0.6 "scoreboard background alpha"
 +seta scoreboard_alpha_fg 1 "scoreboard foreground alpha"
 +seta scoreboard_alpha_name 0.9 "alpha of player text in scoreboard list other than self"
 +seta scoreboard_alpha_name_self 1 "alpha of player text in scoreboard list of self" 
 +seta scoreboard_fadeinspeed 10 "speed at which scoreboard fades in, higher is faster (0 = instant)"
 +seta scoreboard_fadeoutspeed 5 "speed at which scoreboard fades out, higher is faster (0 = instant)"
 +seta scoreboard_highlight 1 "enable highlighting for rows and columns in the scoreboard"
 +seta scoreboard_highlight_alpha 0.10 "highlight alpha value (depends on hud_scoreboard_highlight 1)"
 +seta scoreboard_highlight_alpha_self 0.25 "self highlight alpha value"
  
  // for menu server list (eventually make them have engine support?)
  seta menu_slist_showfull 1 "show servers even if they are full and have no slots to join"
@@@ -1609,17 -1474,17 +1609,17 @@@ set sv_maxidle_spectatorsareidle 
  // CTF capture limit placeholder cvar
  set capturelimit 0
  
 -// sbar: font size
 -seta sbar_fontsize 11
 -seta sbar_fontsize_spec 16
 +// hud: font size
 +seta hud_fontsize 11
 +seta hud_fontsize_spec 16
  seta scr_centersize 11
 -seta sbar_width 560
 -// alias sbar_font "loadfont user1 ${1},gfx/fallback ${2-}; loadfont user2 ${1}-big ${2-}; sbar_columns_set"
 +seta hud_width 560
 +// alias hud_font "loadfont user1 ${1},gfx/fallback ${2-}; loadfont user2 ${1}-big ${2-}; hud_columns_set"
  alias sbar_font "set _requested_sbar_font \"${*}\""
 -seta sbar_columns default
 +seta hud_columns default
  sbar_font gfx/vera-sans 8 12 16 24 32
 -seta sbar_showbinds 1 "display actions / bound keys in the strings shown during the game. 0 displays only actions, 1 displays only bound keys, 2 displays both"
 -seta sbar_showbinds_limit 2   "maximum number of bound keys to show for an action. 0 for unlimited"
 +seta hud_showbinds 1  "display actions / bound keys in the strings shown during the game. 0 displays only actions, 1 displays only bound keys, 2 displays both"
 +seta hud_showbinds_limit 2    "maximum number of bound keys to show for an action. 0 for unlimited"
  
  // these entities are not referenced by anything directly, they just represent
  // teams and are found by find() when needed
@@@ -1649,12 -1514,15 +1649,12 @@@ seta cl_weaponimpulsemode 0 "0: only cy
  seta sv_status_privacy 1      "hide IP addresses from \"status\" replies shown to clients"
  
  
 -seta cl_teamradar 1   "show radar in teammatches when available"
 -seta cl_teamradar_background_alpha 0  "set to -1 to disable"
 -seta cl_teamradar_foreground_alpha 0.8        "alpha of the map"
 -seta cl_teamradar_scale 4096 "distance you can see on the team radar"
 -seta cl_teamradar_rotation 0  "rotation mode: you set what points up. 0 = player, 1 = west, 2 = south, 3 = east, 4 = north"
 -seta cl_teamradar_size "128 128" "size of the team radar in pixels"
 -seta cl_teamradar_position "1 0" "1 0 would be upper right corner, 0.5 0.5 the center, append a 2 at the end to disable the corner hack, and a 1 to disable half the hack"
 -seta cl_teamradar_zoommode 0  "zoom mode: 0 = zoomed by default, 1 = zoomed when +zoom, 2 = always zoomed, 3 = always zoomed out"
 -alias cl_teamradar_rotate "toggle cl_teamradar_rotation 0 1 2 3 4"
 +seta hud_radar_background_alpha 0     "set to -1 to disable"
 +seta hud_radar_foreground_alpha 0.8   "alpha of the map"
 +seta hud_radar_scale 4096 "distance you can see on the team radar"
 +seta hud_radar_rotation 0     "rotation mode: you set what points up. 0 = player, 1 = west, 2 = south, 3 = east, 4 = north"
 +seta hud_radar_zoommode 0     "zoom mode: 0 = zoomed by default, 1 = zoomed when +zoom, 2 = always zoomed, 3 = always zoomed out"
 +alias hud_radar_rotate "toggle hud_radar_rotation 0 1 2 3 4"
  
  set g_maplist_allow_hidden 0          "allow hidden maps to be, e.g., voted for and in the maplist"
  set g_maplist_allow_frustrating 0     "allow impossible maps to be, e.g., voted for and in the maplist (if set to 2, ONLY impossible maps are allowed)"
@@@ -1664,8 -1532,8 +1664,8 @@@ seta g_start_delay 0    "delay before the 
  
  alias ons_map           "cl_cmd radar" // legacy alias
  alias radar             "cl_cmd radar"
 -alias sbar_columns_set  "cl_cmd sbar_columns_set $*"
 -alias sbar_columns_help "cl_cmd sbar_columns_help $*"
 +alias hud_columns_set  "cl_cmd hud_columns_set $*"
 +alias hud_columns_help "cl_cmd hud_columns_help $*"
  
  alias _gl_flashblend_update_00 "gl_flashblend 1"
  alias _gl_flashblend_update_10 "gl_flashblend 0"
diff --combined qcsrc/client/progs.src
index ade8777247faa158c74630e492534a3036eed434,cd8b4602e1004bb944ce94c9878f4e034422772a..5e94475ce23fbff63ae8831c0972bb469c990357
@@@ -21,7 -21,6 +21,7 @@@ autocvars.q
  
  interpolate.qh
  teamradar.qh
 +hud.qh
  waypointsprites.qh
  movetypes.qh
  prandom.qh
@@@ -35,9 -34,7 +35,9 @@@ teamplay.q
  
  ctf.qc
  
 -sbar.qc
 +teamradar.qc
 +hud.qc
 +scoreboard.qc
  mapvoting.qc
  
  rubble.qc
@@@ -58,6 -55,7 +58,6 @@@ target_music.q
  Main.qc
  View.qc
  interpolate.qc
 -teamradar.qc
  waypointsprites.qc
  movetypes.qc
  prandom.qc
@@@ -67,6 -65,7 +67,7 @@@ bgmscript.q
  ../common/gamecommand.qc
  ../common/mapinfo.qc
  ../common/items.qc
+ ../server/w_all.qc
  
  ../warpzonelib/anglestransform.qc
  ../warpzonelib/mathlib.qc
index 7181f020b2a8ec36cb58137b11dc73eca82acefb,2400826042a693e35a7aef016ca598d0ef6e4f65..ed2334bbd79091b882501208179da47397e42512
@@@ -281,6 -281,7 +281,7 @@@ const float STAT_LEADLIMIT = 47
  const float STAT_BULLETS_LOADED = 48;
  
  // see DP source, quakedef.h
+ const float STAT_MOVEVARS_AIRSPEEDLIMIT_NONQW = 222;
  const float STAT_MOVEVARS_AIRSTRAFEACCEL_QW = 223;
  const float STAT_MOVEVARS_AIRACCEL_QW = 254;
  
@@@ -293,9 -294,6 +294,9 @@@ const float HUD_NORMAL = 0
  const float HUD_SPIDERBOT = 10;
  const float HUD_WAKIZASHI = 11;
  const float HUD_RAPTOR    = 12;
 +const vector eX = '1 0 0';
 +const vector eY = '0 1 0';
 +const vector eZ = '0 0 1';
  
  const float STAT_VEHICLESTAT_HEALTH  = 60;
  const float STAT_VEHICLESTAT_SHIELD  = 61;
@@@ -514,3 -512,16 +515,16 @@@ float WATERLEVEL_SWIMMING = 2
  float WATERLEVEL_SUBMERGED = 3;
  
  float MAX_SHOT_DISTANCE = 32768;
+ // weapon requests
+ float WR_SETUP                = 1; // (SVQC) setup weapon data
+ float WR_THINK                = 2; // (SVQC) logic to run every frame
+ float WR_CHECKAMMO1   = 3; // (SVQC) checks ammo for weapon
+ float WR_CHECKAMMO2   = 4; // (SVQC) checks ammo for weapon
+ float WR_AIM          = 5; // (SVQC) runs bot aiming code for this weapon
+ float WR_PRECACHE     = 6; // (CSQC and SVQC) precaches models/sounds used by this weapon
+ float WR_SUICIDEMESSAGE = 7; // (SVQC) sets w_deathtypestring or leaves it alone (and may inspect w_deathtype for details)
+ float WR_KILLMESSAGE    = 8; // (SVQC) sets w_deathtypestring or leaves it alone
+ float WR_RELOAD         = 9; // (SVQC) does not need to do anything
+ float WR_RESETPLAYER    = 10; // (SVQC) does not need to do anything
+ float WR_IMPACTEFFECT = 11; // (CSQC) impact effect