]> icculus.org git repositories - divverent/nexuiz.git/blob - Docs/eventlog.txt
fixed map list position off-by-one
[divverent/nexuiz.git] / Docs / eventlog.txt
1 cvars:\r
2 ______________\r
3 \r
4    sv_eventlog                    master switch (default: 0)\r
5    sv_eventlog_files              print frags, scores and captures for separate files each match (default: 0)\r
6    sv_eventlog_console            print frags, scores and captures to serverconsole during the match (default: 1)\r
7    sv_logscores_bots              choose whether bot are included in stats or not (default: 0)\r
8                                 \r
9    sv_eventlog_files_counter      number of matches logged until now\r
10    sv_eventlog_files_nameprefix   file name prefix to be used (default: nexuiz)\r
11    sv_eventlog_files_namesuffix   file name extension to be used (default: .log)\r
12 \r
13 log format:\r
14 ______________\r
15 \r
16    :logversion:2\r
17    :gamestart:<gametype>_<mapname>:<matchid>\r
18    :gameinfo:mutators:LIST:mutator1:mutator2:...\r
19 \r
20       (note that mutators are listed by their cvar name with g_ removed,\r
21       unless such a cvar is 1 by default - then the mutator is listed with\r
22       a no_ prefix if the cvar is 0)\r
23 \r
24    :gameinfo:end\r
25    :join:<ID>:player:<nickname>\r
26    :join:<ID>:bot:<nickname>\r
27    :part:<ID>\r
28    :team:<ID>:<team>\r
29    :kill:frag:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>\r
30    :kill:tk:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>\r
31    :kill:suicide:<ID>:<ID>:type=<death type>:items=<itemstring>\r
32    :kill:accident:<ID>:<ID>:type=<death type>:items=<itemstring>\r
33    :ctf:steal:<flagcolor>:<ID of attacker>\r
34    :ctf:dropped:<flagcolor>:<ID of dropper>\r
35    :ctf:pickup:<flagcolor>:<ID of attacker>\r
36    :ctf:capture:<flagcolor>:<ID of attacker>\r
37    :ctf:return:<flagcolor>:<ID of defender>\r
38    :ctf:returned:<flagcolor>\r
39    :dom:taken:<previouscolor>:<ID of player>\r
40    :scores:<gametype>_<mapname>:<map runtime>\r
41    :player:<frags>:<deaths>:<playtime>:<team>:<ID>:<nickname>\r
42    :end\r
43    :gameover\r
44 \r
45    Note that only the :join and :player lines ever contain player names.\r
46 \r
47 team colors:\r
48     1 = No Team (Domination)\r
49     5 = Red Team\r
50    14 = Blue Team\r
51    10 = Pink Team\r
52    13 = Yellow Team\r
53 \r
54 itemstring:\r
55    <weaponid><flags>\r
56    or\r
57    <weaponid><flags>|<runes>\r
58 \r
59    where flags can contain:\r
60          F = player carries the flag\r
61          S = player has strength\r
62          I = player has the shield\r
63          T = player is typing (console, menu or chat)\r
64    \r
65    and weapon IDs are:\r
66          1 = Shotgun\r
67          2 = Uzi\r
68          4 = Mortar\r
69          8 = Electro\r
70         16 = Crylink\r
71         32 = Nex\r
72         64 = Hagar\r
73        128 = Rocket Launcher\r
74       4096 = Laser\r
75 \r
76    runes/curses are stored as a bit mask with the following values:\r
77          1 = Strength\r
78          2 = Defense\r
79          4 = Regeneration\r
80          8 = Speed\r
81         16 = Vampire\r
82       8192 = Weakness\r
83      16384 = Vulnerability\r
84      32768 = Venom\r
85      65536 = Slow\r
86     131072 = Empathy\r
87 \r
88 death type:\r
89    either a weapon ID (see above), or one of:\r
90      10000 = fallen to death\r
91      10001 = telefragged\r
92      10002 = drowned\r
93      10003 = killed by a trap / fallen into the void\r
94      10004 = lava\r
95      10005 = slime\r
96      10006 = console kill\r
97      10007 = (MinstaGib) out of ammo\r
98      10008 = swamp\r
99      10009 = team change\r
100      10010 = auto team change\r
101      10011 = camping protection\r
102          10012 = player became too fast (should never happen)\r
103 \r
104 There will be a log analyzer parsing this file format soon. Note that weapon\r
105 IDs are below 10000.\r