Server configuration files for the game Xonotic. Feat. multiple game modes and balance conventions each.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123 lines
5.6 KiB

6 years ago
// This file stores only the rcon password.
exec rconpw.cfg
6 years ago
// Dumb thing keeps taking this from my client config file.
music_playlist_list0 ""
music_playlist_random0 ""
6 years ago
//-----------------------------------------------
// Server Specific
//-----------------------------------------------
hostname "/v/ Xonotic Server (NA Pacific, $g_xonoticversion)"
sv_motd "Welcome.\nCheck for Xonotic threads on /v/ for playing times and upcoming events.\nPolling for scheduled weekend playing times begins on Wednesdays.\n\n^xfffDo ^xf00NOT^xfff vote for Aquanica (DM map) if you haven't downloaded it from the thread already.\n\n\n^x3eeTo new players: \n^x3eeRace CTS is a common waiting game. Communicate your vote choices as others may pick Race CTS over gimmicky modes (e.g Keepaway, Last Man Standing, Freeze Tag).\n\n^xe80Maps for October Duel Ladder: Aerowalk, Mint, Warfare"
6 years ago
sv_curl_defaulturl "http://98.176.140.2:15000/"
//sv_curl_defaulturl "http://dl.xonotic.co/"
6 years ago
sv_public 1
sv_status_privacy 1
log_file ""
6 years ago
sv_vote_call 1
maxplayers 16
6 years ago
//-----------------------------------------------
// Maps and Map Voting
//-----------------------------------------------
g_maplist ""
g_maplist_votable 9
g_maplist_shuffle 1
g_maplist_votable_nodetail 0
6 years ago
//-----------------------------------------------
// vcall: Duel
//-----------------------------------------------
alias +duel "set g_maxplayers 2"
alias -duel "set g_maxplayers 0"
6 years ago
//-----------------------------------------------
// Game Type & Per-Type Configurations
//-----------------------------------------------
gametype dm
alias allgt_vote "sv_vote_commands \"restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto shuffleteams movetospec"\"
alias cagt_vote "sv_vote_commands \"restart fraglimit chmap gotomap nextmap endmatch reducematchtime extendmatchtime allready kick cointoss movetoauto"\"
6 years ago
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
// Kill players more timely after they finished.
//g_cts_finish_kill_delay 2
6 years ago
// Fall damage and weapon self damage disabled
//g_cts_selfdamage 0
6 years ago
6 years ago
// Server packages- q3 compatibility is really only an issue for CTS maps.
// Other game modes don't have major issues.
// csprogs will be outdated per server update.
// this really didn't work.
//sv_curl_serverpackages_auto 0
//alias sv_stdpkg "csprogs-xonotic-v0.8.1.2520-g06ab161~.txt"
//alias sv_ctspkg "csprogs-xonotic-v0.8.1.2520-g06ab161~.txt q3-xonotic_compatpack_v1.pk3.serverpackage"
// g_playerclip_collisions are turned off for CTS because some mappers were
// putting invisible walls at the spawn and blocking the map from being finishable.
alias sv_defaultXon "g_playerclip_collisions 1; g_balance_kill_antispam 5; g_start_delay 15; g_powerups -1; g_warmup 1; g_norecoil 0; g_shootfromeye 0; g_spawnshieldtime 1; g_cts_selfdamage 1; g_cts_finish_kill_delay 10; set g_maxplayers 0; sv_autodemo_perclient 0;"
6 years ago
alias sv_defaultXDF "g_playerclip_collisions 0; g_balance_kill_antispam 0; g_start_delay 3; g_powerups 0; g_warmup 0; sv_friction_slick 0; g_cts_selfdamage 0; g_cts_finish_kill_delay 2;"
alias sv_defaultXPM "exec balance-xpm.cfg; g_norecoil 1; g_shootfromeye 1; g_spawnshieldtime 0; g_powerups 0; addvote +duel; addvote -duel;"
// For cts have defrag physics, all others get vanilla,
// Essentially set things for defrag and then unset for everything else.
// Note: it is possible to "exec defaultXDF.cfg, but it's not clear what file would unset defrag
6 years ago
// (and it's not defaultXonotic.cfg).
alias sv_vote_gametype_hook_all "exec physicsX.cfg; exec balance-xonotic.cfg; sv_defaultXon; allgt_vote"
alias sv_vote_gametype_hook_cts "exec physicsXDF.cfg; exec bal-wep-xdf.cfg; sv_defaultXDF"
// Disable powerups because in FT it becomes a matter of which team has spawned near Strength.
alias sv_vote_gametype_hook_ft "g_powerups 0"
alias sv_vote_gametype_hook_ca "cagt_vote"
6 years ago
// Permit duel vcalls for Deathmatch only.
alias sv_vote_gametype_hook_dm "addvote +duel; addvote -duel"
6 years ago
//-----------------------------------------------
// Xonotic Pro Mode Deathmatch
//-----------------------------------------------
set sv_vote_gametype_xpmdm_type dm
set sv_vote_gametype_xpmdm_name "DM (XPM)"
6 years ago
set sv_vote_gametype_xpmdm_description "Deathmatch with Pro Mode configurations and rules."
// Gametype hook does not inherit from DM.
alias sv_vote_gametype_hook_xpmdm "sv_defaultXPM;"
//-----------------------------------------------
// Xonotic Pro Mode Duel
//-----------------------------------------------
set sv_vote_gametype_duel_type dm
set sv_vote_gametype_duel_name "Duel (XPM)"
set sv_vote_gametype_duel_description "One on one match."
// Gametype hook does not inherit from DM.
// Standard Xonotic physics is reset automatically on game mode vote.
alias sv_vote_gametype_hook_duel "sv_defaultXPM; +duel;"
6 years ago
//-----------------------------------------------
// Komier's Experimental Balance
//-----------------------------------------------
set sv_vote_gametype_kdm_type dm
set sv_vote_gametype_kdm_name "Experimental DM"
set sv_vote_gametype_kdm_description "Adjusted weapon balance. Uses XPM rules."
alias sv_vote_gametype_hook_kdm "sv_defaultXPM; exec xperimental-balance.cfg; sv_autodemo_perclient 1;"
6 years ago
//-----------------------------------------------
// 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 lms kh ka duel"