QuakeWorld Duel Server Mod 2.0 by Fang^FAQ^ - Topi Paavola - tjp@cc.jyu.fi

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

- Night Duel 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.
- 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, "duel" and start the
server with "qwsv +gamedir duel". A duel server must be run with
maxclients=2 and maxspectators as high as you like. 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 are marked with "DUEL" -comments. The code is based
on QW 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

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.
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.

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
use this in a public server, please mention me somewhere.

DOWNLOAD
========
This patch is available at

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

The latest news and the newest version can be found at the web page. If
you have any bug reports, suggestions or anything else, please send
email to tjp@cc.jyu.fi.

Enjoy!

(personal homepage: <http://www.jyu.fi/~tjp/>)
