1) download Metamod from
http://sourceforge.net/projects/metamod, and install Metamod following the instructions in the readme
2) download HPB bot 4.0 from
http://hpb-bot.bots-united.com, and decompress it into your Half-Life main folder
3) execute hpb_bot\tfc\install.bat