X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=defaultXonotic.cfg;h=d07603b6b692e7b7b009e11f8abd75b021976509;hb=e08a24f439992ad6142072659781082c88990483;hp=8ba286b033c90c8c879a01c04e44394089f18b3b;hpb=b212097fcb1977688e626024741023cbbe3a948a;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/defaultXonotic.cfg b/defaultXonotic.cfg index 8ba286b03..d07603b6b 100644 --- a/defaultXonotic.cfg +++ b/defaultXonotic.cfg @@ -22,10 +22,6 @@ 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" @@ -259,13 +255,6 @@ gl_polyblend 0 // whether to use screen tints, this has now been replaced by a b r_motionblur 0 // motion blur value, default is 0 r_damageblur 0 // motion blur when damaged, default is 0 (removed in Xonotic) -r_bloom_blur 6 -r_bloom_brighten 1.5 -r_bloom_colorexponent 2 -r_bloom_colorscale 1.75 -r_bloom_colorsubtract 0.1 -r_bloom_resolution 320 - seta vid_x11_display "" "xonotic-linux-*.sh will use this to start xonotic on an other/new X display" // This can have three possible settings: // "" run as usual @@ -304,11 +293,12 @@ set teamplay_lockonrestart 0 "it set to 1 in a team-based game, the teams are lo set g_maxplayers 0 "maximum number of players allowed to play at the same time, set to 0 to allow all players to join the game" set g_maxplayers_spectator_blocktime 5 "if the players voted for the \"nospectators\" command, this setting defines the number of seconds a observer/spectator has time to join the game before he gets kicked" -//tournament mod +// tournament mod set g_warmup 0 "split the game into a warmup- and match-stage when set to 1" set g_warmup_limit 60 "if set to -1 the warmup-stage is not affected by any timelimit, if set to 0 the usual timelimit also affects warmup-stage, otherwise warmup will be limited to this time in SECONDS (useful for public matches)" set g_warmup_allow_timeout 0 "if set to 1 timeouts can also be called in the warmup-stage, when sv_timeout is set to 1" set g_warmup_allguns 0 "if set players start with all guns in warmup mode" +set g_warmup_majority_factor 0.8 "minimum percentage of players ready needed for warmup to end" set g_chat_nospectators 0 "if 0 spec/observer chat is always visible to the player, if 1 it is never visible to players, if 2 it is only visible to players during warmup stage" set sv_vote_nospectators 0 "if set only players can call a vote (thus spectators and observers can't call a vote)" @@ -389,9 +379,6 @@ cl_movement 1 cl_movement_track_canjump 0 cl_stairsmoothspeed 200 -seta cl_autoswitch 1 "automatically switch to newly picked up weapons if they are better than what you are carrying" -alias autoswitch "set cl_autoswitch $1 ; cmd autoswitch $1" - set bot_config_file bots.txt "Name and path of the bot configuration file" set bot_number 0 "Minimum number of bots" seta bot_usemodelnames 0 "Use player model names for bot names" @@ -472,14 +459,11 @@ set g_shootfromeye 0 "shots are fired from your eye/crosshair; visual gun positi set g_shootfromcenter 0 "weapon gets moved to the center, shots still come from the barrel of your weapon; visual gun position can still be influenced by cl_gunalign 1 and 2" set g_shootfromfixedorigin "" "if set to a string like 0 y z, the gun is moved to the given y and z coordinates. If set to a string like x y z, the whole shot origin is used" set g_pinata 0 "if set to 1 you will not only drop your current weapon when you are killed, but you will drop all weapons that you possessed" -set g_weapon_stay 0 "if set to 1 or 2, weapons stay after they were picked up (1: weapons you don't have yet give you ammo of their type and they can not be dropped, 2: weapons don't give ammo, but instead players start with one pickup-load of ammo by default, 3: weapons give ammo, weapons only stay as ammo-less ghosts)" +set g_weapon_stay 0 "1: ghost weapons can be picked up too but give no ammo" set g_weapon_throwable 1 "if set to 1, weapons can be dropped" -set g_powerup_superhealth 1 "if set to 0 the mega health powerup will not spawn on the map" -set g_powerup_strength 1 "if set to 0 the strength powerup will not spawn on the map" -set g_powerup_shield 1 "if set to 0 the shield (invincibility) powerup will not spawn on the map" -set g_balance_powerup_timer 1 "if set to 0 the powerups dont wear off" +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" +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 2 "how many extra lives you will get per powerup" set g_minstagib_ammo_start 10 "starting ammo" @@ -554,8 +538,6 @@ set g_botclip_collisions 1 "0 = disable collision testing against botclips, migh set welcome_message_time 8 -alias clearmap "disconnect" - 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" @@ -811,7 +793,6 @@ set g_arena 0 "Arena: many one-on-one rounds are played to find the winner" set g_arena_maxspawned 2 "maximum number of players to spawn at once (the rest is spectating, waiting for their turn)" set g_arena_roundbased 1 "if disabled, the next player will spawn as soon as someone dies" set g_arena_warmup 5 "time, newly spawned players have to prepare themselves in round based matches" -set g_arena_powerups 0 "enables powerups (superhealth, strength and shield), which are removed by default" // ca set g_ca 0 "Clan Arena: Played in rounds, once you're dead you're out! The team with survivors wins the round." @@ -973,8 +954,6 @@ seta cl_notify_carried_items "3" "notify you of carried items when you obtain th // startmap_dm is used when running with the -listen or -dedicated commandline options set serverconfig server.cfg alias startmap_dm "set _sv_init 0; map _init/_init; exec $serverconfig; set _sv_init 1; map _init/_init" -alias sv_loadconfig "exec $serverconfig" -alias sv_restart "say \"Server will restart at the end of the match, you will all be reconnected automatically. $* \"; quit_and_redirect self" // aliases: alias +fire +attack @@ -1004,8 +983,6 @@ alias togglezoom "${_togglezoom}zoom" alias reload "impulse 20" -alias sandbox "cmd g_sandbox $*" - // movement bind w +forward bind a +moveleft @@ -1030,6 +1007,7 @@ alias weapon_group_7 "impulse 7" alias weapon_group_8 "impulse 8" alias weapon_group_9 "impulse 9" alias weapon_group_0 "impulse 14" // cycles the superweapons +exec weapons.cfg bind 0 weapon_group_0 bind 1 weapon_group_1 bind 2 weapon_group_2 @@ -1121,13 +1099,10 @@ bind kp_enter "+userbind 16" bind kp_plus "+userbind 17" bind kp_minus "+userbind 18" -alias lsmaps "cmd lsmaps" // lists all maps on server (for vmap, suggestmap, vnextmap) -alias lsnewmaps "cmd lsnewmaps" // lists all maps on server that do not yet have a record set (race/cts) bind F1 vyes bind F2 vno //used for spectate/observer mode -alias spec "cmd spectate" bind F3 spec // NIX (No Items Xonotic) - at each time, everyone uses the same weapon, @@ -1196,7 +1171,6 @@ seta g_maplist_votable_suggestions_override_mostrecent 0 seta g_maplist_votable_nodetail 1 "nodetail only shows total count instead of all vote counts per map, so votes don't influence others that much" seta g_maplist_votable_abstain 0 "when 1, you can abstain from your vote" seta g_maplist_votable_screenshot_dir "maps levelshots" "where to look for map screenshots" -alias suggestmap "cmd suggestmap $1" set g_chat_flood_spl 3 "normal chat: seconds between lines to not count as flooding" set g_chat_flood_lmax 2 "normal chat: maximum number of lines per chat message at once" @@ -1418,17 +1392,11 @@ set menu_weaponarena_with_laser 0 "also enable the Laser in this weapon arena" seta menu_maxplayers 16 "maxplayers value when the menu starts a game" -// command executed before loading a map by the menu -// makes sure maxplayers is at least minplayers or bot_number + 1 -alias _menu_loadmap_prepare_maxpl "maxplayers $_menu_loadmap_maxplayers" -alias menu_loadmap_prepare "disconnect; wait; g_campaign 0; menu_cmd rpn /_menu_loadmap_maxplayers menu_maxplayers minplayers bot_number 1 add max max def; _menu_loadmap_prepare_maxpl; g_maplist_shufflenow" - // useful vote aliases set timelimit_increment 5 set timelimit_decrement 5 set timelimit_min 5 set timelimit_max 60 -alias endmatch "timelimit -1" // useful keybind to maximize the chat area temporarily // HUD code takes care of many of these now... @@ -1540,7 +1508,7 @@ sv_allowdownloads 0 // download protocol is evil set g_jump_grunt 0 "Do you make a grunting noise every time you jump? Is it the same grunting noise every time?" -seta cl_weaponpriority "minstanex rocketlauncher nex grenadelauncher minelayer fireball hlac hagar seeker crylink rifle uzi electro tuba shotgun laser hook porto" "weapon priority list" +seta cl_weaponpriority "minstanex nex fireball grenadelauncher uzi hagar rifle electro rocketlauncher crylink minelayer shotgun hlac tuba laser porto seeker hook" "weapon priority list" seta cl_weaponpriority_useforcycling 0 "when set, weapon cycling by the mouse wheel makes use of the weapon priority list (the special value 2 uses the weapon ID list for cycling)" seta cl_weaponpriority0 "rocketlauncher grenadelauncher hagar seeker fireball" "use impulse 200 for prev gun from this list, 210 for best gun, 220 for next gun. Default value: explosives" seta cl_weaponpriority1 "minstanex nex crylink hlac electro laser" "use impulse 201 for prev gun from this list, 211 for best gun, 221 for next gun. Default value: energy" @@ -1677,21 +1645,11 @@ set cl_effects_lightningarc_branchfactor_add 0.1 set g_hitplots 0 "when set to 1, hitplots are stored by the server to provide a means of proving that a triggerbot was used" seta g_hitplots_individuals "" "the individuals, by IP, that should have their hitplots recorded" -alias mute "prvm_edictset server $1 muted 1" // I am lazy and not making an actual command of this -alias unmute "prvm_edictset server $1 muted 0" // dito - -rcon_secure 1 - set menu_updatecheck 1 set bot_navigation_ignoreplayers 0 // FIXME remove this once the issue is solved set bot_sound_monopoly 0 "when enabled, only bots can make any noise" -// broken, sorry (cannot handle weapon attachment properly) -//seta cl_forceplayermodels 0 "force all players to look like you; WARNING: animations can look very bad with this" -//seta cl_forceplayermodelsfromxonotic 0 "force models coming from xonotic; WARNING: animations can look very bad with this" -//set sv_clforceplayermodels 1 "allow clients to use cl_forcemodels" - set sv_loddistance1 1024 set sv_loddistance2 4096 seta cl_playerdetailreduction 0 "the higher, the less detailed player models are displayed (LOD)" @@ -1801,6 +1759,9 @@ set developer_shtest 0 "experimental speedhack detection" 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 sv_use_csqc_players 1 "set to 0 to disable CSQC players for better Xonotic 0.5 compat" +set cl_forceplayermodels 0 "set to 1 to make everyone look like yourself (requires server to have sv_use_csqc_players 1)" +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" // debug cvars for keyhunt attaching set _angles "0 0 0"