From: MirceaKitsune Date: Mon, 13 Sep 2010 15:52:06 +0000 (+0300) Subject: Cvars for that last change X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=175acd572fc03287b77d84f2d928200803c3bae7;p=voretournament%2Fvoretournament.git Cvars for that last change --- diff --git a/data/defaultVoretournament.cfg b/data/defaultVoretournament.cfg index 48d76561..5f14380c 100644 --- a/data/defaultVoretournament.cfg +++ b/data/defaultVoretournament.cfg @@ -1434,6 +1434,8 @@ set g_mapinfo_settemp_acl "+*" "ACL for mapinfo setting cvars" // hooks alias _cl_hook_gamestart "set _cl_hook_gametype $1; _cl_hook_gamestart_stage2" alias _cl_hook_gamestart_stage2 "cl_hook_gamestart_all; cl_hook_gamestart_${_cl_hook_gametype}" +alias _cl_hook_campaign_gamestart "set _cl_hook_gametype $1; _cl_hook_campaign_gamestart_stage2" +alias _cl_hook_campaign_gamestart_stage2 "cl_hook_gamestart_all; cl_hook_gamestart_${_cl_hook_gametype}" alias cl_hook_gamestart_all alias cl_hook_gamestart_nop //is only called when CSQC unloads before knowing the gametype, very unlikely alias cl_hook_gamestart_dm @@ -1450,9 +1452,12 @@ alias cl_hook_gamestart_rc alias cl_hook_gamestart_cts alias cl_hook_gamestart_rpg alias cl_hook_gameend +alias cl_hook_campaign_gameend alias _sv_hook_gamestart "set _sv_hook_gametype $1; _sv_hook_gamestart_stage2" alias _sv_hook_gamestart_stage2 "sv_hook_gamestart_all; sv_hook_gamestart_${_sv_hook_gametype}" +alias _sv_hook_campaign_gamestart "set _sv_hook_gametype $1; _sv_hook_campaign_gamestart_stage2" +alias _sv_hook_campaign_gamestart_stage2 "sv_hook_gamestart_all; sv_hook_gamestart_${_sv_hook_gametype}" alias sv_hook_gamestart_all alias sv_hook_gamestart_dm alias sv_hook_gamestart_tdm @@ -1469,6 +1474,7 @@ alias sv_hook_gamestart_cts alias sv_hook_gamestart_rpg alias sv_hook_gamerestart alias sv_hook_gameend +alias sv_hook_campaign_gameend seta cl_casings_maxcount 100 "maximum amount of shell casings (must be at least 1)" seta cl_gibs_maxcount 100 "maximum amount of gibs (must be at least 1)"