]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
add bots and nobots votes
authorMartin Taibr <taibr.martin@gmail.com>
Thu, 1 Aug 2019 07:57:15 +0000 (09:57 +0200)
committerMartin Taibr <taibr.martin@gmail.com>
Thu, 1 Aug 2019 07:57:15 +0000 (09:57 +0200)
commands.cfg
xonotic-server.cfg

index 798104a68c065d0d5dfd1c9265c02886f06c6237..d126b9b4730af9efc0a59a13cecf9e38e8cc7b5c 100644 (file)
@@ -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)
index 9613e7e773811aa9163de3f1e1365729dba3f30f..2df57b18495954bb5a2850ab411cc3bb03c38074 100644 (file)
@@ -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."