CTF Showdown 1.16 based on
QuakeWorld Duel Server Mod 1.8-2.0 by Fang^FAQ^ - Topi Paavola - tjp@cc.jyu.fi

NOTES
=====
This documentation is only a modification of Fang's original documentation
since many of the features are the same, (and the fact that it was a very
well written doc).
The file compile.txt is taken directly from the qwduel20.zip archive.

FEATURES
========
This patch simplifies fights: it resets your items and frags
at start, keeps track of time and offers lots of useful options, all
selectable by players:

- Night mode. No light in the map except for some fluorescent
  lights, water, slime and lava. You get a flashlight and flares.
  (Inspired by Midnight CTF)
- Powerups (quad, pentagram, ring) can be disabled.
- Runes, runedrop and grappling hook can be enabled/disabled.
- Fair start: both players get a grenade launcher and 100 green armor
  when they respawn for the first time.
- Timelimit, fraglimit and map selection.
- Automatic respawn after five seconds.


The code tries to detect if one of the players is missing and stops
the duel; however, zombie players (dropped but not yet timed out) can
cause some delays. The fight can always be stopped with "break".

INSTALLATION
============
Unzip the patch to a directory called, for example, "showdown" and start the
server with "qwsv +gamedir showdown".
The maxclients you set is the highest number of participators in a fight.
A sample server.cfg is included in the package. The default match duration
comes from the "timelimit" console variable. QuakeC notes: If you want to
change the MOTD (message of the day), see the MOTDThink() function in motd.qc.
Changes to id code made by fang are marked with "DUEL" -comments. Changes to 
fang's code are marked with "TAR"-comments.
The code is based on QW 2.00-2.01, and makes use of the M4 macro processor;
see compile.txt for more information.

Server admins can add special maps to the big list in maps.qc and the
MAPSTEXT macro in commands.qc.

The following serverinfo keys can be set to 1 or 0 to enable or
disable the corresponding option:

p       Powerups
f       Fair start
dq      Quad dropping
dr      Ring dropping
du      Rune dropping
players Number of players in a fight

The teamplay variable contains various flags. The grappling hook is mask
2048 and the runes are at 4096.

The patch updates the "status" serverinfo key to say "Standby",
"Countdown" or "x min left" and writes the duel results to console
log.

COMMANDS
========
Here are the commands available to players:

commands        Show this short list of commands.
options         Show the rest of the options.
ctfopt          Show the CTF related options.
ready           Type this when you are ready to start. The duel begins
                after both players type this command.
break           Stops the countdown or duel.
status          Shows the duel settings.
maps            Show which special maps are available.

The following commands can only be used before a duel begins:

powerup         Toggles availability of Quads, Pentagrams and Rings.
dropquad        If this is on, a player will drop the quad when he is
                killed. The quad can be picked up for the remaining
                time.
dropring        Same thing for rings.
fairstart       Gives grenade launcher, 5 rockets and 100 green armor at
                first respawn when enabled.
dm              Changes deathmatch mode (1 - 5).
lights          Switches map lighting on or off; if off, enables the
                "flashlight" and "flare" commands (bind them to a key)
timedown        Subtracts five minutes from timelimit.
timeup          Adds five minutes to timelimit.
fragsdown       Subtracts five from the fraglimit.
fragsup         Adds five to the fraglimit.
playup          Adds a player slot to the game.
playdown        Removes a player slot from the game.
droprune        Toggles droprune. Impulse 24 or alias "drop" drops a rune.
grapple         Toggles grappling hook.
runes           Toggles runes.


Also, players can change the map by typing the map name - for example,
"dm4" or "e1m1".

COPYRIGHT AND PERMISSIONS
=========================
Basically, do whatever you want with this code as long as you keep
your modifications public and *don't* charge money for it. If you
euse this in a public server, please mention me and Fang somewhere.

DOWNLOAD
========
The CTF Showdown patch is available at

WWW: http:/bt.ml.org/dnload.html

The QW Duel patch is available at

FTP: ftp.cdrom.com:/packages/idgames2/quakec/deathmatch/
WWW: http://www.quake.jyu.fi/archive/duel.html

Bugreports about Showdown are sent to mlq@df.lth.se
