PDA

View Full Version : (Your Own Angry Mob): A Guide To Spawn More Bots In Singleplayer



Bloo Iggy
05-14-10, 04:39 AM
Have you ever wondered where some people practice their BF2 Skillz? Or Jet bombing abilities?
Do you want more bots to run around, kill or blow up on your own singleplayer map/games?
Do you simply need larger clusters of bots to bomb in the boring 16 player maps?
Doesn't explosions of bots flying helplessly in the air improve your self-esteem?

IF YES TO ANY... THEN THIS IS A GUIDE FOR YOU!!


Also Known As Changing Localization Files: Which does effect game play and game functions, but not scores.
This guide can be helpful when you want to play some bot killing when the Vanilla Server is down.
[Any text in brackets is an author's note to reader]



HOW TO ADD MORE BOTS IN YOUR SINGLEPLAYER SERVER.


Follow the instruction below:
1. Right click your BF2 Icon and click open file location.
2. You are in "Program Files => EA Games => Battlefield 2" Directory, from here click the "mods" folder.
3. Click the subfolder "bf2"
4. Click the subfolder "AI"
5. Find and click the file "AIDefault", a UTXT file approximatly 2KB. Open the file in wordpad
6. Change the first few line after "echo" and before "rem" section.


Effects:
- 1 = ON, 0 = OFF ~~

- setNSides: Changes # of teams.
[DO NOT CHANGE. Will crash game. Author is experimenting with this function. Test at your own risk. Please post results.]

- setAutoSpawnBots: Spawn bots when they die.
[If you turn this off, bots do not respawn and it will be a last man standing match.]

- overrideMenuSetting: Functions unknown
[DO NOT CHANGE. Possibility of crashing game. Author is testing this function. Test at your own risk. Please post results]

- aiSettings.setMaxNBots: Maximum bots in game including or excluding you depending on ON or OFF in next command.
[Running more than 64 bots crashes the game, if otherwise please post your results.]

- aiSettings.maxBotsIncludeHumans: 1 = Including you, 0 = Excluding you [63 and 1 is my optimal setup]
- setBotSkill: Changes difficulty levels of bots. Default is at 1.0 [My max is 5.0 anything above that and its VERY hard to play.]



16 Player map with 63 bots, 32 Players on each side.


aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1

aiSettings.overrideMenuSettings 1
aiSettings.setMaxNBots 63
aiSettings.maxBotsIncludeHumans 0
aiSettings.setBotSkill 1.0


HOW TO CHANGE BOT NAMES YOUR SINGLEPLAYER SERVER. (For Agreession/Revenge Relief)


Follow the instruction below:
1. Right click your BF2 Icon and click open file location.
2. You are in "Program Files => EA Games => Battlefield 2" Directory, from here click the "mods" folder.
3. Click the subfolder "bf2"
4. Click the subfolder "AI"
5. Find and click the file "BotNames", a UTXT file approximatly 5KB. Right click, select properties and open the file in wordpad.
6. Change the lines of text to the names you want after "aiSettings.addBotName " [There is a space after "Name" that must be maintained"

Default Lines 1-20:



aiSettings.addBotName T. Karlsson
aiSettings.addBotName R. Edgren
aiSettings.addBotName P.K. Johansson
aiSettings.addBotName J. Jonsson
aiSettings.addBotName S. Wallberg
aiSettings.addBotName A. Andersson
aiSettings.addBotName H. Karlsson
aiSettings.addBotName K. Bergqvist
rem aiSettings.addBotName M. Hörnlund
aiSettings.addBotName M. Hornlund
aiSettings.addBotName R. Lopez
rem aiSettings.addBotName D. Göthberg
aiSettings.addBotName D. Gothberg
aiSettings.addBotName P. Hoyles
aiSettings.addBotName M. Kopparhed
rem aiSettings.addBotName C. Cyréus
aiSettings.addBotName C. Cyreus
aiSettings.addBotName T. Dahl
aiSettings.addBotName M. Bagge
aiSettings.addBotName T. Laedre
rem aiSettings.addBotName L. Mårtensson


You can change the first 20 very easily to the names you want by just changing a few lines.



aiSettings.addBotName PUT NAME HERE
aiSettings.addBotName PUT NAME HERE
aiSettings.addBotName PUT NAME HERE


Effect: When these settings are applied and saved, every new single player map you start will always have the designated amount of bots you want on the map. The default alternative is to start a CoOp game on singleplayer but having to adjust bot numbers and difficulty everytime.


- Bloo

Examples in next post ~~

Bloo Iggy
05-14-10, 04:40 AM
This is another way. But alittle less complicated. Notice that whatever custom maps you download and place in the, bf2 => levels, folder will appear here.

http://static.bf2s.com/files/user/50936/Singleplayer.jpg

Bloo Iggy
05-14-10, 05:06 AM
RESERVED. You can now post below. :)

Korg
05-14-10, 03:14 PM
I downloaded a bot control program a long time ago that let's you set the number of bots in the single player game. I will see if I still have the installer and will upload for the admin's to approve it for everyone to download. Or if I can find the link I downloaded it from originally. It lets you set the mod, number of bots and the skill level. On a single core Athlon 64 3700 it ran Strike at Karkand 16 map with 40+ bots with reasonable speed. I normally have it set for SP maps to have 24 to 32 bots. Compared to 16 player mode (8v8), the 20v20 is insane. (Like the Team-Nitro normal games) It's able to set the bot count/skill for any of the BF2 mods.

TxGunFanatic
05-14-10, 04:11 PM
Is there a command in AIDefault that can control the bot ratio on each side?

Everything else seems to be working. I have 32 on 32 right now on 16 player Karkand earlier. Crowded...lol!