Browse Source

Fixed duel vcall unavailability after reinitialization

tags/radcorp2018
4 years ago
parent
commit
e5552a1e95
1 changed files with 11 additions and 9 deletions
  1. 11
    9
      server.cfg

+ 11
- 9
server.cfg View File

@@ -29,6 +29,12 @@ g_maplist ""
g_maplist_votable 9
g_maplist_shuffle 1

//-----------------------------------------------
// vcall: Duel
//-----------------------------------------------
alias +duel "set g_maxplayers 2"
alias -duel "set g_maxplayers 0"

//-----------------------------------------------
// Game Type & Per-Type Configurations
//-----------------------------------------------
@@ -74,21 +80,17 @@ alias sv_vote_gametype_hook_cts "exec physicsXDF.cfg; exec bal-wep-xdf.cfg; sv_d
alias sv_vote_gametype_hook_ft "g_powerups 0"
alias sv_vote_gametype_hook_ca "cagt_vote"

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

//-----------------------------------------------
// Xonotic Pro Mode Deathmatch
//-----------------------------------------------
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."
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"

//-----------------------------------------------
// vcall: Duel
//-----------------------------------------------
alias +duel "set g_maxplayers 2"
addvote +duel
alias -duel "set g_maxplayers 0"
addvote -duel
// 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;"

//-----------------------------------------------
// Gametype Voting

Loading…
Cancel
Save