botman's bots

Half-Life bot development


Home/News
About
Projects
- BotMixer5000
- HPB bot
- Bot # 10
- Bot # 9
- Bot # 8
- Bot # 007
- Bot # 6
- Cinco Bot
- Bot # 4
- PG Bot
- Gump Bot
- Fodder Bot

- The Darkulator
- BSP tools
- hpk_extract
- Monster
- Stripper2
- Singing Walter
- NetProbe
- Coding Pages
Downloads
MOD FAQ
Building the SDK
SDK Humor
HPB Waypoint files
Forum
Links


About me
E-mail me

Bot Number 3 (The Pretty Good Bot):

Bot Number 3 will ONLY work with Half-Life version 1.0.1.3 - 1.0.1.6.  If you are using Half-Life version 1.1.0.0 or higher you won't be able to use this bot.

The Pretty Good Bot is a modified Gump Bot that will only see things in its field of view (i.e. it doesn't have eyes in the back of its head). It will target an enemy and keep targeted on that enemy until the enemy is dead or has gone out of the bots field of view. It can now navigate ladders properly and will turn and run towards items that it can see (weapons, ammo, etc.). It will periodically pause for a second or so every once in a while. This will allow you to use the crossbow or zoomed in 357 on it if you're quick enough. Occasionally, after it kills the enemy, it will give a little "jump for joy". The bot weapon firing code was modified to make it a little more "human-like". Previously the weapons could be fired at the maximum rate for the selected weapon and most human players can not click the mouse button quite that fast.

The roaming (navigation) code for the bot is still pretty random. If the bot gets stuck somewhere it randomly turns between 10 and 30 degrees and tries to move again.

The "observer" mode console command also exists in the Pretty Good Bot. For details on how to use the observer command, read the discussion of the Gump Bot

Known Problems:

The bots don't know how to navigate in water. (Like shooting fish in a barrel!)

When the bots get killed, their body will drop to the floor, but sometimes the body will "lurch" across the floor a bit when the bot respawns. (DOES ANYBODY KNOW WHY THIS HAPPENS???)

The bot doesn't know how to use weapons intelligently and will often times blow themselves up by using weapons too close to other bots.


Downloading Bot Number 3:

Below are compiled DLLs and source code files for Bot Number 3. When unzipping these files PLEASE be sure that the directory structure is preserved ("Use folder names" in Extract window of WinZip) and BE SURE you extract these files into the Half-Life folder (NOT the Half-Life\valve folder). You should have the following directory structure when you are done...

     C:\Sierra\Half-Life\ (or some similar path)
              \Half-Life\Bot\
              \Half-Life\Bot\dlls\
              \Half-Life\Bot\maps\

              (...other directories left out here...)

              \Half-Life\valve\
              \Half-Life\valve\cl-dlls\
              \Half-Life\valve\dlls\
              \Half-Life\valve\gfx\
              \Half-Life\valve\maps\
              \Half-Life\valve\media\
              \Half-Life\valve\models\
              \Half-Life\valve\models\player\
              \Half-Life\valve\Save\
              \Half-Life\valve\sprites\
You will need to copy .bsp map files from the Half-Life\valve\maps folder to the Half-Life\Bot\maps folder.  You will also need to copy the config.cfg file from Half-Life\valve folder to the Half-Life\Bot folder. (See Detailed steps for running the bot for more information).

Download The Pretty Good Bot
Download Source code to The Pretty Good Bot