X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=defaultXonotic.cfg;h=2faa816de2f56df0097390ca559033132e499a92;hp=9af7a1f86bbe0934ff38718ae4c1323dbbe62758;hb=94cd32389004162a325b9e08cfb39bbae156eb0e;hpb=697447ac86b204295fb2cb8bae3160b39af2ccfb diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 9af7a1f86..2faa816de 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 600 // 0.6.0 +gameversion 700 // 0.7.0 gameversion_min 0 // git builds see all versions gameversion_max 65535 // git builds see all versions @@ -37,6 +37,8 @@ alias -hook -button6 alias use "impulse 21" // for backwards compatibility +// TODO Remove after 0.8 release! +cl_particles_forcetraileffects 1 alias dropweapon "impulse 17" alias +show_info +button7 @@ -77,7 +79,7 @@ seta cl_unpress_attack_on_weapon_switch 1 "automatically unpress fire and fire1 seta cl_spawn_event_particles 1 "pointparticles effect whenever a player spawns" seta cl_spawn_event_sound 1 "sound effect whenever a player spawns" //seta cl_spawn_point_model 0 "place a model at all spawn points" // still needs a model -seta cl_spawn_point_particles 1 "pointparticles effect at all spawn points" +seta cl_spawn_point_particles 1 "pointparticles effect at all spawn points" // managed by effects-.cfg files freelook 1 sensitivity 6 @@ -91,12 +93,15 @@ vid_fullscreen 1 vid_width 1024 vid_height 768 vid_pixelheight 1 +vid_resizable 0 // cannot be turned on before it is sure it cannot cause a r_restart +vid_desktopfullscreen 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 +seta menu_vid_allowdualscreenresolution 0 // 2D resolution 800x600 vid_conwidth 800 vid_conheight 600 @@ -243,7 +248,7 @@ set cl_deathglow 0.8 "number of seconds during which dead bodies glow out" set sv_gibhealth 100 "Minus health a dead body must have in order to get gibbed" -// fragmessage: This allows extra information to be displayed with the frag centerprints. +// fragmessage: This allows extra information to be displayed with the frag centerprints. set sv_fraginfo 1 "Enable extra frag message information, 0 = Never display, 1 = Display only in warmup mode; 2 = Always display" set sv_fraginfo_ping 1 "Enable ping display information, 0 = Never display, 1 = Always display (If the player is a bot, it will say bot instead of the ping.)" set sv_fraginfo_handicap 1 "Enable handicap display information, 0 = Never display, 1 = Only when the player has handicap on, 2 = Always display (Displays Off if disabled)" @@ -282,7 +287,7 @@ seta sv_defaultplayermodel_pink "" "\"\" means see sv_defaultplayermodel" seta sv_defaultplayerskin_pink 0 seta sv_defaultplayercolors "" "set to 16*shirt+pants to force a color, note: it does NOT depend on defaultcharacter! Set to \"\" to disable" set sv_autoscreenshot 0 "if set to 1, the server forces all clients to create a local screenshot once the map ended" -net_messagetimeout 300 +net_messagetimeout 30 net_connecttimeout 30 sv_jumpstep 1 // step up stairs while jumping, makes it easier to reach ledges set ekg 0 "Throw huge amounts of gibs" @@ -378,13 +383,6 @@ set g_weapon_throwable 1 "if set to 1, weapons can be dropped" set g_powerups -1 "if set to 0 the strength and shield (invincibility) will not spawn on the map, if 1 they will spawn in all game modes, -1 is game mode default" set g_use_ammunition 1 "if set to 0 all weapons have unlimited ammunition" set g_pickup_items -1 "if set to 0 all items (health, armor, ammo, weapons...) are removed from the map, if 1 they are forced to spawn" -set g_minstagib 0 "enable minstagib" -set g_minstagib_extralives 1 "how many extra lives you will get per powerup" -set g_minstagib_ammo_start 10 "starting ammo" -set g_minstagib_ammo_drop 5 "how much ammo you'll get for weapons or cells" -set g_minstagib_invis_alpha 0.15 -set g_minstagib_speed_highspeed 1.5 "speed-multiplier that applies while you carry the invincibility powerup" -set g_vampire 0 "set to 1 to enable the vampire mode, where the damage done to your opponent gets added to your own health" set g_weaponarena "0" "put in a list of weapons to enable a weapon arena mode, or try \"all\" or \"most\"" set g_weaponarena_random "0" "if set to a number, only that weapon count is given on every spawn (randomly)" set g_weaponarena_random_with_laser "1" "additionally, always provide the laser in random weapon arena games" @@ -414,23 +412,6 @@ set g_player_alpha 1 set g_player_brightness 0 "set to 2 for brighter players" seta g_balance_cloaked_alpha 0.25 -set g_sandbox 0 "allow players to spawn and edit objects around the map" -set g_sandbox_info 1 "print object information to the server. 1 prints info about spawned / removed objects, 2 also prints info about edited objects" -set g_sandbox_readonly 0 "when this mode is active, players cannot modify objects or use any sandbox commands" -set g_sandbox_storage_name default "name of the selected storage to use" -set g_sandbox_storage_autosave 5 "storage is automatically saved every specified number of seconds" -set g_sandbox_storage_autoload 1 "if a storage file exists for the given map, automatically load it at startup" -set g_sandbox_editor_flood 1 "players must wait this many seconds between spawning objects" -set g_sandbox_editor_maxobjects 1000 "maximum number of objects that may exist at a time" -set g_sandbox_editor_free 1 "0 = players can only copy or edit their own objects, 1 = players can copy but not edit other objects, 2 = players can copy and edit all object" -set g_sandbox_editor_distance_spawn 200 "distance at which objects spawn in front of the player" -set g_sandbox_editor_distance_edit 300 "distance at which players can edit or remove objects they are looking at" -set g_sandbox_object_scale_min 0.1 "minimum scale that objects can be set to" -set g_sandbox_object_scale_max 2 "maximum scale that objects can be set to" -set g_sandbox_object_material_velocity_min 100 "velocity objects must have while colliding for material effects to be applied" -set g_sandbox_object_material_velocity_factor 0.002 "velocity range which decides the intensity of material effects" -set cl_sandbox_clipboard "" - seta menu_sandbox_spawn_model "" seta menu_sandbox_attach_bone "" seta menu_sandbox_edit_skin 0 @@ -453,26 +434,9 @@ set welcome_message_time 8 set g_grappling_hook 0 "let players spawn with the grappling hook which allows them to pull themselves up" -set g_invincible_projectiles 0 "set to 1 to disable any damage to projectiles in all balance configs, regardless of g_projectiles_damage" -set g_dodging 0 "set to 1 to enable dodging in games" -set g_rocket_flying 0 "set to 1 to enable rocket flying in all balance configs" - -seta cl_dodging_timeout 0.2 "determines how long apart (in seconds) two taps on the same direction key are considered a dodge. use 0 to disable" - -set sv_dodging_wall_dodging 0 "set to 1 to allow dodging off walls. 0 to disable" -set sv_dodging_delay 0.5 "determines how long a player has to wait to be able to dodge again after dodging" -set sv_dodging_up_speed 200 "the jump velocity of the dodge" -set sv_dodging_horiz_speed 400 "the horizontal velocity of the dodge" -set sv_dodging_ramp_time 0.1 "a ramp so that the horizontal part of the dodge is added smoothly (seconds)" -set sv_dodging_height_threshold 10 "the maximum height above ground where to allow dodging" -set sv_dodging_wall_distance_threshold 10 "the maximum distance from a wall that still allows dodging" -set sv_dodging_sound 1 "if 1 dodging makes a sound. if 0 dodging is silent" - set g_spawn_alloweffects 1 "allow clients to enable spawn point and event effects such as particles and sounds, see cl_spawn_ cvars for more info" set g_spawn_furthest 1 "this amount of the spawns shall be far away from any players" set g_spawn_useallspawns 0 "use all spawns, e.g. also team spawns in non-teamplay, and all spawns, even enemy spawns, in teamplay" -set g_spawn_near_teammate 0 "if set, players prefer spawns near a team mate" -set g_spawn_near_teammate_distance 640 "max distance to consider a spawn to be near a team mate" // respawn delay set g_respawn_delay 2 "number of seconds you have to wait before you can respawn again" set g_respawn_waves 0 "respawn in waves (every n seconds), intended to decrease overwhelming base attacks" @@ -566,6 +530,7 @@ cl_particles_smoke 1 vid_gl20 1 r_glsl_deluxemapping 1 r_glsl_offsetmapping 0 +r_glsl_offsetmapping_lod 1 r_glsl_offsetmapping_reliefmapping 0 r_glsl_offsetmapping_scale 0.02 // execute effects-normal.cfg to make sure that all effect settings are reset @@ -748,13 +713,6 @@ bind F2 vno //used for spectate/observer mode bind F3 spec -// NIX (No Items Xonotic) - at each time, everyone uses the same weapon, -// and in regular intervals, this weapon is cycled -set g_nix 0 "No Items Xonotic - instead of pickup items, everyone plays with the same weapon. After some time, a countdown will start, after which everyone will switch to another weapon, and so on" -set g_nix_with_laser 0 "always carry the laser as an additional weapon in NIX" -set g_nix_with_healtharmor 0 "when 1, health and armor still show up in NIX" -set g_nix_with_powerups 0 "when 1, powerups still show up in NIX" - // score log set sv_logscores_console 0 "print scores to server console" set sv_logscores_file 0 "print scores to file" @@ -972,7 +930,7 @@ seta scoreboard_color_bg_team 0.5 "team color multiplier of the scoreboard backg 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_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" @@ -1041,23 +999,26 @@ set con_completion_vnextmap map set con_completion_vdomap map set con_completion_playermodel models/player/*.iqm +// helper // these non-saved engine cvars shall be saved -seta cl_port $cl_port -seta r_showsurfaces $r_showsurfaces -seta r_ambient $r_ambient -seta skill 4 -seta gl_finish $gl_finish -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 -seta net_slist_queriespersecond $net_slist_queriespersecond +alias makesaved "seta $1 \"${$1 ?}\" +makesaved cl_maxfps_alwayssleep +makesaved cl_port +makesaved gl_finish +makesaved net_slist_queriespersecond +makesaved r_ambient +makesaved r_drawviewmodel +makesaved r_showsurfaces +makesaved r_subdivisions_tolerance +makesaved skill +makesaved vid_gl13 +makesaved vid_gl20 +makesaved v_idlescale +makesaved v_kicktime // ticrate -//sys_ticrate 0.0166667 -sys_ticrate 0.0333333 +//sys_ticrate 0.0166667 // 60fps. This would be ideal, but kills home routers. +sys_ticrate 0.0333333 // Use 30fps instead. cl_netfps 60 // should match or be a multiple sv_gameplayfix_delayprojectiles 0 sv_gameplayfix_q2airaccelerate 1 @@ -1085,10 +1046,6 @@ alias sethostname "set menu_use_default_hostname 0; hostname $*" set sv_foginterval 1 "force enable fog in regular intervals" -set g_physical_items 0 "1 uses ODE physics for dropped weapons, 2 for all items, requires physics_ode to be enabled" -set g_physical_items_damageforcescale 3 "how affected physical weapons are by damage" -set g_physical_items_reset 1 "return map items to their original lotation after being picked up" - // Audio track names (for old-style "cd loop NUMBER" usage) set _cdtrack_first "1" alias _cdtrack_0 "g_cdtracks_remaplist \"$g_cdtracks_remaplist $1\"" @@ -1147,7 +1104,7 @@ set sv_clones 0 "number of clones a player may make (reset by the \"kill\" comma set cl_handicap 1 "the higher, the more damage you will receive (client setting) NOTE: reconnect or use sendcvar command to update the choice." -seta cl_clippedspectating 1 "movement collision for spectators so that you can't pass through walls and such. (client setting) NOTE: reconnect or use sendcvar command to update the choice." +seta cl_clippedspectating 1 "movement collision for spectators so that you can't pass through walls and such. (client setting) NOTE: reconnect or use sendcvar command to update the choice." seta cl_autoscreenshot 1 "Take a screenshot upon the end of a match... 0 = Disable completely, 1 = Allow sv_autoscreenshot to take a screenshot when requested, 2 = Always take an autoscreenshot anyway." @@ -1171,12 +1128,6 @@ set g_bugrigs_speed_ref 400 "reference speed for accel and steer responsiveness" set g_bugrigs_speed_pow 2 "reference power for accel and steer responsiveness" set g_bugrigs_steer 1 "steering amount" -set g_touchexplode 0 -set g_touchexplode_radius 50 -set g_touchexplode_damage 10 -set g_touchexplode_edgedamage 0 -set g_touchexplode_force 150 - set g_ban_sync_uri "" "sync using this ban list provider (empty string to disable)" set g_ban_sync_interval 5 "sync every 5 minutes" set g_ban_sync_trusted_servers "" "request ban lists from these xonotic servers (do not include your own server there, or unbanning may fail)" @@ -1278,7 +1229,7 @@ seta cl_casings_maxcount 100 "maximum amount of shell casings (must be at least seta cl_gibs_maxcount 100 "maximum amount of gibs (must be at least 1)" seta cl_vehicle_spiderbot_cross_alpha 0.6 seta cl_vehicle_spiderbot_cross_size 1 -seta cl_vehicles_hudscale 0.5 +seta cl_vehicles_hudscale 0.5 seta cl_vehicles_hudalpha 0.75 seta cl_vehicles_hud_tactical 1 @@ -1328,7 +1279,6 @@ set developer_csqcentities 0 "csqc entity spam" set waypoint_benchmark 0 "quit after waypoint loading to benchmark bot navigation code" set g_debug_bot_commands 0 "print scripted bot commands before executing" set g_debug_defaultsounds 0 "always use default sounds" -set cl_precacheplayermodels 0 "TODO please check if this needs to be 1 or if precaching a model the server already requested is fast enough to do it at runtime" seta cl_forceplayermodels 0 "make everyone look like your own model (requires server to have sv_defaultcharacter 0)" seta cl_forceplayercolors 0 "make everyone look like your own color (requires server to have sv_defaultcharacter 0, and is ignored in teamplay with more than two teams)" seta cl_forcemyplayermodel "" "set to the model file name you want to show yourself as (does not affect how enemies look with cl_forceplayermodels)" @@ -1336,10 +1286,6 @@ seta cl_forcemyplayerskin 0 "set to the skin number you want to show yourself as seta cl_forcemyplayercolors 0 "set to the color value (encoding is same as _cl_color) for your own player model (ignored in teamplay; does not affect how enemies look with cl_forceplayermodels)" seta cl_movement_errorcompensation 1 "try to compensate for prediction errors and reduce preceived lag" -// debug cvars for keyhunt attaching -set _angles "0 0 0" -set _origin "0 0 0" - // campaign internal, set when loading a campaign map1G set _campaign_index "" set _campaign_name "" @@ -1488,7 +1434,7 @@ mod_q3shader_default_polygonoffset -14 mod_q3shader_default_polygonfactor 0 // allow fullbright -set sv_allow_fullbright 0 "when set, clients may use r_fullbright on this server without getting a night vision effect overlay" +set sv_allow_fullbright 1 "when set, clients may use r_fullbright on this server without getting a night vision effect overlay" // auto-teams (team selection by player ID) // any player not listed is forced to spectate @@ -1532,6 +1478,7 @@ set snd_soundradius 1200 set snd_softclip 1 set snd_maxchannelvolume 0 set snd_streaming_length 2 +seta menu_snd_sliderscale 2 "0: decibels; 1: linear percent; 2: 0..10 scale; 3: slider size percent" seta menu_snd_attenuation_method 1 "Use exponential instead of linear falloff for sound attenuation" alias snd_attenuation_method_0 "set menu_snd_attenuation_method 0; set snd_soundradius 1200; set snd_attenuation_exponent 1; set snd_attenuation_decibel 0" // Quake default alias snd_attenuation_method_1 "set menu_snd_attenuation_method 1; set snd_soundradius 2400; set snd_attenuation_exponent 4; set snd_attenuation_decibel 0" // nice approximation for method 2 @@ -1550,7 +1497,7 @@ snd_identicalsoundrandomization_tics 1 scr_loadingscreen_background 0 scr_loadingscreen_barcolor "0 0.5 1" scr_loadingscreen_barheight 12 -scr_loadingscreen_count 14 +scr_loadingscreen_count 1 scr_loadingscreen_firstforstartup 1 scr_loadingscreen_scale 999 scr_loadingscreen_scale_base 1 @@ -1565,6 +1512,7 @@ exec turrets.cfg exec vehicles.cfg exec crosshairs.cfg exec gamemodes.cfg +exec mutators.cfg exec notifications.cfg // load console command aliases and settings @@ -1578,7 +1526,7 @@ exec _hud_descriptions.cfg exec hud_luminos.cfg -// ... and now that everything is configured/aliased, we can do some things: +// ... and now that everything is configured/aliased, we can do some things: // Change g_start_delay based upon if the server is local or not. if_client set g_start_delay 0 "delay before the game starts, so everyone can join; recommended to set this to like 15 on a public server" @@ -1598,5 +1546,3 @@ set cl_simpleitems_postfix "_simple" "posfix to add fo model name when simple it set cl_fullbright_items 0 "enable fullbright items (if server allows, controled by g_fullbrightitems)" set cl_weapon_stay_color "2 0.5 0.5" "Color of picked up weapons when g_weapon_stay > 0" set cl_weapon_stay_alpha 0.75 "Alpha of picked up weapons when g_weapon_stay > 0" - -seta g_superspectate 0 "server side, allows extended spectator functions through the cmd interface. followpowerup, followstrength, followstshield or followfc [red|blue] will transfer spectation to the relevent player, if any"