]> icculus.org git repositories - divverent/nexuiz.git/blob - Docs/spamlog.txt
sv_logspam_console now logs domination, too.
[divverent/nexuiz.git] / Docs / spamlog.txt
1 cvars:
2 ______________
3
4    sv_logspam_console   print frags, scores and captures to serverconsole during the match (default: 0, set to 1 to enable)
5    sv_logscores_bots    choose whether bot are included in stats or not (default: 0)
6    log_file             where the console log shall go (if unset, standard output is still used)
7
8 log format:
9 ______________
10
11    :gamestart:<gametype>_<mapname>
12    :join:<ID>:<nickname>
13    :part:<ID>
14    :team:<ID>:<team>
15    :kill:frag:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>
16    :kill:tk:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>
17    :kill:suicide:<ID>:<ID>:type=<death type>:items=<itemstring>
18    :kill:accident:<ID>:<ID>:type=<death type>:items=<itemstring>
19    :ctf:steal:<flagcolor>:<ID of attacker>
20    :ctf:dropped:<flagcolor>:<ID of dropper>
21    :ctf:pickup:<flagcolor>:<ID of attacker>
22    :ctf:capture:<flagcolor>:<ID of attacker>
23    :ctf:return:<flagcolor>:<ID of defender>
24    :ctf:returned:<flagcolor>
25    :dom:taken:<previouscolor>:<ID of player>
26    :scores:<gametype>_<mapname>:<map runtime>
27    :player:<frags>:<deaths>:<playtime>:<team>:<ID>:<nickname>
28    :end
29    :gameover
30
31    Note that only the :join and :player lines ever contain player names.
32
33 team colors:
34     1 = No Team (Domination)
35     5 = Red Team
36    14 = Blue Team
37    10 = Pink Team
38    13 = Yellow Team
39
40 itemstring:
41    <weaponid><flags>
42
43    where flags can contain:
44          F = player carries the flag
45          S = player has strength
46          I = player has the shield
47    
48    and weapon IDs are:
49          1 = Shotgun
50          2 = Uzi
51          4 = Mortar
52          8 = Electro
53         16 = Crylink
54         32 = Nex
55         64 = Hagar
56        128 = Rocket Launcher
57       4096 = Laser
58
59 death type:
60    either a weapon ID (see above), or one of:
61      10000 = fallen to death
62      10001 = telefragged
63      10002 = drowned
64      10003 = killed by a trap / fallen into the void
65      10004 = lava
66      10005 = slime
67      10006 = console kill
68      10007 = (MinstaGib) out of ammo
69      10008 = swamp
70      10009 = team change
71      10010 = auto team change
72      10011 = camping protection
73
74 There will be a log analyzer parsing this file format soon. Note that weapon
75 IDs are below 10000.