More Bots Tweak
Many BF2142 players want to play with more bots — 16 just isn’t enough for most! With today’s PCs, you can easily run over 64 bots without lag, making for a much more immersive battlefield experience. If you enjoy grinding bots for fun, you’re not alone! Here’s a guide on how to increase the number of bots in your game.
Before we start ...
Do you know where your game directory is? It’s the folder where
BF2142.exe
andmods
are located. By default, this is usually:C:\Program Files (x86)\Electronic Arts\Battlefield 2142
.You’ll be editing files in
mods\<MOD>\AI\AIDefault.ai
, so it’s a good idea to make a backup of the file first — just add a suffix like_bak
or_o
to the filename of the clone. []If you want this change to affect vanilla BF2142, make your edits in the
mods\bf2142
folder. Otherwise, edit the files in themods\<MOD>
folder for your chosen mod.
Here we go ...
Inside the
AI
folder, openAIDefault.ai
with a text editor.Look for the line
aiSettings.setMaxNBots 16
near the top of the file.Change the number to however many bots you want — for example,
aiSettings.setMaxNBots 32
for 32 bots. Keep in mind that []Make sure to set
aiSettings.maxBotsIncludeHumans
to 0. []Put
aiSettings.overrideMenuSettings 1
before the line withaiSettings.maxBotsIncludeHumans 0
. []Your file should look something like this around lines 9–12:
aiSettings.overrideMenuSettings 1 aiSettings.maxBotsIncludeHumans 0 aiSettings.setMaxNBots 32 aiSettings.setBotSkill 1.0
You can also adjust the bot skill — set
aiSettings.setBotSkill
to any value between 0 and 1 (higher means tougher bots).Once you’re done, just save your changes!
Something to note ...
When you launch the game and select a map, it might still display 16 bots, but if you’ve edited the file correctly, you’ll actually have the number of bots you set. Simply load into a map and use the tab list and you will see the effect.
Remember, everything is case sensitive — spelling mistakes or incorrect capitalization can cause the game to crash!
If you host a server with this tweak, your server will have more bots, and players who join won’t need to make any changes on their end.
Special thanks to ...
asdasdadsdasdasdasda for sharing details on how to change bot counts @ How To Change The Singleplayer Bot Count
Last updated
Was this helpful?