]> icculus.org git repositories - divverent/nexuiz.git/blob - Docs/eventlog.txt
changed g_minstagib_invis_alpha <= 0 to use EF_NODRAW & added restart event to eventl...
[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    :restart\r
43    :end\r
44    :gameover\r
45 \r
46    Note that only the :join and :player lines ever contain player names.\r
47 \r
48 team colors:\r
49     1 = No Team (Domination)\r
50     5 = Red Team\r
51    14 = Blue Team\r
52    10 = Pink Team\r
53    13 = Yellow Team\r
54 \r
55 itemstring:\r
56    <weaponid><flags>\r
57    or\r
58    <weaponid><flags>|<runes>\r
59 \r
60    where flags can contain:\r
61          F = player carries the flag\r
62          S = player has strength\r
63          I = player has the shield\r
64          T = player is typing (console, menu or chat)\r
65    \r
66    and weapon IDs are:\r
67          1 = Shotgun\r
68          2 = Uzi\r
69          4 = Mortar\r
70          8 = Electro\r
71         16 = Crylink\r
72         32 = Nex\r
73         64 = Hagar\r
74        128 = Rocket Launcher\r
75       4096 = Laser\r
76 \r
77    runes/curses are stored as a bit mask with the following values:\r
78          1 = Strength\r
79          2 = Defense\r
80          4 = Regeneration\r
81          8 = Speed\r
82         16 = Vampire\r
83       8192 = Weakness\r
84      16384 = Vulnerability\r
85      32768 = Venom\r
86      65536 = Slow\r
87     131072 = Empathy\r
88 \r
89 death type:\r
90    either a weapon ID (see above), or one of:\r
91      10000 = fallen to death\r
92      10001 = telefragged\r
93      10002 = drowned\r
94      10003 = killed by a trap / fallen into the void\r
95      10004 = lava\r
96      10005 = slime\r
97      10006 = console kill\r
98      10007 = (MinstaGib) out of ammo\r
99      10008 = swamp\r
100      10009 = team change\r
101      10010 = auto team change\r
102      10011 = camping protection\r
103          10012 = player became too fast (should never happen)\r
104 \r
105 There will be a log analyzer parsing this file format soon. Note that weapon\r
106 IDs are below 10000.\r