X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=gamemodes-server.cfg;h=cd71ecec0ee51d59ce45d0084598e74dbd826d44;hb=3960e0b3f2b5902a6697efbbca34daf50e2f9d88;hp=60407396e37548aff421c8dbf804088890f51177;hpb=aec48d76571bf181f87137bc2390cbce321127fa;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/gamemodes-server.cfg b/gamemodes-server.cfg index 60407396e..cd71ecec0 100644 --- a/gamemodes-server.cfg +++ b/gamemodes-server.cfg @@ -29,7 +29,9 @@ alias sv_hook_gamestart_ka alias sv_hook_gamestart_ft alias sv_hook_gamestart_inv alias sv_hook_gamestart_duel -alias sv_hook_gamerestart +// there is currently no hook for when the match is restarted +// see sv_hook_readyrestart for previous uses of this hook +//alias sv_hook_gamerestart alias sv_hook_gameend @@ -57,15 +59,16 @@ alias sv_vote_gametype_hook_rc alias sv_vote_gametype_hook_tdm alias sv_vote_gametype_hook_duel -// Example preset to allow 1v1ctf to be used for the gametype voting screen +// Example preset to allow 1v1ctf to be used for the gametype voting screen. +// Aliases can have max 31 chars so the gametype can have max 9 chars. // sv_vote_gametype_*_type Must be set to the name of the gametype the option is based on // sv_vote_gametype_*_name Contains a human-readable name of the gametype // sv_vote_gametype_*_description Contains a longer description //set sv_vote_gametype_1v1ctf_type ctf //set sv_vote_gametype_1v1ctf_name "Capture the Flag Duel" //set sv_vote_gametype_1v1ctf_description "One vs One match in CTF" -//alias sv_vote_gametype_hook_all "set g_maxplayers 0" -//alias sv_vote_gametype_hook_1v1ctf "set g_maxplayers 2" +//alias sv_vote_gametype_hook_all "g_maxplayers 0" +//alias sv_vote_gametype_hook_1v1ctf "g_maxplayers 2" // ===========