[?] Increase number of bots in sp coop-mode?

Making or wanting help making your own asset? Check in here
Post Reply
VICTOR-FIVE-ONE
Posts: 3
Joined: 2010-10-20 10:06

[?] Increase number of bots in sp coop-mode?

Post by VICTOR-FIVE-ONE »

Can anyone help me with increase number of bots in SP? 32 is very small number for PR maps. 64 is ok. Maybe more :)
Spyker2041
Posts: 1076
Joined: 2010-03-18 16:25

Re: Increase number of bots in sp coop-mode

Post by Spyker2041 »

Go to the pr mods ai folder. Default location:

C:\Program Files\EA GAMES\Battlefield 2\mods\pr\ai

then open aidefault.ai with notepad, and delete the bits highlighted in red and change the 47 highlighted in green to the number of bots you want. Changing your aidefault.ai will not affect you being able to play online. Not sure if there is a max number of bots but most bot changers for bf2 only allow you to have 128 max but this will severly slow your pc down so if you have a fairly modern pc I suggest putting 64.
rem *** PRSP Ai v5 ***

echo **************************************************************************
echo ********************PROJECT****REALITY****AI****LOADED********************
echo **************************************************************************

aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1

aiSettings.setMaxNBots 64
aiSettings.maxBotsIncludeHumans 1
aiSettings.setBotSkill 0.4

rem To override the amount of bots used in PRSP, use the following lines instead of the three lines above.
rem This will render the ingame menu and serversettings.con bot settings not used, as the following lines
rem of code overrides those settings.
rem Just remove the "rem" in front of the lines to make it read by the game, then edit the numbers as needed.

rem aiSettings.overrideMenuSettings 1
rem aiSettings.setMaxNBots 47
rem aiSettings.maxBotsIncludeHumans 0
rem aiSettings.setBotSkill 0.9

run BotNames.ai
aiSettings.setInformationGridDimension 48
rem aiDebug.draw 1
run AIPathFinding.ai
Image
Take a look at my custom PRSP Maps --> Click Here
Take a look at my gameplay vids --> Click Here
VICTOR-FIVE-ONE
Posts: 3
Joined: 2010-10-20 10:06

Re: Increase number of bots in sp coop-mode

Post by VICTOR-FIVE-ONE »

Thanks for answer.
Post Reply

Return to “PR:BF2 Community Modding”