X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=defaultXonotic.cfg;h=d9db20f19cc65f906a8a38d6be9e507e9d179a8b;hb=c3f45a3a74751efa183b5f56275f0b2403ad65dc;hp=8b11b01b96e6a3dfeefa7d7dc0fc913e5cd0db7c;hpb=fa0c6afce104a7e0afa9a40c5dc4b7b66d76fa22;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 8b11b01b9..d9db20f19 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -10,7 +10,7 @@ // e.g. Xonotic 1.5.1 RC1 will be 15101 set g_xonoticversion git "Xonotic version (formatted for humans)" -gameversion 500 // 0.5.0 +gameversion 600 // 0.6.0 gameversion_min 0 // git builds see all versions gameversion_max 65535 // git builds see all versions @@ -22,6 +22,10 @@ gameversion_max 65535 // git builds see all versions // gameversion_min = (gameversion / 100) * 100 - 100 // gameversion_max = (gameversion / 100) * 100 + 199 +// changes a cvar and reports it to the server (for the menu to notify the +// server about changes) +alias setreport "set \"$1\" \"$2\" ; sendcvar \"$1\"" + seta cl_firststart "" "how many times the client has been run" seta cl_startcount 0 "how many times the client has been run" @@ -57,124 +61,6 @@ _cl_color 112 _cl_name Player _cl_playermodel models/player/erebus.iqm _cl_playerskin 0 -seta crosshair 16 -seta crosshair_color "0.6 0.8 1" -seta crosshair_alpha 0.300000 -seta crosshair_size 0.500000 -seta crosshair_dot 1 -seta crosshair_dot_alpha 1 -seta crosshair_dot_size 0.600000 -seta crosshair_dot_color "1 0 0" "when != 0, use custom color for the crosshair dot" -seta crosshair_pickup 0.25 -seta crosshair_pickup_speed 4 -seta crosshair_hitindication 0.5 -seta crosshair_hitindication_color "10 -10 -10" -seta crosshair_hitindication_speed 5 -seta crosshair_per_weapon 0 "when 1, each gun will display a different crosshair" -seta crosshair_color_per_weapon 1 "when 1, each gun will display the crosshair with a different color" -seta crosshair_effect_speed -1 "how fast (in seconds) some crosshair effects should take place, 0 = instant, -1 = 2x weapon switch time" -seta crosshair_effect_scalefade 1 "use scaling and fading for crosshair effects" -seta crosshair_hittest 1 "do a crosshair hit evaluation; also, the crosshair is scaled by the given number when aiming at an enemy, and blurred when aiming at a team mate" -seta crosshair_hittest_blur 1 "blur the crosshair if the shot is obstructed" -seta crosshair_hittest_showimpact 0 "move the crosshair to the actual impact location if obstructed" -seta crosshair_laser "" "crosshair to display when wielding the laser" -seta crosshair_laser_color "1 0.35 0.2" "crosshair color to display when wielding the laser" -seta crosshair_laser_alpha 0.75 "crosshair alpha value to display when wielding the laser" -seta crosshair_laser_size 0.4 "crosshair size when wielding the laser" -seta crosshair_shotgun "" "crosshair to display when wielding the shotgun" -seta crosshair_shotgun_color "0.7 0.7 0.7" "crosshair color to display when wielding the shotgun" -seta crosshair_shotgun_alpha 1.1 "crosshair alpha value to display when wielding the shotgun" -seta crosshair_shotgun_size 0.65 "crosshair size when wielding the shotgun" -seta crosshair_uzi "" "crosshair to display when wielding the machinegun" -seta crosshair_uzi_color "0.4 0.9 0.35" "crosshair color to display when wielding the machinegun" -seta crosshair_uzi_alpha 0.9 "crosshair alpha value to display when wielding the machinegun" -seta crosshair_uzi_size 0.6 "crosshair size when wielding the machinegun" -seta crosshair_grenadelauncher "" "crosshair to display when wielding the mortar" -seta crosshair_grenadelauncher_color "1 0.15 0" "crosshair color to display when wielding the mortar" -seta crosshair_grenadelauncher_alpha 1.15 "crosshair alpha value to display when wielding the mortar" -seta crosshair_grenadelauncher_size 0.7 "crosshair size when wielding the mortar" -seta crosshair_minelayer "" "crosshair to display when wielding the mortar" -seta crosshair_minelayer_color "0.75 0.75 0" "crosshair color to display when wielding the mortar" -seta crosshair_minelayer_alpha 1.15 "crosshair alpha value to display when wielding the mortar" -seta crosshair_minelayer_size 0.9 "crosshair size when wielding the mortar" -seta crosshair_electro "" "crosshair to display when wielding the electro" -seta crosshair_electro_color "0.35 0.5 1" "crosshair color to display when wielding the electro" -seta crosshair_electro_alpha 1 "crosshair alpha value to display when wielding the electro" -seta crosshair_electro_size 0.5 "crosshair size when wielding the electro" -seta crosshair_crylink "" "crosshair to display when wielding the crylink" -seta crosshair_crylink_color "0.85 0.25 1" "crosshair color to display when wielding the crylink" -seta crosshair_crylink_alpha 0.85 "crosshair alpha value to display when wielding the crylink" -seta crosshair_crylink_size 0.4 "crosshair size when wielding the crylink" -seta crosshair_nex "" "crosshair to display when wielding the nex gun" -seta crosshair_nex_color "0 0.9 1" "crosshair color to display when wielding the nex gun" -seta crosshair_nex_alpha 0.85 "crosshair alpha value to display when wielding the nex gun" -seta crosshair_nex_size 0.65 "crosshair size when wielding the nex gun" -seta crosshair_hagar "" "crosshair to display when wielding the hagar" -seta crosshair_hagar_color "0.85 0.5 0.35" "crosshair color to display when wielding the hagar" -seta crosshair_hagar_alpha 1 "crosshair alpha value to display when wielding the hagar" -seta crosshair_hagar_size 0.8 "crosshair size when wielding the hagar" -seta crosshair_rocketlauncher "" "crosshair to display when wielding the rocketlauncher" -seta crosshair_rocketlauncher_color "1 0.75 0.2" "crosshair color to display when wielding the rocketlauncher" -seta crosshair_rocketlauncher_alpha 1 "crosshair alpha value to display when wielding the rocketlauncher" -seta crosshair_rocketlauncher_size 0.5875 "crosshair size when wielding the rocketlauncher" -seta crosshair_porto "" "crosshair to display when wielding the porto" -seta crosshair_porto_color "0.5 1 0.5" "crosshair color to display when wielding the porto" -seta crosshair_porto_alpha 0.85 "crosshair alpha value to display when wielding the porto" -seta crosshair_porto_size 0.6 "crosshair size when wielding the porto" -seta crosshair_minstanex "" "crosshair to display when wielding the minstanex gun" -seta crosshair_minstanex_color "0.65 0.65 1" "crosshair color to display when wielding the minstanex gun" -seta crosshair_minstanex_alpha 1 "crosshair alpha value to display when wielding the minstanex gun" -seta crosshair_minstanex_size 0.4 "crosshair size when wielding the minstanex gun" -seta crosshair_hook "" "crosshair to display when wielding the hook" -seta crosshair_hook_color "0.65 1 0.85" "crosshair color to display when wielding the hook" -seta crosshair_hook_alpha 0.85 "crosshair alpha value to display when wielding the hook" -seta crosshair_hook_size 0.5 "crosshair size when wielding the hook" -seta crosshair_hlac "" "crosshair to display when wielding the H.L.A.C" -seta crosshair_hlac_color "1 0.65 0.2" "crosshair color to display when wielding the H.L.A.C." -seta crosshair_hlac_alpha 1 "crosshair alpha value to display when wielding the H.L.A.C." -seta crosshair_hlac_size 0.6 "crosshair size when wielding the H.L.A.C." -seta crosshair_seeker "" "crosshair to display when wielding the TAG Seeker" -seta crosshair_seeker_color "1 0.35 0.35" "crosshair color to display when wielding the TAG seeker" -seta crosshair_seeker_alpha 0.9 "crosshair alpha value to display when wielding the TAG seeker" -seta crosshair_seeker_size 0.8 "crosshair size when wielding the TAG seeker" -seta crosshair_rifle "" "crosshair to display when wielding the rifle" -seta crosshair_rifle_color "0.85 0.5 0.25" "crosshair color to display when wielding the rifle" -seta crosshair_rifle_alpha 1 "crosshair alpha value to display when wielding the rifle" -seta crosshair_rifle_size 0.5 "crosshair size when wielding the rifle" -seta crosshair_tuba "" "crosshair to display when wielding the tuba" -seta crosshair_tuba_color "0.85 0.5 0.25" "crosshair color to display when wielding the tuba" -seta crosshair_tuba_alpha 1 "crosshair alpha value to display when wielding the tuba" -seta crosshair_tuba_size 1 "crosshair size when wielding the tuba" -seta crosshair_fireball "" "crosshair to display when wielding the fireball" -seta crosshair_fireball_color "0.2 1.0 0.2" "crosshair color to display when wielding the fireball" -seta crosshair_fireball_alpha 1 "crosshair alpha value to display when wielding the fireball" -seta crosshair_fireball_size 1 "crosshair size when wielding the fireball" -seta crosshair_color_by_health 0 "if enabled, crosshair color will depend on current health" - -// ring around crosshair, used for various purposes (such as indicating bullets left in clip, nex charge) -seta crosshair_ring 1 "main cvar to enable or disable normal crosshair rings" -seta crosshair_ring_inner 0 "allow inner rings to be drawn too" -seta crosshair_ring_size 2 "ring size" -seta crosshair_ring_alpha 0.2 "ring alpha" - -seta crosshair_ring_nex 1 "draw a ring showing the current charge of the nexgun" -seta crosshair_ring_nex_alpha 0.15 -seta crosshair_ring_nex_inner_alpha 0.15 -seta crosshair_ring_nex_inner_color_red 0.8 -seta crosshair_ring_nex_inner_color_green 0 -seta crosshair_ring_nex_inner_color_blue 0 -seta crosshair_ring_nex_currentcharge_scale 30 -seta crosshair_ring_nex_currentcharge_movingavg_rate 0.05 - -seta crosshair_ring_minelayer 1 -seta crosshair_ring_minelayer_alpha 0.15 - -seta crosshair_ring_hagar 1 -seta crosshair_ring_hagar_alpha 0.15 - -seta crosshair_ring_reload 1 "main cvar to enable or disable ammo crosshair rings" -seta crosshair_ring_reload_size 2.5 "reload ring size" -seta crosshair_ring_reload_alpha 0.2 "reload ring alpha" seta cl_reticle 1 "control for toggling whether ANY zoom reticles are shown" seta cl_reticle_stretch 0 "whether to stretch reticles so they fit the screen (brakes image proportions)" @@ -200,9 +86,11 @@ vid_fullscreen 1 vid_width 1024 vid_height 768 vid_pixelheight 1 -seta menu_vid_width 1024 -seta menu_vid_height 768 -seta menu_vid_pixelheight 1 +prvm_language en +set _menu_prvm_language "" +set _menu_vid_width "$vid_width" +set _menu_vid_height "$vid_height" +set _menu_vid_pixelheight "$vid_pixelheight" seta menu_vid_scale 0 // 2D resolution 800x600 vid_conwidth 800 @@ -218,14 +106,17 @@ r_hdr_glowintensity 1 // these settings determine how much the view is affected by movement/damage cl_smoothviewheight 0.05 // time of the averaging to the viewheight value so that it creates a smooth transition for crouching and such. 0 for instant transition cl_deathfade 0 // fade screen to dark red when dead, value represents how fast the fade is (higher is faster) -cl_bobcycle 0 // how long the cycle of up/down view movement takes (only works if cl_bob is not 0), default is 0.6 -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_bob2cycle 0 // how long the cycle of left/right view movement takes (only works if cl_bob2 is not 0), default is 0.6 -cl_bob2 0.01 // how much view moves left/right when moving (does not move if cl_bob2cycle is 0), default is 0.01 +cl_bobcycle 0.5 // how long the cycle of up/down view movement takes (only works if cl_bob is not 0), default is 0.6 +cl_bob 0 // 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_bob2cycle 1 // how long the cycle of left/right view movement takes (only works if cl_bob2 is not 0), default is 0.6 +cl_bob2 0 // how much view moves left/right when moving (does not move if cl_bob2cycle is 0), default is 0.01 cl_bobfall 0.05 "how much the view swings down when falling (influenced by the speed you hit the ground with)" cl_bobfallcycle 3 "speed of the bobfall swing" cl_bobfallspeed 200 "necessary amount of speed for bob-falling to occur" 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_bobmodel_side 0.2 // amount the gun sways to the sides +cl_bobmodel_speed 5 // rate at which the gun sways +cl_bobmodel_up 0.1 // amount the gun sways up and down cl_leanmodel 1 // enables weapon leaning effect when looking around cl_leanmodel_side_speed 0.7 "gun leaning sideways speed" cl_leanmodel_side_limit 35 "gun leaning sideways limit" @@ -461,7 +352,6 @@ locs_enable 0 pausable 0 set g_spawnshieldtime 1 "number of seconds you are invincible after you spawned, this shield is lost after you fire" set g_antilag 2 "AntiLag (0 = no AntiLag, 1 = verified client side hit scan, 2 = server side hit scan in the past, 3 = unverified client side hit scan)" -set g_trueaim_minrange 44 "TrueAim minimum range (TrueAim adjusts shots so they hit the crosshair point even though the gun is not at the screen center)" set g_antilag_nudge 0 "don't touch" set g_antilag_bullets 1 "Bullets AntiLag (0 = no AntiLag, 1 = server side hit scan in the past) - DO NOT TOUCH (severely changes weapon balance)" set g_shootfromclient 2 "let client decide if it has the gun left or right; if set to 2, center handedness is allowed; see also cl_gunalign" @@ -655,9 +545,9 @@ set g_cts_weapon_stay 2 set g_freezetag_respawn_waves 0 set g_freezetag_respawn_delay 0 set g_freezetag_weapon_stay 0 -set g_ka_respawn_delay 0 -set g_ka_respawn_waves 0 -set g_ka_weapon_stay 0 +set g_keepaway_respawn_delay 0 +set g_keepaway_respawn_waves 0 +set g_keepaway_weapon_stay 0 // overtime seta timelimit_overtime 2 "duration in minutes of one added overtime, added to the timelimit" @@ -898,7 +788,7 @@ set g_multijump_speed -999999 "Minimum vertical speed a player must have in orde // effects r_glsl_vertextextureblend_usebothalphas 1 // allows to abuse texture blending as detail texture -r_glsl_postprocess 1 +r_glsl_postprocess 0 // but note, hud_postprocessing enables this r_picmipsprites 0 // Xonotic uses sprites that should never be picmipped (team mate, typing, waypoints) r_picmipworld 1 gl_picmip_world 0 @@ -1144,7 +1034,7 @@ set quit_and_redirect "" "set to an IP to redirect all players at the end of the set g_campaign 0 set g_campaign_forceteam 0 "Forces the player to a given team in campaign mode, 1 = red, 2 = blue, 3 = yellow, 4 = pink" seta g_campaign_name "xonoticbeta" -set g_campaign_skill 0 +seta g_campaign_skill -1 // -2 easy -1 medium 0 hard alias singleplayer_start "g_campaign_index 0; set scmenu_campaign_goto 0" alias singleplayer_continue "set scmenu_campaign_goto -1" @@ -1346,6 +1236,7 @@ set menu_slowmo 1 seta menu_sounds 0 "enables menu sound effects. 1 enables click sounds, 2 also enables hover sounds" seta menu_tooltips 1 "menu tooltips: 0 disabled, 1 enabled, 2 also shows cvar or console command (when available) changed or executed by the item" set menu_picmip_bypass 0 "bypass texture quality enforcement based on system resources, not recommended and may cause crashes!" +set menu_showboxes 0 "show item bounding boxes (debug)" r_textbrightness 0.2 r_textcontrast 0.8 @@ -1454,6 +1345,8 @@ seta v_kicktime $v_kicktime seta r_subdivisions_tolerance $r_subdivisions_tolerance seta vid_gl20 $vid_gl20 seta vid_gl13 $vid_gl13 +seta r_drawviewmodel $r_drawviewmodel +seta v_idlescale $v_idlescale // ticrate //sys_ticrate 0.0166667 @@ -1738,6 +1631,7 @@ alias _gunalign_14 "cl_gunalign 3" alias _gunalign_update "_gunalign_$v_flipped$menu_cl_gunalign" set _menu_alpha "" // will be set by menu QC to the current fading of the menu, can be used by CSQC to fade items +set _menu_initialized 0 "is 0 on first menu loading, 1 later" set g_triggerimpulse_accel_power 1 "trigger_impulse accelerator power (applied BEFORE the multiplier)" set g_triggerimpulse_accel_multiplier 1 "trigger_impulse accelerator multiplier (applied AFTER the power)" @@ -1964,6 +1858,15 @@ set g_weapon_charge_colormod_blue_full -1 set g_playerstats_uri "" set g_playerstats_debug 0 "when 1, player stats are dumped to the console too" +// autoscreenshots +set g_max_info_autoscreenshot 3 "how many info_autoscreenshot entities are allowed" + +// mod names for server browser +// note: the lowest of these that mismatches default is used +set g_mod_physics "" "Current physics config name" +set g_mod_balance "" "Current balance config name" +set g_mod_config "" "Current config mod name" + // session locking locksession 1 @@ -2002,6 +1905,7 @@ exec effects-normal.cfg exec physicsX.cfg exec turrets.cfg exec vehicles.cfg +exec crosshairs.cfg // load console command aliases and settings exec commands.cfg @@ -2022,3 +1926,6 @@ if_dedicated set g_start_delay 15 "delay before the game starts, so everyone can // enable menu syncing alias menu_sync "menu_cmd sync" + +set sv_join_notices "" +set sv_join_notices_time 15 \ No newline at end of file