Browse Source

Reconfigured for XDF weapon balance, proper collision (un)set, and conveniences

4 years ago
1 changed files with 17 additions and 4 deletions
  1. 17

+ 17
- 4
server.cfg View File

@@ -98,12 +98,25 @@ gametype dm
// Game type related changes related to CTS

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

//for cts have defrag physics, all others get vanilla.
alias sv_vote_gametype_hook_all "exec physicsX.cfg"
alias sv_vote_gametype_hook_cts "exec physicsXDF.cfg"
// Fall damage and weapon self damage disabled
g_cts_selfdamage 0

// Kill players more timely after they finished.
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.

// 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; g_playerclip_collisions 1; g_balance_kill_antispam 1; g_start_delay 15; "
alias sv_vote_gametype_hook_cts "exec physicsXDF.cfg; bal-wep-xdf.cfg; g_playerclip_collisions 0; g_balance_kill_antispam 0; g_start_delay 3;"