GoodBot version 0.1
Copyright (C) 1998 Jens Vaasjo <jvaasjo@iname.com>

GoodBot is an autonomous client side Quake2 robot.
This version only works with Quake2 version 3.14.

GoodBot will disconnect from a server if
the string "no bots" is printed in any case.

See the file INSTALL for installation details.

This program is currently very inefficient so you
probably want to set CFLAGS to the best optimization
options for speed before running the configure script.

maybe like this if you are using gcc
CFLAGS='-O3 -fomit-frame-pointer' ./configure

The AI is currently limited but the bot will pick up
stuff in its line of sight, change to the best weapon
within a few seconds, and run at and shoot at enemies
in its line of sight performing prediction and lag
compensation. The bot will also load bsp maps, from pak
files if nessecery, and perform line of sight calculations.

Type "goodbot --help" for usage instructions.

The --game or -g option is used to pass the bot a search path
which consists of a list of colon seperated directories
in which to search for pak files or extracted maps.
The default is "ctf:baseq2:." which will work if your
only mod is possibly ctf and you run the bot from
the same directory that the quake2 binary would be in
or you run the bot from the same directory as the pak files.

For teamplay you should type "gb_team <team-skin-sub-string>" in
the bot's console where <team-skin-sub-string> is a sub-string in
in the skins your team uses that is only in the skins your team uses.

For example for CTF you would type this:
team red
gb_team _r

"team red" is a CTF command that would go to the server and put the bot
on the red team, "gb_team _r" tells the bot not to shoot anyone whose skin
contains the sub-string "_r" this way the bot will not attack anyone on
the red team since the skins used by the red team in CTF all contain "_r".

All the files that I wrote in this program are
under the GPL, see the file COPYING for details.

The files md4.c, md4.h, and global.h are taken from rfc1320 and are
Copyright (C) 1990-2 RSA Data Security, Inc. see the file md4.c for details.

The only change I made to these was to
comment out "long " on line 21 in global.h.

There are various bit of this program from other sources,
I've put comments above these which say where they are from.

Send me anything,

Jens Vaasjo
jvaasjo@iname.com
