]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commit
#woxblox#
authorJakob MG <jakob_mg@hotmail.com>
Tue, 28 Aug 2012 14:20:57 +0000 (16:20 +0200)
committerJakob MG <jakob_mg@hotmail.com>
Tue, 28 Aug 2012 14:20:57 +0000 (16:20 +0200)
commit8950e790a85c96ee87505e94a29995e3b714ee44
tree89ee46a7cde4f426863a1e6baf926ab540db9baa
parent094f95c5aa6cc61313764735127c05e5b17ce45f
#woxblox#
When g_superspectate is enabled (server side) These commands are available to spectator clients:

cmd autospec options:
strength or st: auto-spectate on strength powerup.
shield or sh: auto-spectate on shield powerup.
mega_health or mh: auto-spectate on mega health.
mega_armor or ma: auto-spectate on mega armor.
flag_grab or fg: auto-spectate on CTF flag grab.
observer_only or oo: auto-spectate only if in observer mode.
show_what or sw: Display what event / item triggerd auto-spectate.
item_msg or im: Auto-spectate when item_message in superspec is triggerd.
all or aa: turn everything on/off
clear: Turn everything off

Options can be combines as: cmd autospec clear st ma mh on
This first turns all options off then turns on auto-spectate for strength, mega armor and health.

cmd superspec options:
clear: turn everything off.
silent or si: suppress ALL centerprint messages from super/auto spectate (you still get console ones).
verbose or ve: makes super and auto spectate print some additional information.
item_message or im: makes superspectate print items that was picked up.
See cmd superspec_itemfilter for more info

Options can be combines as: cmd superspec si off ve im on
This first turns off silent then turn on verbose and item messages

cmd superspec_itemfilter options:
\"item_class1 item_class2\" to set up a filter of what to show with item_message (note the \").
clear: Remove the filter
show: Display current filter

cmd followpowerup
Find and spectate a player with a powerup (strength or shield)

cmd followstrength
Find and spectate player with the strength powerup (if any)

cmd followstshield
Find and spectate player with the shield powerup (if any)

cmd followfc [red|blue]
Find and follow a flag carrier, optionally only for read or blue team (if any)

If the spectator client support crypto_idfp, per client settings will be saved/restored server side.
qcsrc/server/cl_client.qc
qcsrc/server/ctf.qc
qcsrc/server/mutators/base.qh
qcsrc/server/mutators/mutator_superspec.qc