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