]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Cvars for that last change
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 13 Sep 2010 15:52:06 +0000 (18:52 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Mon, 13 Sep 2010 15:52:06 +0000 (18:52 +0300)
data/defaultVoretournament.cfg

index 48d76561e6bbaadde18d187ad7ea1ec472dd73fd..5f14380c7793c345c0d8f27ed5269771d862664d 100644 (file)
@@ -1434,6 +1434,8 @@ set g_mapinfo_settemp_acl "+*" "ACL for mapinfo setting cvars"
 // hooks\r
 alias _cl_hook_gamestart "set _cl_hook_gametype $1; _cl_hook_gamestart_stage2"\r
 alias _cl_hook_gamestart_stage2 "cl_hook_gamestart_all; cl_hook_gamestart_${_cl_hook_gametype}"\r
+alias _cl_hook_campaign_gamestart "set _cl_hook_gametype $1; _cl_hook_campaign_gamestart_stage2"\r
+alias _cl_hook_campaign_gamestart_stage2 "cl_hook_gamestart_all; cl_hook_gamestart_${_cl_hook_gametype}"\r
 alias cl_hook_gamestart_all\r
 alias cl_hook_gamestart_nop  //is only called when CSQC unloads before knowing the gametype, very unlikely\r
 alias cl_hook_gamestart_dm\r
@@ -1450,9 +1452,12 @@ alias cl_hook_gamestart_rc
 alias cl_hook_gamestart_cts\r
 alias cl_hook_gamestart_rpg\r
 alias cl_hook_gameend\r
+alias cl_hook_campaign_gameend\r
 \r
 alias _sv_hook_gamestart "set _sv_hook_gametype $1; _sv_hook_gamestart_stage2"\r
 alias _sv_hook_gamestart_stage2 "sv_hook_gamestart_all; sv_hook_gamestart_${_sv_hook_gametype}"\r
+alias _sv_hook_campaign_gamestart "set _sv_hook_gametype $1; _sv_hook_campaign_gamestart_stage2"\r
+alias _sv_hook_campaign_gamestart_stage2 "sv_hook_gamestart_all; sv_hook_gamestart_${_sv_hook_gametype}"\r
 alias sv_hook_gamestart_all\r
 alias sv_hook_gamestart_dm\r
 alias sv_hook_gamestart_tdm\r
@@ -1469,6 +1474,7 @@ alias sv_hook_gamestart_cts
 alias sv_hook_gamestart_rpg\r
 alias sv_hook_gamerestart\r
 alias sv_hook_gameend\r
+alias sv_hook_campaign_gameend\r
 \r
 seta cl_casings_maxcount 100 "maximum amount of shell casings (must be at least 1)"\r
 seta cl_gibs_maxcount 100 "maximum amount of gibs (must be at least 1)"\r