// 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
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
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