PeZBOT is a multiplayer bot-mod for Call of Duty 4 and World at War.
The aim of the mod is to introduce relatively life-like A.I. to local multiplayer games so those who choose not to go online or prefer to practice against bots before doing so, can.
This mod is no longer in development but feel free to download the source code, create your own version and share it in the forums.

- Bots will now throw Signal Flares.
- Bots may spread out / flank more.
- No longer require sv_botsRandomInput DVAR in the command line.
- Added in-game PeZBOT menu allowing you to change PeZBOT settings without having to use the console. (Press "B" (default) then select PeZBOT)
- The mod will now appear in the mod list on the game menu.
- "Being obvious" distance increased - bots will see you from a slightly longer distance away if you are not moving.
- Bots will now choose attachments for weapons.
- Bots will now choose a perk upon spawning.
- Bots start at a random rank.
- Bots may now melee enemy dogs.
- Rewaypointed Seelow for better performance - from 486 to 373 waypoints.
- Fixed waypoint bugs in all maps.
- Added DVARs: svr_pezbots_axis & svr_pezbots_allies to give greater control and allow uneven team selection.

===============
Disclaimer/Usage:
===============

We have no problem if people want to mod PeZBOT and release their own version, but we have one golden rule: the new mod MUST be renamed in the following format "PeZBOT_" + "MOD NAME OR MAKER" + "VERSION NUMBER". This is to avoid any confusion about which mod is which and by whom.

We are more than happy to supply the source for our latest versions and let people update their modded PeZBOT with our latest scripts. We would ask that each PeZBOT modder release the souce to their mod and make it freely available and permitted to be itself modded or added to another version of PeZBOT, including ours if we like the addition.

With this arrangement, the PeZBOT mod will be the winner. Instead of two heads working on new ideas and solving problems we can have many.

This is pre-alpha code, meaning it is in no way feature complete and may be full of bugs, use at your own risk. We will not be held responsible for any damages this mod does to your PC.

=======
Credits:
=======

PEZZALUCIFER - Original author of the mod: did all of the coding of the CoD4 version until 008p and ported the mod to WaW. Huge thanks to him for creating this great mod and letting us continue to improve it!

ATB - Huge amount of coding: lots of bug fixes and huge additions, the mod wouldn't be what it is today if it wasn't for him!

- This is pre-alpha code, meaning it is in no way feature complete and may be full of bugs!
- All stock maps, as of patch 1.7, are waypointed.
- Bots work on all game modes. (See "Known Bugs/Issues")
- Bots have been tested and working on version 1.7 of World at War. (Please do not report any bugs found with older versions!)
- Bots DO NOT work in Nazi Zombie Mode or Co-Op! They are for Multiplayer only.

The game works like COD4 pezbot but with a different place to put the mod. You have to enable "hidden files and folders". Just click Start on your PC and type hidden files and folders on the Search bar below to access it. Since I'm using Win7 it is located here: Drive C/Users/Your Pc name/AppData/Local/Activision/CoDWaW. Chances are you'll find two folders there that is players and servercache. Just make one folder and name it mods. Place that PeZBOTWAW_005p inside it(mods) and Start the game. Just click MODS and launch. Now you're ready to play CoDWaW pezbot and just press "B" on the keyboard to access the menu. Have fun.

did everything you have said but still doesn't work... in the console, i type the command, ex. "/svr_pezbots 10" then something comes like this "unknown_cmd : svr_pezbots" means it's not really working at all... all the comments in here have the same problem means it has a 50% chance to work? is there any solution?? i'm asking the same questions just like everyone has.. but still no one have an answer to this problem... you are refering only to the right installation but not on how the mod really work or not in game... hope you can kindly help us.. thanks!!!

samenproblem here dude! i launch the mode ! though its invisible yet iys launched! you can c griefly the mode title shortly b4 the game satrts!
but my problem is the same as yours: console does not recognize the command line to add bots ingame! unknow command : svr_pezbots..

I have a rather interesting issue I'd like to raise up.
I've installed the mod in the correct directory.
I've copy & pasted the execution path onto a multiplayer shortcut.
I've reinstalled the game and patched it up.
As soon as the my server on the correct shortcut it crashes back to the main menu with this error message.Img201.imageshack.us
Your guidance to fix this would be much appreciated

Hey Gannondorf are there any plans to make this mod more compatible with a dedicated server. Restarting the server after every map is a pain to say the least. Figured out a way to automate it so not as bad now.

Hey guys, awesome mod, but it doesn't work for me :(. First I can't start a Not Dedicated Server without having Punkbuster on. The commands don't work and the mod doesn't appear in my mod list. Can someone help me?

Okay, so I followed ALL of the instructions to the letter, but that didn't work. I ****** around until the game flat-out didn't work.

So I reinstalled it, making sure to patch the game BEFORE I put the mod in (that's what messed the game up before, by it not being in order). Then I put the mod in perfectly and did everything I was supposed to. The game works, the mod shows in my "Mods" thing in-game, I clicked it, started up a new server (Not dedicated, Maximum Ping at 999, Punkbuster turned off). I started up a nice bit of Team Deathmatch on Castle, typed in the command and ********. It doesn't work. When I start the match, it shows that I had loaded the mod and I had old it to load the mod at the MP Main Menu. But it simply doesn't work.

Can someone tell me what I did wrong?

P.S. Oh, and CoD4's version works perfectly. Great job on that one, by the way. So fun.

I have a problem where I start the pezbot mod normally but if i select a gametype other than free for all and use the "/devmap" command the game starts with "free for all" anyway. Commands such as g_gametype don't work either. Any suggestions? How do i start a "War" game with bots using the /devmap command?

You have to fix a very weird bug. Is not really a problem, but sometimes it happens: there's an enemy behind some place, and another bot sees him too early (like a kind of aimbot) and starts shooting at the wall and goes on and then it shoots the real enemy. For example, it happened once to me a bot started shooting at a rock, then he just blew himself up with the rocket launcher.

hey im having an issue with bots on knee deep, ive got 17 bots on and whenever bots spawn on a certain side of the map i think its C flag side they all cant move and i get incredible lag? its a really strange bug and it only occurs on this one map

This happens to me as well. Normally I only add 9 other bots to the game, and everything's cool. But sometimes I go ahead and add 19 cause I want something more 'war'-like. Then after two map changes only five other bots on my team will spawn at the beginning of the round and they will all walk in the same direction but they won't move. No enemy bots will spawn, only those five. I don't feel it's a map issue, but either way I wish it would be fixed. Also it happens on maps like Asylum etc, I've never tried Knee-Deep.
PS. It should be noted that if the gametype options have been set to give a limited number of lives (eg. S&D has 1 life per player) then after some time bots will bug up and not spawn at all, while still being in the player/teams list (tab).

hey guys....im having a problem with pezbots.I cnt start a server cause when i do the game crashes and a error comes up that says: unhandeled exception caught.....any form of assistance will be appreciated thanx.

The "Unhandled Exception Caught" error is getting alot of people. It's related to issues with the game rather than with the mod. Google the error and you'll get all sorts of solutions. I did 'Control Panel > Sound > Playback > Speakers-Properties > Advanced' and turned the format to "24bit, 48000 Hz (Studio Quality)" although how that resolves the issue I fail to see. What fixed it was I went into the HDD game files \zone\english\ and replaced every .ff file with the ones from the CD (setup\data\zone\english\ on the disc). This got rid of the 'UHE' problem, but unfortunately I had to reinstall all the patches. After doing that I reinstalled the mod. Hope that helps for anyone with the problem.