]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge remote branch 'refs/remotes/origin/mirceakitsune/death_unglow'
authorRudolf Polzer <divverent@alientrap.org>
Wed, 21 Jul 2010 18:14:01 +0000 (20:14 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 21 Jul 2010 18:14:01 +0000 (20:14 +0200)
1  2 
defaultXonotic.cfg

diff --combined defaultXonotic.cfg
index d42b8649c1b225d1900787c35856dadce2d943b7,eba5ca9f1e5037caf20fe2c28f4db423ad76f651..5c76f7df8a867325f7863f0293861bd74d61fa5d
@@@ -849,6 -849,8 +849,8 @@@ set g_bloodloss 0   "amount of health b
  
  set g_footsteps 0     "serverside footstep sounds"
  
+ set g_deathglow 1.25 "when enabled, players stop glowing after they die (the value specifies glow fading speed)"
  // effects
  r_picmipsprites 0 // Xonotic uses sprites that should never be picmipped (team mate, typing, waypoints)
  r_mipsprites 1
@@@ -1327,46 -1329,49 +1329,46 @@@ set _hud_configure 0 "1 = configure th
  seta hud_configure_teamcolorforced 1 "1 = force display of team colors in configure mode"
  seta hud_configure_checkcollisions 1 "check for collisions against other panels when in hud configure mode"
  seta hud_configure_bg_minalpha 0.25 "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_xsize 0.01 "snap to X * vid_conwidth"
 -seta hud_configure_grid_ysize 0.01 "snap to Y * vid_conheight"
  seta hud_configure_grid_alpha 0.15 "alpha for visible grid when in configure mode"
  
  seta sbar_info_pos 0 "Y-axis distance from lower right corner for engine info prints"
  
  // hud cvar descriptions
  exec _hud_descriptions.cfg
 -// exec the default skin config
 -exec hud_luminos_default.cfg
 +// exec the default skin config. remember, NO menu_restart in the deafault cfg (dp segfaults at startup otherwise)
 +exec hud_default.cfg
  
  // user preference cvars (i.e. shouldn't be adjusted by a skin config) 
 -seta hud_weaponicons_number 1 "1 = show number of weapon, 2 = show bound key of weapon"
 -seta hud_weaponicons_complainbubble_time 1 "time that a new entry stays until it fades out"
 -seta hud_weaponicons_complainbubble_fadetime 0.25 "fade out time"
 -seta hud_weaponicons_accuracy 1 "show accuracy color as the weapon icon background"
 -seta hud_weaponicons_accuracy_color0 "1 0 0"
 -seta hud_weaponicons_accuracy_color1 "1 1 0"
 -seta hud_weaponicons_accuracy_color2 "0 1 0"
 -seta hud_weaponicons_accuracy_color_levels "0 20 100" "accuracy values at which a specified color (hud_weaponicons_accuracy_color<X>) will be used. If your accuracy is between 2 of these values then a mix of the Xth and X+1th colors will be used. You can specify up to 10 values, in increasing order"
 -seta hud_weaponicons_ammo 1 "show ammo as a status bar"
 -seta hud_weaponicons_ammo_full_shells 40 "show 100% of the status bar at this ammo count"
 -seta hud_weaponicons_ammo_full_nails 100 "show 100% of the status bar at this ammo count"
 -seta hud_weaponicons_ammo_full_cells 60 "show 100% of the status bar at this ammo count"
 -seta hud_weaponicons_ammo_full_rockets 60 "show 100% of the status bar at this ammo count"
 -seta hud_weaponicons_ammo_full_fuel 100 "show 100% of the status bar at this ammo count"
 -
 -seta hud_notify_time 10 "time that a new entry stays until it fades out"
 -seta hud_notify_fadetime 3 "fade out time"
 -
 -seta hud_timer_increment 0 "show elapsed time instead of remaining time"
 -
 -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"
 -
 -seta hud_engineinfo_framecounter_time 1 "time between framerate display updates, smaller values yield less accuracy"
 -seta hud_engineinfo_framecounter_decimals 0 "amount of decimals to show"
 -seta hud_engineinfo_framecounter_exponentialmovingaverage 1 "use an averaging method for calculating fps instead of counting frametime like engine does"
 -seta hud_engineinfo_framecounter_exponentialmovingaverage_new_weight 0.1 "weight of latest data point"
 -seta hud_engineinfo_framecounter_exponentialmovingaverage_instantupdate_change_threshold 0.5 "threshold for fps change when to update instantly, to make big fps changes update faster"
 +seta hud_panel_weapons_label 1 "1 = show number of weapon, 2 = show bound key of weapon"
 +seta hud_panel_weapons_complainbubble_time 1 "time that a new entry stays until it fades out"
 +seta hud_panel_weapons_complainbubble_fadetime 0.25 "fade out time"
 +seta hud_panel_weapons_accuracy 1 "show accuracy color as the weapon icon background"
 +seta hud_panel_weapons_accuracy_color0 "1 0 0"
 +seta hud_panel_weapons_accuracy_color1 "1 1 0"
 +seta hud_panel_weapons_accuracy_color2 "0 1 0"
 +seta hud_panel_weapons_accuracy_color_levels "0 20 100" "accuracy values at which a specified color (hud_panel_weapons_accuracy_color<X>) will be used. If your accuracy is between 2 of these values then a mix of the Xth and X+1th colors will be used. You can specify up to 10 values, in increasing order"
 +seta hud_panel_weapons_ammo 1 "show ammo as a status bar"
 +seta hud_panel_weapons_ammo_full_shells 40 "show 100% of the status bar at this ammo count"
 +seta hud_panel_weapons_ammo_full_nails 100 "show 100% of the status bar at this ammo count"
 +seta hud_panel_weapons_ammo_full_cells 60 "show 100% of the status bar at this ammo count"
 +seta hud_panel_weapons_ammo_full_rockets 60 "show 100% of the status bar at this ammo count"
 +seta hud_panel_weapons_ammo_full_fuel 100 "show 100% of the status bar at this ammo count"
 +
 +seta hud_panel_notify_time 10 "time that a new entry stays until it fades out"
 +seta hud_panel_notify_fadetime 3 "fade out time"
 +
 +seta hud_panel_timer_increment 0 "show elapsed time instead of remaining time"
 +
 +seta hud_panel_radar_scale 4096 "distance you can see on the team radar"
 +seta hud_panel_radar_rotation 0       "rotation mode: you set what points up. 0 = player, 1 = west, 2 = south, 3 = east, 4 = north"
 +seta hud_panel_radar_zoommode 0       "zoom mode: 0 = zoomed by default, 1 = zoomed when +zoom, 2 = always zoomed, 3 = always zoomed out"
 +alias hud_panel_radar_rotate "toggle hud_panel_radar_rotation 0 1 2 3 4"
 +
 +seta hud_panel_engineinfo_framecounter_time 1 "time between framerate display updates, smaller values yield less accuracy"
 +seta hud_panel_engineinfo_framecounter_decimals 0 "amount of decimals to show"
 +seta hud_panel_engineinfo_framecounter_exponentialmovingaverage 1 "use an averaging method for calculating fps instead of counting frametime like engine does"
 +seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_new_weight 0.1 "weight of latest data point"
 +seta hud_panel_engineinfo_framecounter_exponentialmovingaverage_instantupdate_change_threshold 0.5 "threshold for fps change when to update instantly, to make big fps changes update faster"
  
  // scoreboard
  seta scoreboard_columns default
@@@ -1413,27 -1418,15 +1415,27 @@@ alias reducematchtime "sv_cmd rpn /time
  alias endmatch "timelimit -1"
  
  // useful keybind to maximize the chat area temporarily
 +// HUD code takes care of many of these now...
 +//set _backup_con_chatvars_set 0
 +//alias _restore_con_chatvars_0 ""
 +//alias _restore_con_chatvars_1 "set _backup_con_chatvars_set 0; con_chatpos $_backup_con_chatpos; con_chat $_backup_con_chat; con_notify $_backup_con_notify; con_chattime $_backup_con_chattime; cl_deathscoreboard $_backup_cl_deathscoreboard; scr_centertime $_backup_scr_centertime;r_track_sprites $_backup_r_track_sprites"
 +//alias _restore_con_chatvars "_restore_con_chatvars_$_backup_con_chatvars_set"
 +//alias _backup_con_chatvars_0 "set _backup_con_chatvars_set 1; set _backup_con_chatpos $con_chatpos; set _backup_con_chat $con_chat; set _backup_con_notify $con_notify; set _backup_con_chattime $con_chattime; set _backup_cl_deathscoreboard $cl_deathscoreboard; set _backup_scr_centertime $scr_centertime;set _backup_r_track_sprites $r_track_sprites"
 +//alias _backup_con_chatvars_1 ""
 +//alias _backup_con_chatvars "_backup_con_chatvars_$_backup_con_chatvars_set"
 +//alias +con_chat_maximize "_backup_con_chatvars; con_chatpos -9; con_chat 100; con_notify 0; con_chattime 3600; cl_deathscoreboard 0; scr_centertime 0; r_track_sprites 0"
 +//alias -con_chat_maximize "_restore_con_chatvars"
 +
 +set _con_chat_maximized 0
  set _backup_con_chatvars_set 0
  alias _restore_con_chatvars_0 ""
 -alias _restore_con_chatvars_1 "set _backup_con_chatvars_set 0; con_chatpos $_backup_con_chatpos; con_chat $_backup_con_chat; con_notify $_backup_con_notify; con_chattime $_backup_con_chattime; cl_deathscoreboard $_backup_cl_deathscoreboard; scr_centertime $_backup_scr_centertime;r_track_sprites $_backup_r_track_sprites"
 +alias _restore_con_chatvars_1 "set _backup_con_chatvars_set 0; con_notify $_backup_con_notify; con_chattime $_backup_con_chattime; cl_deathscoreboard $_backup_cl_deathscoreboard; scr_centertime $_backup_scr_centertime;r_track_sprites $_backup_r_track_sprites"
  alias _restore_con_chatvars "_restore_con_chatvars_$_backup_con_chatvars_set"
 -alias _backup_con_chatvars_0 "set _backup_con_chatvars_set 1; set _backup_con_chatpos $con_chatpos; set _backup_con_chat $con_chat; set _backup_con_notify $con_notify; set _backup_con_chattime $con_chattime; set _backup_cl_deathscoreboard $cl_deathscoreboard; set _backup_scr_centertime $scr_centertime;set _backup_r_track_sprites $r_track_sprites"
 +alias _backup_con_chatvars_0 "set _backup_con_chatvars_set 1; set _backup_con_notify $con_notify; set _backup_con_chattime $con_chattime; set _backup_cl_deathscoreboard $cl_deathscoreboard; set _backup_scr_centertime $scr_centertime;set _backup_r_track_sprites $r_track_sprites"
  alias _backup_con_chatvars_1 ""
  alias _backup_con_chatvars "_backup_con_chatvars_$_backup_con_chatvars_set"
 -alias +con_chat_maximize "_backup_con_chatvars; con_chatpos -9; con_chat 100; con_notify 0; con_chattime 3600; cl_deathscoreboard 0; scr_centertime 0; r_track_sprites 0"
 -alias -con_chat_maximize "_restore_con_chatvars"
 +alias +con_chat_maximize "_con_chat_maximized 1; _backup_con_chatvars; con_notify 0; con_chattime 3600; cl_deathscoreboard 0; scr_centertime 0; r_track_sprites 0"
 +alias -con_chat_maximize "_con_chat_maximized 0; _restore_con_chatvars"
  
  // tab completion
  set con_completion_playdemo   *.dem
@@@ -1518,6 -1511,8 +1520,6 @@@ seta hud_width 56
  // alias hud_font "loadfont user1 ${1},gfx/fallback ${2-}; loadfont user2 ${1}-big ${2-}; scoreboard_columns_set"
  alias sbar_font "set _requested_sbar_font \"${*}\""
  sbar_font gfx/vera-sans 8 12 16 24 32
 -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