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 1 comment

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 12 comments

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

RSS Files
[MW2] Bot Warfare 1.3.4 LATEST

[MW2] Bot Warfare 1.3.4 LATEST

Full Version 20 comments

The latest release of Bot Warfare for Call of Duty: Modern Warfare 2. Adds multiplayer bots to play against offline alone or LAN with friends.

[WaW] Bot Warfare 1.0.1 LATEST

[WaW] Bot Warfare 1.0.1 LATEST

Full Version 13 comments

The latest release of Bot Warfare for Call of Duty: World at War. Adds multiplayer bots to play against offline alone or LAN with friends.

[CoD4] Bot Warfare 1.0.3 LATEST

[CoD4] Bot Warfare 1.0.3 LATEST

Full Version 3 comments

The latest release of Bot Warfare for Call of Duty 4: Modern Warfare. Adds multiplayer bots to play against offline alone or LAN with friends.

Bot Warfare 1.3.3

Bot Warfare 1.3.3

Full Version 29 comments

Completed WaW BW! Find it in the 'Others' folder. CoD4 fixes sliding when a bot spawns, also players and bots drop their weapons now. Fixes various things...

Bot Warfare v1.3.2

Bot Warfare v1.3.2

Full Version 17 comments

Quickly fixes the max_precache_entries_exceeded error by changing how bots use bombsites.

Bot Warfare 1.3.1

Bot Warfare 1.3.1

Full Version 11 comments

Adds waypoints for Firing Range, Shipment and more! Fixed and improved code, will run much smoother using less CPU. CoD4 version of Bot Warfare included...

Comments  (0 - 10 of 113)
Guest
Guest

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

Guest
Guest

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

Guest
Guest

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

choaya27
choaya27

how to add new waypoint? i try to edit custom map like in pezbot but it doesn't work, it say out of memory when i start map, please help cause i have so many new map but i want to play with this bot cause this bot is better than pezbot, please help me
im playing cod mw 1 not mw 2

Reply Good karma Bad karma+1 vote
Guest
Guest

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

Guest
Guest

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

Cinibonswirl26
Cinibonswirl26

Hi there. I have some bugs to report

Call Of Duty Modern Warfare 2 (IW4X Client):
-Bot names arent bot0 bot 1 bot2, instead they are listed as /devfull /dev/sb Snake.

Call of Duty World at War:
-Menu navagation cuts off at a certain point, for example you cannot see the option "Reset all bots" but can still scroll over it.

Reply Good karma Bad karma+1 vote
CloneCommOmar
CloneCommOmar

The bot names are not a bug.

If you want to change their name, Youtube.com (bot name editing starts in 8:30).

Reply Good karma Bad karma+1 vote
FREE_ICE
FREE_ICE

I can't change the match time limit on IW4X with this mod loaded.

Reply Good karma Bad karma+1 vote
FREE_ICE
FREE_ICE

Will there be a Call of Duty 2 version?

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.

Follow Report Profile
Icon
Call of Duty: Modern Warfare 2
Creator
Contact
Send Message
Release date
Mod watch
Follow
Share
Community Rating

Average

9.4

13 votes submitted.

You Say

-

Ratings closed.

Style
Theme
War
Players
Multiplayer
Embed Buttons
Link to Bot Warfare by selecting a button and using the embed code provided more...
Bot Warfare
Statistics
Last Update
Watchers
58 members
Files
23
Articles
2
Reviews
8