]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blob - gamemodes-client.cfg
waypoint_getSymmetricalOrigin --> waypoint_getSymmetricalPoint
[xonotic/xonotic-data.pk3dir.git] / gamemodes-client.cfg
1 // say aliases
2 alias asay_ctf_flagcarrier "say_team flag carrier at %y"
3 alias asay_ctf_haveflag "say_team (%l) have the flag"
4 alias asay_willgo "say_team will go to %y"
5 alias asay_support "say_team (%l) need help, %h%%"
6 alias asay_killed "say_team got killed at %d"
7 alias asay_noammo "say_team (%l) need %W for %w"
8 alias asay_drop "say_team (%l) dropped %w ; impulse 17"
9
10 // =================
11 //  gamestart hooks
12 // =================
13
14 seta cl_matchcount 0 // incremented by cl_hook_gameend and used by playerstats to know when to
15 alias _cl_hook_gamestart "set _cl_hook_gametype $1; _cl_hook_gamestart_stage2"
16 alias _cl_hook_gamestart_stage2 "cl_hook_gamestart_all; cl_hook_gamestart_${_cl_hook_gametype}"
17 alias cl_hook_gamestart_all
18 alias cl_hook_gamestart_nop  //is only called when CSQC unloads before knowing the gametype, very unlikely
19 alias cl_hook_gamestart_dm
20 alias cl_hook_gamestart_tdm
21 alias cl_hook_gamestart_dom
22 alias cl_hook_gamestart_ctf
23 alias cl_hook_gamestart_lms
24 alias cl_hook_gamestart_ca
25 alias cl_hook_gamestart_kh
26 alias cl_hook_gamestart_ons
27 alias cl_hook_gamestart_as
28 alias cl_hook_gamestart_rc
29 alias cl_hook_gamestart_nb
30 alias cl_hook_gamestart_cts
31 alias cl_hook_gamestart_ka
32 alias cl_hook_gamestart_ft
33 alias cl_hook_gamestart_inv
34 alias cl_hook_gameend "rpn /cl_matchcount dup load 1 + =" // increase match count every time a game ends
35 alias cl_hook_shutdown
36 alias cl_hook_activeweapon