Browse Source

Added XPM DM vote option and warmup phase

tags/radcorp2018
4 years ago
parent
commit
179d37c2be
1 changed files with 14 additions and 9 deletions
  1. 14
    9
      server.cfg

+ 14
- 9
server.cfg View File

@@ -21,7 +21,7 @@ sv_status_privacy 1
hostname "/v/ Xonotic Server (NA Pacific, $g_xonoticversion)"

// this message (unless "") is displayed to players on connect
sv_motd "Welcome.\nCheck for Xonotic threads on /v/ for playing times and upcoming events.\nPolling for scheduled weekend playing times begins on Wednesdays."
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."

// number of players allowed on the server
maxplayers 16
@@ -95,6 +95,7 @@ g_maplist_shuffle 1
// nexball (nexball)
gametype dm

g_warmup_majority_factor 0.5
//-----------------------------------------------
// Game type related changes per mode.

@@ -115,28 +116,32 @@ g_cts_selfdamage 0
// Kill players more timely after they finished.
g_cts_finish_kill_delay 2

alias sv_defaultXon "g_playerclip_collisions 1; g_balance_kill_antispam 1; g_start_delay 15; g_powerups -1"
alias sv_defaultXDF "g_playerclip_collisions 0; g_balance_kill_antispam 0; g_start_delay 3; g_powerups 0; sv_friction_slick 0"
// 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 1; g_start_delay 15; g_powerups -1; g_warmup 1; g_norecoil 0; g_shootfromeye 0; g_spawnshieldtime 1;"
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;"

// 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
// (and no it's not defaultXonotic.cfg).

// 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_vote_gametype_hook_all "exec physicsX.cfg; bal-wep-xonotic.cfg; sv_defaultXon; allgt_vote"
alias sv_vote_gametype_hook_cts "exec physicsXDF.cfg; bal-wep-xdf.cfg; sv_defaultXDF"
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"
//-----------------------------------------------

set sv_vote_gametype_xpmdm_type dm
set sv_vote_gametype_xpmdm_name "Deathmatch (XPM)"
set sv_vote_gametype_xpmdm_description "Deathmatch with Pro Mode configurations and rules. (Testing - need feedback)"
alias sv_vote_gametype_hook_xpmdm "exec physicsX.cfg; exec balance-xpm.cfg; g_norecoil 1; g_shootfromeye 1; g_spawnshieldtime 0;"
//-----------------------------------------------
sv_vote_gametype 1

//add any game types here, separated by <space>
sv_vote_gametype_options "dm tdm ctf ca ft lms kh cts race ons"
sv_vote_gametype_options "dm tdm ctf ca ft lms kh cts ka xpmdm"

/////////////////////////////////////////////////////////////////////
// Some settings you MIGHT want to change. Again IF so remove the //

Loading…
Cancel
Save