Not only Modern Warfare 2 has bots... Call of Duty 4: Modern Warfare and Call of Duty: World at War now has Bot Warfare!

Features:
Mod is completely compatible with no internet, good for LAN with friends or just playing alone. (only if your client supports offline/lan)

Also mod is compatible with every game client, as long as the client's testclient handling works properly.

A clean and nice menu, you can edit every bot DVAR within in-game.

Everything can be customized, ideal for both personal use and dedicated servers.

This mod does not edit ANY stock .gsc files, meaning EVERY other mod is compatible with this mod. Mod doesn't add anything unnecessary, what you see is what you get.

Adds AI clients to multiplayer games to simulate playing real players. (essentially Combat Training for MW2)
-Bots move around the maps. (all normal maps, most to all custom maps)
-Bots play all gamemodes/objectives, they caputure flags, plant, defuse bombs, etc. (all normal modes, most custom modes)
-Bots have animations, move their legs and don't slide.
-Bots use all killstreaks. Including AC130 and chopper gunner.
-Bots target killstreaks, use stingers and other weapons to take out all killstreaks. (even sentry guns)
-Bots can capture and steal care packages.
-Bots target equipment, and can even camp TIs.
-Bots can camp randomly or when about to use the laptop.
-Bots can follow others on own will.
-Bots have smooth and realistic aim.
-Bots respond smartly to their surroundings, they will go to you if you shoot, uav, etc.
-Bots use all deathstreaks, perks and weapons, also perks do something and bots use guns tactically (use shotgun upclose, etc).
-Bots difficulty level can be customized and are accurate. (hard is hard, easy is easy, etc.)
-Bots each all have different classes, traits, and difficulty and remember it all.
-Bots switch from between primaries and secondaries.
-Bots can grenade, place claymores and TIs, they even use grenades and tubes in preset map locations.
-Bots use grenade launchers and shotgun attachments.
-Bots trip claymores indefinitely.
-Bots can melee people and sentry guns.
-Bots can run!
-Bots can climb ladders!
-Bots have foot sounds!!
-Bots detect smoke grenades, stun grenades, flashed and airstrike slows.
-Bots can watch killcams.
-Bots talk, react to anything that they are doing or what happened to them, etc.
-Bots will remember their class, killstreak, skill and traits, even on multiround based gametypes.
-Bots can rage quit.
-Bots can throwback grenades.

Credits:
INeedGames(me) - for completely writing and compiling the mod into what it is now: Moddb.com
tinkie101 - for RSE v1 to v10, mod was based off of this: Web.archive.org
PeZBot team - tinkie101 used PeZBot's code as a base for RSE v1 to v10: Moddb.com
apdonato - for RSE v11+ development, much of their ideas was used: Rsebots.blogspot.ca
Ability - for their waypoint mod used in this mod (found in bots\dev.gsc)
Salvation - for their menu base used in this mod (found in bots\menu.gsc)
yolarrydabomb - for various waypoint files: Yolarrydabomb.net
Blobbitybloo - for finding a IW4 sound name dump, allowing me to allow bots to emulate footsounds: Moddb.com

List of recommended clients (use Google):
-IW4X - Fully LAN and requires no internet, custom weapons and maps.
-AlterIWNet m1 client + IWNetServer - Fully vanilla with mod support and completely offline/LAN.

Feel free to use code, host on other sites, host on servers, mod it and merge mods with it, just give credit where credit is due!
-INeedGames/INeedBot(s) @ ineedbots@pbot.org

  • View media
  • View media
  • View media
  • View media
  • View media
  • View media
Post article RSS Articles

Creating, modifying and installation of waypoints

Server Side Coding Tutorial 3 comments

Creating and modifying the waypoints


First things first; you want to load the game of your choice and load Bot Warfare. Then you need to set the DVAR 'bots_main_debug' to '1' before you load a map (use the console). Then load the map of your choice.

Untitled

It will look something like this. As you can see, the controls are at the bottom of your screen.
In CoD4 and WaW, each primary button as a secondary button which you can press after pressing the primary. In MW2, there are no secondary buttons needed as all the primary buttons do the functions. (notifyOnPlayerCommand)

CoD4/WaW controls:
SecondaryOffhand (stun) - Add Waypoint
Press nothing - Make a waypoint of your stance
ADS - Make a climb waypoint
Attack + Use - Make a tube waypoint
Attack - Make a grenade waypoint
Use - Make a claymore waypoint


Melee - Link Waypoint
Press nothing - Link
ADS - Unlink


FragButton (grenade) - Delete Waypoint
Press nothing - Delete Waypoint
Attack - Delete all waypoints
ADS - (Re)Load Waypoints


UseButton + Attack - Save Waypoints
Press nothing - Save waypoints
ADS - Toggle autolink waypoints (links waypoints as you create them)


MW2 controls:
SecondaryOffhand (stun) - Add Waypoint
Press nothing - Make a waypoint of your stance
ADS - Make a climb waypoint
Attack + Use - Make a tube waypoint
Attack - Make a grenade waypoint
Use - Make a claymore waypoint


Melee - Link waypoint


Reload - Unlink waypoint


SwitchWeapon - Toggle autolink waypoints (links waypoints as you create them)


ActionSlot3 (switch to alt weapon mode (noobtube)) - Delete Waypoint


ActionSlot4 (killstreak activate) - Delete all waypoints


ActionSlot1 (Nightvision) - Save Waypoints


ActionSlot2 - (Re)Load Waypoints

2

Untitled 1

Here I added a waypoint.

3

And here I added a second waypoint, but I was in crouch stance before I did, the type of waypoint you place is dependent on what stance you are in or what secondary button you are pressing.

Types of waypoints:
any stance ('stand', 'crouch', 'prone') - bots will have this stance upon reaching this waypoint
grenade - bots will look at the angles you were looking at when you made the waypoint and throw a grenade from the waypoint
tube - bots will look at the angles you were looking at when you made the waypoint and switch to a launcher and fire
claymore - bots will look at the angles you were looking at when you made the waypoint and place a claymore or tactical insertion
camp ('crouch' waypoint with only one linked waypoint) - bots will look at the angles you were looking at when you made the waypoint and camp
climb - bots will look at the angles you were looking at when you made the waypoint and climb (use this for ladders and mantles)

4

You will need to link the waypoints so the bots know how to navigate the map. You can also unlink waypoints the same way. Deleting waypoints will unlink all waypoints that were connected to it just fine.

5

In WaW and CoD4, the data of the closest waypoint to you will be shown to you, the top portion shows what waypoints are linked to it, the middle is what waypoint number it is and the bottom will display what type of waypoint it is.
In MW2, the data is displayed on the top right of your screen.

6

You can then save the waypoints, this will dump a function to 'games_mp.log'.

7

Installing the waypoints


Open NotePad and input
main(mapname)
{
}
exactly.

15

Save the document as '_custom_map.gsc'.

18

Then create a folder called 'bots' and inside that folder a new folder called 'waypoints' and move the '_custom_map.gsc' file into it. (.\bots\waypoints\_custom_map.gsc)

17

Now right click the folder and using WinRAR's shell, click 'Add to archive...'.

21


Use Archive format 'ZIP' and name it 'z_svr_customWaypoints.iwd'.

22


Then move the .iwd file WinRAR created with the 'z_svr_bots.iwd' file.
CoD mods are loaded alphabetically, so any conflicting raw files inside .iwd archives will have the iwd with the highest alphabet ordered loaded.

23

Now search for the 'games_mp.log' file and open it with notepad. (It will be with your installation of Bot Warfare)

8

Go to the bottom of the document and you'll find some GSC script code. Copy the function the game dumped.

10

Now open your '_custom_map.gsc' file with a text editor (I use NotePad++). (You can use WinRAR to open .iwd archives) Paste the function into the script.

Now you need to script it so that level.waypoints point to the array of stucts.
Here I checked to see if 'mapname' is "mp_nuketown", and if it was, I had level.waypoints equal the function we pasted into the script.

11

If you were doing this for MW2, you want game["bots"]["waypoints"] instead of level.waypoints.

Untitled 3


Legacy waypoints (PeZBOT) have procedures that have level.waypoints created inside it. These can be installed too. Look for the GSC script that contains the waypoints and open it with a text editor.

12

Copy the procedure entirely.

13

Paste the procedure into your _custom_map.gsc script file.

Now these are procedures, not functions, which means that they do not return anything back to the call. So I left out the 'level.waypoints = ' because level.waypoints was being created in the procedure.
I also renamed the 'load_waypoints' to 'mp_nuketown' to be more specific.

14


If you were doing this for MW2, you want to do something like this.

All in the main function, I first initialized level.waypoints, then after the procedure call, I had game["bots"]["waypoints"] equal level.waypoints.
In MW2, it has the ability to retain structs after a round, whereas CoD4 and WaW do not. This allows it to store the loaded waypoints so it does not have to load it again.

Untitled 4


Now save it up. Now you should have bots play the map normally with the waypoints you installed on the map.

Credit to >>N.B.Z.I.<< for their Nuketown map that I used to demo this tutorial.

Installing the modifcation for private match

Installing the modifcation for private match

Client Side Coding Tutorial 15 comments

This will show you how to install the modification for use on private match. Depending on your client, installations may vary.

RSS Files
[PlutoniumIW5] Bot Warfare v2.1.0 LATEST

[PlutoniumIW5] Bot Warfare v2.1.0 LATEST

Full Version 39 comments

The first and latest release of Bot Warfare for Modern Warfare 3!

[T4M] Bot Warfare v2.1.0 LATEST

[T4M] Bot Warfare v2.1.0 LATEST

Full Version 49 comments

The latest release of Bot Warfare for World at War!

[CoD4x] Bot Warfare v2.1.0 LATEST

[CoD4x] Bot Warfare v2.1.0 LATEST

Full Version 15 comments

The latest release of Bot Warfare for Call of Duty 4!

[IW4x] Bot Warfare v2.1.0 LATEST

[IW4x] Bot Warfare v2.1.0 LATEST

Full Version 90 comments

The latest release of Bot Warfare for Modern Warfare 2!

[BO1] Bot Warfare v1.1.1 LATEST

[BO1] Bot Warfare v1.1.1 LATEST

Full Version 32 comments

The latest release of Bot Warfare for Black Ops 1!

[IW4x] Bot Warfare v2.0.1

[IW4x] Bot Warfare v2.0.1

Full Version 64 comments

A release of Bot Warfare for Modern Warfare 2! Archived.

Comments  (0 - 10 of 181)
Beamxrz-
Beamxrz-

Hey, there's a problem with this mod. Every time on IW5, I try to play a ported map like Afghan or Backlot, I keep getting this error "file sum/name mismatch".
Is there any solutions to fix this problem? It lets me play my other ported maps like Summit and Radiation with the mod, but Afghan and Backlot or after 2 matches with the mod, it gives me this error, then I have to reopen the game. This error completely makes this mod unplayable.

Reply Good karma Bad karma+1 vote
Guest
Guest

Can this work with a cracked version of the game or is it nessecary to have the Steam version?

Reply Good karma Bad karma+1 vote
Beamxrz-
Beamxrz-

It works with a cracked version and Steam version as well.

Reply Good karma Bad karma+1 vote
Guest
Guest

Need help

Script compile error
Unknown function botweapon
Maps/mp/bots/_bot_internal.gsc

How to fix?

Reply Good karma Bad karma0 votes
emerly35
emerly35

It's not properly installed. Re-install it, and if it doesn't work again, reinstall your MW2 and then the mod. Make sure you're using the right version.

Reply Good karma Bad karma+1 vote
Guest
Guest

would love an update for plutonium t5

Reply Good karma Bad karma+1 vote
Guest
Guest

Any difficulty past easy-medium is unbearable the bots basically become hackers getting cross mapped and they instantly lock on to you even if they dont see you.

Reply Good karma Bad karma0 votes
Guest
Guest

This comment is currently awaiting admin approval, join now to view.

MaJoova
MaJoova

I felt the same way. My workaround was disabling bots_play_ads but giving everyone in my server steady aim via scr_perkstreaks "0 specialty_bulletaccuracy" from Muhlex/iw4x-gsc on github.

This way the bots retain the best movement, vision, decision making without outright beaming you through assets you can't even see through. w/ universal steady aim they'll still kill you fairly fast if you're not ready for them, and at mid-close range they're still as fatal as ever.

Reply Good karma Bad karma+1 vote
HeatSeekerGT
HeatSeekerGT

If you guys are the ones responsible for the new PlutoniumIW5 MW3 bot implementation (this page was linked on github), then I just wanted to say that you have absolutely blown any expectations away and then some. I just tried it and it works so well it almost made me tear up. I understand jack about programming, but it looks so genuinely impressive to me it literally felt like some official bot release. And after over 10 years of drip feeding bot possibilities in mw3, this is heaven.

This really needs more attention. Stellar job, lads.

Reply Good karma Bad karma+3 votes
Guest
Guest

How i download it i dont see any for iw5

Reply Good karma Bad karma+1 vote
HeatSeekerGT
HeatSeekerGT

Search for plutoniumiw5 bot warfare mod on google. A github page for it will appear.

Reply Good karma Bad karma+1 vote
Post a comment
Sign in or join with:

Only registered members can share their thoughts. So come on! Join the community today (totally free - or sign in with your social account on the right) and join in the conversation.