Game.h This file seems to contain all the necessary server information for the bot. It also seems to control various game functions such as collision data and the like. It also loads and saves map information for the bot, by saving spawn entities. bot.c This file appears to have two functions. The first is to tell the bot if the game being played is CTF and what team it is on. Along with this is also gives the bot instructions on dropping the flag (I think). This also seems to have a level mapper (Though it only maps out the level its on and does not save the data for later). It does this by recording the x and y (and I think z) coordinates important areas of the maps (like walls I think). bot.h It would appear as though this is the heart of the bot. All of the bots primary functions are listed here, and it defines much of the data useable by the bot. This file is often called by other files. bot_fire.c The first part of this file has to do with aiming at a new target. It seems to calculate where the gun is, where it needs to be, and the path to get there. Seems to vary according to weapon. The second part has to do with telling the bot what weapons that it can use. May also tell the bot to find them. Part 3 gives instructions on how to use each weapon. Part 4 seems to give 2 different levels of how the bot handles actually firing. The first level is very simple, while the second level is complex: including dodging and firing manuevers. bot_func.c This would appear to be the bot initializer. bot_za - This is a huge file, largest. 1.) Contains information about bot skill level 2.) Contains instructions for hunting down enemies 3.) Contains instructions for flag hunting and team work 4.)Contains instructions for item finding 5.)Contains information to use for avoiding explosions. 6.)???? 7.)Quite a bit of code involving bot movement. More research will be necessary to figure out exactly what it's doing. Also there is some hazard checking code (For lava and such). 8.)Instructions for setting Combat State 9.)Some code for calculating flying speed and jump movement. 10.) And a whole lot more. Saving the rest for a bit later. botstr.h Defines many variables. g_chase.c