Browse Source

Condensed mode vote menu & bot vcall spawns amount corresponding to g_maxplayers

tags/radcorp2018
2 years ago
parent
commit
70420373b9
2 changed files with 12 additions and 12 deletions
  1. 10
    10
      server.cfg
  2. 2
    2
      sv_bots.cfg

+ 10
- 10
server.cfg View File

@@ -14,8 +14,7 @@ g_chat_flood_burst 15
alias +motd "exec sv_motd.cfg"
+motd

//sv_curl_defaulturl "http://dl.xonotic.co/"
sv_curl_defaulturl "http://98.176.82.170:15000/"
sv_curl_defaulturl "http://dl.xonotic.co/"

sv_adminnick "server"

@@ -44,8 +43,8 @@ g_maplist_mostrecent_count 0
//-----------------------------------------------
// vcall: Duel
//-----------------------------------------------
alias +duel "set g_maxplayers 2; +motd"
alias -duel "set g_maxplayers 0; -motd"
alias +duel "settemp set g_maxplayers 2; +motd"
alias -duel "settemp set g_maxplayers 0; -motd"

//-----------------------------------------------
// vcall: Komier Weapons
@@ -56,8 +55,8 @@ alias -komier-weapons "exec bal-wep-xonotic.cfg"
//-----------------------------------------------
// vcall: Smilecythe Physics
//-----------------------------------------------
alias +smile-physics "exec physicsXPM2.cfg"
alias -smile-physics "exec physicsX.cfg"
alias +smile-physics "exec physicsXPM2.cfg"
alias -smile-physics "exec physicsX.cfg"

//-----------------------------------------------
// vcall: XPM
@@ -68,7 +67,7 @@ alias +xpm "sv_xpm; restart"
// vcall: Server Bots
//-----------------------------------------------
alias +bots "exec sv_bots.cfg"
alias -bots "minplayers 0"
alias -bots "settemp minplayers 0"

//-----------------------------------------------
// Game Type & Per-Type Configurations
@@ -136,8 +135,8 @@ alias sv_vote_gametype_hook_kdm "sv_xpm; +komier-weapons;"
//-----------------------------------------------
set sv_vote_gametype_stdm_type tdm
set sv_vote_gametype_stdm_name "TDM (XPM)"
set sv_vote_gametype_stdm_description "15 minute 2v2 TDM with a lead limit of 40."
alias sv_vote_gametype_hook_stdm "sv_xpm; g_powerups -1; g_maxplayers 4; timelimit_override 15; g_tdm_point_limit 0; g_tdm_point_leadlimit 40; timelimit_overtimes -1"
set sv_vote_gametype_stdm_description "15 minute Team Deathmatch with a lead limit of 40."
alias sv_vote_gametype_hook_stdm "sv_xpm; g_powerups -1; timelimit_override 15; g_tdm_point_limit 0; g_tdm_point_leadlimit 40; timelimit_overtimes -1"

//-----------------------------------------------
// Race CTS: Slick (XDF)
@@ -154,9 +153,10 @@ set sv_vote_gametype_xpmctf_type ctf
set sv_vote_gametype_xpmctf_name "CTF (XPM)"
set sv_vote_gametype_xpmctf_description "CTF with XPM rules and removed speed limit."
alias sv_vote_gametype_hook_xpmctf "sv_xpm; +smile-physics; timelimit_override 20"

//-----------------------------------------------
// Gametype Voting
//-----------------------------------------------

sv_vote_gametype 1
sv_vote_gametype_options "dm xpmdm kdm tdm ctf xpmctf cts ca ft ka stdm duel"
sv_vote_gametype_options "stdm xpmctf duel tdm ctf cts ft ka dm"

+ 2
- 2
sv_bots.cfg View File

@@ -6,8 +6,8 @@

exec cpp.cfg

#ifeq "$g_maxplayers" 2
# minplayers 2
#ifneq "$g_maxplayers" 0
# minplayers $g_maxplayers
#else
#ifneq "$teamplay" 0
# minplayers 6

Loading…
Cancel
Save