Title    : Quake2 Relay source
Filename : relay-0.1.src.tar.gz
Version  : 0.1 beta
Date     : Nov. 23 1999
Author   : Conor 'TheKoron' Davis
Email    : cedavis@epid.org
Webpage  : http://home.austin.rr.com/relay/

Legal
-----
Quake2 Relay is Copyright (C) 1999 by Conor 'TheKoron' Davis

Quake2 Relay is based on the Quake2 3.20 source, and is subject to the
the id Software license agreement in id_license.txt. All non-id code
is distributed under the GNU General Public License. See the file
Copying for details.

Intro
-----
Have you ever wanted more from a Quake2 demo? Tired of making every
player record demos of your clan matches just to see everything? Now
your problems are over. With Quake2 Relay, you can record entire
matches and play them back through the Replay module. Unlike client
demos, which only record a match through one player's view, relay
demos can record everything in the level for the entire duration of
the match. With Replay, you can watch these matches through any
player's perspective, chase-cam mode, or free-fly mode.

How To Use
----------
Quake2 Relay source is distributed as a Microsoft VC++ 5.0
project. The archive file contains the sources for the Relay and Replay
mods. Each mod is distributed in its own directory. Files common to
both are located in the directory called common.

The linker should be set to output to quake2/release/relay and
quake2/release/replay for Replay and Replay, respectively.

The source for Relay is based on the ProxyMod source by Avi Rozen
(Zung!). http://www.telefragged.com/zungbang/gamecam

The source for Replay contains a versatile menu system based partially
on David 'crt' Wright's ra2menu source and the <plug>Deadlode 2 TC
(http://www.thecoven.com/dl2.shtml)</plug>.

Some of dm2.c and all of msg.c contain a message storing scheme that
is unused, so don't worry about that stuff.

The Relay Demo Format
---------------------
The relay demo format is nearly identical to the Q2 3.20 dm2 format
with the following changes:
- filename extension changed from .dm2 to .rla
- isdemo byte is 0x80 (RECORD_RELAY)
- unicast messages have a message id byte OR'ed with 0x80
  (MSG_UNICAST)
- SVC_FRAME messages contain a bit field for connected players. Also,
  each bit in the areas bit field indicates an areaportal that is
  open/closed, not an area that is visible/invisible.

Notes/Bugs:
-----------
- There is a problem reading or writing the old_origin field 
  properly; hardly noticable
- There is no protection against buffer overflows
- Oddities involving laser colors/shell effects
- Don't set the R_SQUEEZE flag. It's evil.

Acknowledgements
----------------
Many thanks to id Software for Quake2.

Uwe Girlich for lmpc and the dm2 format description
http://www.planetquake.com/demospecs/

Avi Rozen (Zung!) for the ProxyMod interface
http://www.telefragged.com/zungbang/gamecam

David 'crt' Wright for the ra2menu source
http://www.planetquake.com/servers/arena

Tom Vykruta for posting a serverrecord sample from 
John Carmack

