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.

109 lines
4.9 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^xf00All modes except CTS have a warmup stage. Ready up if you are.\n\n^xfffDo ^xf00NOT^xfff vote for Aquanica (DM map) if you haven't downloaded it from the thread already."
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
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"\"
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;"
// 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 "Deathmatch (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 "exec physicsX.cfg; exec balance-xpm.cfg; g_norecoil 1; g_shootfromeye 1; g_spawnshieldtime 0; g_powerups 0; addvote +duel; addvote -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 "exec balance-xpm.cfg; exec xperimental-balance.cfg; g_norecoil 1; g_shootfromeye 1; g_spawnshieldtime 0; g_powerups 0; sv_autodemo_perclient 1; addvote +duel; addvote -duel;"
6 years ago
//-----------------------------------------------
// Gametype Voting
//-----------------------------------------------
sv_vote_gametype 1
sv_vote_gametype_options "dm tdm ctf ca ft lms kh cts ka xpmdm kdm"