Browse Source

Added server bots

tags/radcorp2018
3 years ago
parent
commit
7f3fadbe92
2 changed files with 35 additions and 19 deletions
  1. 21
    19
      server.cfg
  2. 14
    0
      sv_bots.cfg

+ 21
- 19
server.cfg View File

@@ -5,11 +5,12 @@ exec rconpw.cfg
//-----------------------------------------------
// Server Specific
//-----------------------------------------------
hostname "/v/ Xonotic Server (NA Pacific, $g_xonoticversion)"
hostname "/v/ Pacific [Xon/XPM/XDF | Voteable | $g_xonoticversion]"
bot_prefix "^1∞ ^7| "

//^xF6CFebruary
//^x5F5March
//^xFC2April
// ^xF6C = February
// ^x5F5 = March
// ^xFC2 = April
set welcome "\nWelcome to /v/ Xonotic Server, North America Pacific\nCheck for Xonotic threads on /v/ for playing times and upcoming events."
set irc_gate "\n\n\n^xf00IRC Gateway to QuakeNet #xonotic.na is currently ^x3eeactive\n^7Chats on say_team and tell are not sent to IRC."
set cts_lbs "\n\nOnline CTS Leaderboards:\nhttp://98.176.82.106:15000/cgi/cts"
@@ -21,8 +22,8 @@ set mode_desc_2 "None"

alias +motd "sv_motd \"$mode_desc_1 $mode_desc_2 $border $welcome $irc_gate $cts_lbs $duel_maps ""

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

sv_public 1
sv_status_privacy 1
@@ -40,6 +41,7 @@ g_maplist_shuffle 1
g_maplist_votable_nodetail 0
g_maplist_votable_abstain 1
g_maplist_mostrecent_count 0

//-----------------------------------------------
// vcall: Duel
//-----------------------------------------------
@@ -64,13 +66,19 @@ alias -smile-physics "exec physicsX.cfg"
// vcall: XPM
//-----------------------------------------------
alias +xpm "sv_xpm; restart"
addvote +xpm

//-----------------------------------------------
// vcall: Server Bots
//-----------------------------------------------
alias +bots "exec sv_bots.cfg"
alias -bots "minplayers 0"

addvote "+xpm +bots -bots"

//-----------------------------------------------
// Game Type & Per-Type Configurations
//-----------------------------------------------

//gametype dm
sv_vote_nospecatators 1

alias ffa_vote "sv_vote_commands \"restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto shuffleteams movetospec"\"
@@ -79,18 +87,13 @@ alias team_vote "sv_vote_commands \"lockteams unlockteams restart fraglimit chma

g_warmup_majority_factor 0.5

// Disable respawn delay for defragging.
// The timer will show up, but it is disregarded by pressing/holding space.
g_cts_respawn_delay_small -1
g_cts_respawn_delay_large -1

alias sv_nexuiz "exec balance-nexuiz25.cfg; exec physicsNexuiz25.cfg"
alias sv_xon "exec sv_xon.cfg"
alias sv_xdf "exec sv_xdf.cfg"
alias sv_xpm "exec balance-xpm.cfg; exec sv_xpm.cfg; addvote +duel; addvote -duel; addvote +smile-physics; addvote -smile-physics;"
alias sv_xpm "exec balance-xpm.cfg; exec sv_xpm.cfg; addvote +duel -duel +smile-physics -smile-physics;"

alias sv_vote_gametype_hook_all "exec physicsX.cfg; exec balance-xonotic.cfg; sv_xon; ffa_vote; set mode_desc_2 None; +motd""
alias sv_vote_gametype_hook_cts "exec physicsXDF.cfg; exec bal-wep-xdf.cfg; sv_xdf"
alias sv_vote_gametype_hook_cts "exec physicsXDF.cfg; exec balance-xdf.cfg; sv_xdf"
alias sv_vote_gametype_hook_ctf "timelimit_override 20; team_vote"
alias sv_vote_gametype_hook_tdm "timelimit_override 20; team_vote"

@@ -99,7 +102,7 @@ alias sv_vote_gametype_hook_ft "team_vote; g_powerups 0"
alias sv_vote_gametype_hook_ca "team_vote"

// Permit duel vcalls for Deathmatch only.
alias sv_vote_gametype_hook_dm "addvote +duel; addvote -duel"
alias sv_vote_gametype_hook_dm "addvote +duel -duel"

//-----------------------------------------------
// Xonotic Nexuiz
@@ -133,7 +136,7 @@ alias sv_vote_gametype_hook_duel "sv_xpm; +duel; fraglimit_override 0; exec sv_m
//-----------------------------------------------
set sv_vote_gametype_kdm_type dm
set sv_vote_gametype_kdm_name "EDM (XPM)"
set sv_vote_gametype_kdm_description "Removed Hagar spread, Machine Gun reload, and Crylink primary slow."
set sv_vote_gametype_kdm_description "Experimental weapon balance improving viability for weapons outside of Mortar, Vortex, and Devastator."
alias sv_vote_gametype_hook_kdm "sv_xpm; +komier-weapons; sv_autodemo_perclient 1"

//-----------------------------------------------
@@ -162,7 +165,6 @@ alias sv_vote_gametype_hook_xpmctf "sv_xpm; +smile-physics; timelimit_override 2
//-----------------------------------------------
// Gametype Voting
//-----------------------------------------------

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

+ 14
- 0
sv_bots.cfg View File

@@ -0,0 +1,14 @@
// sv_bots.cfg

// enable 2 bots for duel
// but enable 6 bots for every other mode.
// 6 bots = decently populated FFA
// and reasonable fill in for CTF.

exec cpp.cfg

#ifeq "$g_maxplayers" 2
# minplayers 2
#else
# minplayers 6
endif

Loading…
Cancel
Save