--------------------------------------------------------------
 CAJUN BOT                               v 0.99 Zdoom  (Win legacy also planned)
 by Martin Collberg 
---------------------------------------------------------------
Title                   : CajunBot
Author                  : Martin Collberg (Yoghurt)
Homepage                : www.doomworld.com/doombot
Email Addresses         : yoghurt@telia.com 

Description             : Human-like AI for Simulated Doom
                           Deathmatch play, lately it has
			   been some coop to. CTF will also be
			   supported. 

Additional Credits to   : id Software- 
 			for being id Software and for releasing
			the DooM code.
                          Randy Heit
			for making zdoom & sharing sources.
			  Fab & Boris-
			for making the Legacy port and then
			releasing the source
			  All bug reporters out there
			for helping me find the bugs so I can fix them.	
			  Paradox-
			for pre-release testing and chat comments
			  You-
			for downloading my first big programming project.	

-----
Note:
-----
   You must have a registred version of Doom/Doom II
   to play this mod.

----------------
Getting started:
----------------
   Simply unzip the Cajunzip
   into the folder which contains your main .wad file.
   Please make sure, that you unzip it with
   subfolders, if using pkunzip (under DOS)
   use the -d parameter.	

   Then read this document.

---------------------
Starting a slaughter:
---------------------
   type (in DOS promt, maybee shortcut window)
       zcajun -deathmatch -warp x -nomonsters

   where "x" is the mapnumber. 

   Then from within the game, press the 'b' key to add a random bot
   or type "bot_add <name>" (Look in the "bots" folder for their names).

   It is possible to play the CajunBot on any map. 
   New from version 0.85 and up is that you DON'T have to make a 
   nodetable! The bots navigates after the structure of the level.  	
   BUT making a nodetable increases the bots roaming capabilities.	   
   and I reccomend it. Making a nodetable can be done in two different ways.
   Explained somewhere below.		
    	
--------------
Stuff to know:
--------------

This is the first cajun release for Zdoom 

Bot Names / skills / Personalities.
You can edit the names and attributes of the bots, by editing 
the "bots.cfg" file, located in the zcajun directory (same as this readme).
Weaponpref order is currently disabled.

The old nodetable files/compiler works with this version too.


----------------
Teamplay
-----------------
Teamplay is set ingame with the "teamplay" console variable.
To add bots into a specific team, set the <bot_team> console variable 
the disered team name, then bind a key to the <bot_add> command and add some
bots, change <bot_team> and repeat the proccess and you should have two teams
pitted against each others. To select your team, use the <team> console variable.
NOTE: the <bot_next_color> variable doesn't work correctly yet, so it's a hard time
distinguishing friends from foes unless you setup their respective colours 
inside the bots.cfg.

In teamplay mode the bots will avoid shooting at friends, and they
create groups or group with you by themselves, no babysitting needed (planning to add optional).
more teamplay things will come in the future. 

-------------
Cooperative:     (Unstable for now)
-------------
Just luanch doom without any parameters.
Start a new game add some bots, then you should be there.
The game is automatically set to coop style 
(ie player respawns instead of reloading the level when dead) as soon 
as one or more bots are ingame.

--------------
Console stuff:
--------------
all bot commands start with <bot_>
use TAB to cycle through them.

I'll update this readme soon to tell about them.


The most important are:
bot_add = adds a bot


bot_node (0-1):
    Set this to 1 to start making a complete nodetable (no need to use the slow p.exe).
    Run around the level (the more you run the better the nodetable will be) like the
    good old days and save your table with <bot_savenodes>.
    this is new to v0.99.

------------------
Startup parameters:
------------------
-DEATHMATCH starts DOOM  as a DeathMatch game. If you don't 
enter DEATHMATCH as a command line parameter, DOOM II will 
default to the Cooperative mode. 
-deathmatch

-ALTDEATH specifies respawning items during DEATHMATCH. 
NOTE: Invulnerability and Invisibility do not respawn.
-deathmatch -altdeath

-SKILL sets the skill level (1-5) you wish to play.
This has nothing to do with the bots skills, only monsters.
Only useful with -warp -- see below. 
-skill <# of skill level>

-NOMONSTERS allows you to start playing with NO MONSTERS running
around!  This is great for DeathMatch where, really, the monsters
just get in the way.  Only useful with -warp -- see below.
-nomonsters


-NOSOUND turns off the sound while DOOM is playing.
-nosound

-RESPAWN tells DOOM that, yes, you are Bad, and yes, you
want all the monsters to respawn around 8 seconds after you kill
them.  The NIGHTMARE skill level already does this. Note that 
using -respawn and -nomonsters at the same time is a dumb thing 
to do.  Only useful with -warp -- see below.
-respawn

-WARP <# of level> starts DOOM out right at the level you specify. 
For instance, to start at the first level, you'd type "-warp 1". 
The following command-line parameters are ONLY available while using
the -WARP parameter: -fast, -nomonsters, -skill, -respawn.
-warp xx

An example line for entering the above information would be: 
cajun -warp 1 -deathmatch -timer 10 -bots devourer flare

-----------------------------
things with versions: 
-----------------------------

0.99---------------------
-Zdoom (Win legacy also planned)
-Misc improvements.
-New nodetable making option.

0.85----------------------------------------
-New movement code without nodes. 
-Somewhat improved brains.
-Lava, nukage etc., avoidance.
-Demo recording, when bots are added with the 'b' key.
-Real view for bots. 
-Decreasing of rocket suicides.
-Bots don't run up close.
-Isp is used more.

0.71----------------------------------------
-Temporary removed the bots chatting.
-Legacy 1.28
-WeaponPreferring for bots

0.68----------------------------------------
-Better navigation trough levels (roaming). 
-Effective item pickup. 
-Spawn bots with -bots name1 name2 parameter at startup.		
-Better spawning, with color spawn, one singe bot.cfg file and spawn by pressing 'b' 
-Strafing, including missile avoidance.
-True Plasma and rocket prediction.
-Fraglimit
-Teamplay (includes teamfrag ranking)
-Improved Ranking table.		
-optional freeze mode. (freezes game world except you)
-Improved movement.
-Fixed animations
-Fixed ssg reload sound
-Starting the game in any deathmatch mode will bring the 
 deathmatch weapons (didn't happen before since there was no "real" netgame)
-normal deathmatch (old) is fixed so that weapons stay.
-Some other small fixes.

-----------
Disclaimer:
-----------
I take no responsibilities if any bad thing happen to you or your 
computer due to this software. You use the program at your 
own risk. However I can ensure you that I haven't made anything
"mean" with purpose (why should I?).

-----------
Known bugs:
-----------
Report bugs or suggestions to:
 Yoghurt     <comayog@swipnet.se>  

Go Frag some!
           - Yoghurt
