From: Martin Taibr Date: Thu, 1 Aug 2019 07:57:15 +0000 (+0200) Subject: add bots and nobots votes X-Git-Tag: xonotic-v0.8.5~1275^2~5 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=941ce70888a5d171ff77a41932f3cad3de9169e2;p=xonotic%2Fxonotic-data.pk3dir.git add bots and nobots votes --- diff --git a/commands.cfg b/commands.cfg index 798104a68..d126b9b47 100644 --- a/commands.cfg +++ b/commands.cfg @@ -238,6 +238,8 @@ alias warp "qc_cmd_sv warp ${* ?}" // Choose // other aliases for server commands alias endmatch "timelimit -1" +alias bots "minplayers 4; minplayers_per_team 2" +alias nobots "minplayers 0; minplayers_per_team 0" alias savedb "sv_cmd database save \"${1 ?}\"" alias dumpdb "sv_cmd database dump \"${1 ?}\"" @@ -325,7 +327,7 @@ set sv_vote_command_help_gotomap "\nUsage:^3 vcall gotomap mapname\n^7 Where 'm // ================================= set sv_vote_call 1 "Allow users to call a vote for the commands in sv_vote_commands" set sv_vote_change 1 "Allow voters to change their mind after already voting" -set sv_vote_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto shuffleteams" "these commands can be voted" +set sv_vote_commands "restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto shuffleteams bots nobots" "these commands can be voted" set sv_vote_only_commands "" set sv_vote_limit 160 "Maximum allowed length of a vote command" set sv_vote_master_commands "movetored movetoblue movetoyellow movetopink movetospec " "Extra commands which vote masters can execute by themselves, along with the normal sv_vote_commands." // maybe add kickban here (but then sv_vote_master 0) diff --git a/xonotic-server.cfg b/xonotic-server.cfg index 9613e7e77..2df57b184 100644 --- a/xonotic-server.cfg +++ b/xonotic-server.cfg @@ -112,6 +112,7 @@ set bot_usemodelnames 0 "Use player model names for bot names" set bot_nofire 0 "When set, bots never fire. Mainly for testing in g_waypointeditor mode" set bot_prefix [BOT] "Prefix in front of the bot names" set bot_suffix "" "Suffix behind the bot names" +set skill 1337 set skill_auto 0 "when 1, \"skill\" gets adjusted to match the best player on the map" set bot_debug_tracewalk 0 "Enable visual indicators for short-term navigation. Green: Goal Reached / Yellow: Obstacle found / Red: Unsolvable obstacle found" set bot_debug_goalstack 0 "Visualize the current path that each bot is following. Use with as few bots as possible."