X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=xonotic-server.cfg;h=be57248acc8b3304fcefd6bbc96c005d779ca50d;hb=7ef5256bd60312032dd264fa702546e8644cd4c2;hp=a128a801d89dda6cab884354d3f5855b7f93109d;hpb=656b894a3eb51df02a37562dfda6932ab90e9bda;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/xonotic-server.cfg b/xonotic-server.cfg index a128a801d..be57248ac 100644 --- a/xonotic-server.cfg +++ b/xonotic-server.cfg @@ -40,8 +40,8 @@ set g_chat_nospectators 0 "if 0 spec/observer chat is always visible to the play set sv_vote_nospectators 0 "only players can call a vote (thus spectators and observers can't call a vote): 0 = all people can vote, 1 = spectators can vote in warmup stage, 2 = only players can vote (no exceptions)." alias g_tourney "g_tourney_$1" -alias g_tourney_1 "g_warmup 1; g_chat_nospectators 2; sv_vote_nospectators 1" -alias g_tourney_0 "g_warmup 0; g_chat_nospectators 0; sv_vote_nospectators 0" +alias g_tourney_1 "g_warmup 1; g_chat_nospectators 2; sv_vote_nospectators 1; sv_timeout 1" +alias g_tourney_0 "g_warmup 0; g_chat_nospectators 0; sv_vote_nospectators 0; sv_timeout 0" set sv_timeout 0 "allow a player to call a timeout, this will pause the game for some time" set sv_timeout_length 120 "how long the game will be paused at max, in seconds" @@ -58,11 +58,14 @@ set g_teleport_maxspeed 0 "maximum speed that a player can keep when going throu set g_respawn_ghosts 1 "if 1 dead bodies become ghosts and float away when the player respawns" set g_respawn_ghosts_speed 5 "the speed with which respawn ghosts float and rotate" -set g_respawn_ghosts_maxtime 6 "maximum amount of time a respawn ghost can last, minimum time is half this value. 0 disables and ghosts fade when the body would" +set g_respawn_ghosts_time 4.5 "amount of time a respawn ghost lasts before it starts fading out. 0 disables and ghosts fade when the body would" +set g_respawn_ghosts_fadetime 1.5 "amount of time a respawn ghost takes to fade out" +set g_respawn_ghosts_alpha 1 "respawn ghost alpha" set sv_gibhealth 100 "Minus health a dead body must have in order to get gibbed" // use default physics +sv_playerphysicsqc 1 set sv_friction_on_land 0 "movement friction applied for half a second upon landing on the ground" set sv_friction_slick 0.5 "movement friction while on slick surfaces" @@ -126,7 +129,8 @@ set bot_typefrag 0 "Allow bots to shoot players while they're typing" set bot_ai_thinkinterval 0.05 "Frame rate at which bots update their navigation and aiming, scales by skill" set bot_ai_strategyinterval 7 "How often a new objective is chosen" set bot_ai_strategyinterval_movingtarget 5.5 "How often a new objective is chosen when current objective can move" -set bot_ai_enemydetectioninterval 2 "How often bots pick a new target" +set bot_ai_enemydetectioninterval 2 "How often bots try to pick a new target if no suitable target is found" +set bot_ai_enemydetectioninterval_stickingtoenemy 4 "How often bots try to pick a new target while targetting an enemy" set bot_ai_enemydetectionradius 10000 "How far bots can see enemies" set bot_ai_dodgeupdateinterval 0.2 "How often scan for items to dodge. Currently not in use." set bot_ai_chooseweaponinterval 0.5 "How often the best weapon according to the situation will be chosen" @@ -152,9 +156,11 @@ set bot_ai_weapon_combo_threshold 0.4 "Try to make a combo N seconds after the l set bot_ai_friends_aware_pickup_radius "500" "Bots will not pickup items if a team mate is this distance near the item" set bot_ai_ignoregoal_timeout 3 "Ignore goals making bots to get stuck in front of a wall for N seconds" set bot_ai_bunnyhop_skilloffset 7 "Bots with skill equal or greater than this value will perform the \"bunnyhop\" technique" -set bot_ai_bunnyhop_startdistance 200 "Run to goals located further than this distance" -set bot_ai_bunnyhop_stopdistance 300 "Stop jumping after reaching this distance to the goal" -set bot_ai_bunnyhop_firstjumpdelay 0.2 "Start running to the goal only if it was seen for more than N seconds" +set bot_ai_bunnyhop_dir_deviation_max 20 "bunnyhop if speed - direction deviation is <= this amount" +set bot_ai_bunnyhop_downward_pitch_max 30 "bunnyhop if downard pitch towards the next waypoint is <= this amount" +set bot_ai_bunnyhop_turn_angle_max 80 "bunnyhop if next turn angle is <= this amount at walk speed (sv_maxspeed)" +set bot_ai_bunnyhop_turn_angle_min 4 "bunnyhop regardless of speed if next turn angle is <= this amount" +set bot_ai_bunnyhop_turn_angle_reduction 40 "linearly reduce max turn angle by this amount when speed increases by sv_maxspeed" set bot_god 0 "god mode for bots" set bot_ai_navigation_jetpack 0 "Enable bots to navigate maps using the jetpack" set bot_ai_navigation_jetpack_mindistance 3500 "Bots will try fly to objects located farther than this distance" @@ -191,7 +197,6 @@ set g_antilag_nudge 0 "don't touch" set g_shootfromeye 0 "shots are fired from your eye/crosshair; visual gun position can still be influenced by cl_gunalign 1 and 2" 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 "1: ghost weapons can be picked up but give no ammo, thrown guns have ammo 2: ghost weapons can be picked up and refill ammo to one pickup size, thrown guns have no ammo (to prevent infinite ammo abuse)" 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" @@ -203,7 +208,7 @@ set g_pickup_respawntime_scaling_linear 1 "Multiply respawn time by `reciprocal set g_weaponarena "0" "put in a list of weapons to enable a weapon arena mode, or try \"all\", \"most\", \"all_available\" or \"most_available\" (available only gives the weapon if the map normally has it as a pickup item)" 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_blaster "1" "additionally, always provide the blaster in random weapon arena games" -set g_spawnpoints_auto_move_out_of_solid 0 "if set to 1 you will see a warning if a spawn point was placed inside a solid" +set g_spawnpoints_auto_move_out_of_solid 1 "show a warning if a spawn point was placed inside a solid, disabling this setting causes such spawn points to be removed and produce a more verbose error message" set g_forced_respawn 0 "if set to 1 and a player died, that player gets automatically respawned once seconds are over" set g_fullbrightplayers 0 "brightens up player models (note that the color, skin or model of the players does not change!)" set g_fullbrightitems 0 "disables lighting effects on items, making them appear bright for visibility" @@ -218,6 +223,7 @@ set g_maplist_selectrandom 0 "if 1, a random map will be chosen as next map - DE set g_maplist_shuffle 1 "new randomization method: like selectrandom, but avoid playing the same maps in short succession. This works by taking out the first element and inserting it into g_maplist with a bias to the end of the list" set g_maplist_check_waypoints 0 "when 1, maps are skipped if there currently are bots, but the map has no waypoints" set g_maplist_ignore_sizes 0 "when 1, all maps are shown in the map list regardless of player count" +set g_maplist_sizes_count_maxplayers 1 "check the player limit when getting the player count so forced spectators don't affect the size restrictions" set g_maplist_sizes_count_bots 1 "include the number of bots currently in the server when counting the number of players for size restrictions" set g_items_mindist 4000 "starting distance for the fading of items" @@ -225,11 +231,9 @@ set g_items_maxdist 4500 "maximum distance at which an item can be viewed, after set g_grab_range 200 "distance at which dragable objects can be grabbed" -set g_cloaked 0 "display all players mostly invisible" set g_player_alpha 1 "default opacity of players" set g_player_brightness 0 "set to 2 for brighter players" set g_player_damageforcescale 2 "push multiplier of attacks against players" -set g_balance_cloaked_alpha 0.25 "opacity of cloaked players" set g_playerclip_collisions 1 "0 = disable collision testing against playerclips, might be useful on some defrag maps" set g_botclip_collisions 1 "0 = disable collision testing against botclips, might be useful on some defrag maps" @@ -307,9 +311,9 @@ set sv_logscores_filename scores.log "filename" set sv_logscores_bots 0 "exclude bots by default" // spam (frag/capture) log -set sv_eventlog 0 "the master switch for efficiency reasons" -set sv_eventlog_console 1 "print event log entries to the console as well" -set sv_eventlog_files 0 "save the event log to individual files instead of the main server log" +set sv_eventlog 0 "enable event logging" +set sv_eventlog_console 1 "print event log entries to the dedicated console as well" +set sv_eventlog_files 0 "save the event log to individual files" set sv_eventlog_files_timestamps 1 "include timestamps in the log file names" set sv_eventlog_files_counter 0 "internal counter cvar, do not modify" set sv_eventlog_files_nameprefix xonotic "prefix of individual log file names" @@ -394,6 +398,7 @@ sv_gameplayfix_delayprojectiles 0 sv_gameplayfix_q2airaccelerate 1 sv_gameplayfix_stepmultipletimes 1 sv_gameplayfix_stepdown 2 +sv_gameplayfix_unstickplayers 2 // only available in qc physics set sv_gameplayfix_stepdown_maxspeed 0 "maximum speed walking entities can be moving for stepping down to apply - requires sv_qcphysics 1" @@ -407,10 +412,12 @@ sv_gameplayfix_droptofloorstartsolid 0 set sv_foginterval 1 "force enable fog in regular intervals" set sv_maxidle 0 "kick players idle for more than this amount of time in seconds" -set sv_maxidle_spectatorsareidle 0 "when sv_maxidle is not 0, assume spectators are idle too" +set sv_maxidle_alsokickspectators 1 "when sv_maxidle is > 0, kick idle spectators as well as players" set sv_maxidle_slots 0 "when not 0, only kick idlers when this many or less player slots are available" set sv_maxidle_slots_countbots 1 "count bots as player slots" +set sv_maxidle_playertospectator 60 "move players idle for more than this amount of time in seconds to spectators (sv_maxidle timer starts again after sv_maxidle_playertospectator has moved a player to spectators)" + sv_allowdownloads_inarchive 1 // for csprogs.dat sv_allowdownloads 0 // download protocol is evil @@ -499,6 +506,8 @@ set g_maxspeed 0 "player speed limit, faster players are killed (0 for unlimited // sv_cullentities_trace is 1, so the client doesn't have to sv_cullentities_trace 1 +// support pings up to 400 for eye position prediction +sv_cullentities_trace_prediction_time 0.4 // due to a bug in the engine, the default setting of this (16) spams the network with item updates sv_cullentities_trace_eyejitter 0 @@ -531,7 +540,7 @@ alias g_forced_team_matchsetup "map $1; settemp g_forced_team_red \"$2\"; settem // frozen set g_frozen_revive_falldamage 0 "Enable reviving from this amount of fall damage" set g_frozen_revive_falldamage_health 40 "Amount of health player has if they revived from falling" -set g_frozen_damage_trigger 1 "if 1, frozen players falling into the void will die instead of teleporting to spawn" +set g_frozen_damage_trigger 1 "if 1, frozen players falling into the void/lava/slime will die instead of teleporting to spawn" set g_frozen_force 0.6 "How much to multiply the force on a frozen player with" // player statistics @@ -551,7 +560,8 @@ set g_mod_balance "" "Current balance config name" set g_mod_config "" "Current config mod name" // other config files -exec balance-xonotic.cfg +exec testing.cfg +exec balance-xonotic.cfg // depends on testing.cfg exec physicsX.cfg exec turrets.cfg exec vehicles.cfg @@ -571,7 +581,10 @@ set sv_showspectators 1 "Show who's spectating who in the player info panel when set sv_damagetext 2 "<= 0: disabled, >= 1: visible to spectators, >= 2: visible to attacker, >= 3: all players see everyone's damage" -set sv_showfps 5 "Show player's FPS counters in the scoreboard. This setting acts as a delay in seconds between updates" +set sv_showfps 0 "Show player's FPS counters in the scoreboard. This setting acts as a delay in seconds between updates. NOTE: this feature gathers performance telemetry, it may require consent from players on the server depending on your legislation" set sv_doors_always_open 0 "If set to 1 don't close doors which after they were open" set sv_warpzone_allow_selftarget 0 "do not touch" + +// don't notify cvar changes in the chat +sv_disablenotify 1