How do you set more bots PR SP
-
- Posts: 256
- Joined: 2009-09-29 19:59
How do you set more bots PR SP
Anyone know the command or how to set more bots.
Right now the only way i know is to use the options when your setting up the server/game. I can only set 32 from there, Does anyone know how to set more bots in game ?????
Right now the only way i know is to use the options when your setting up the server/game. I can only set 32 from there, Does anyone know how to set more bots in game ?????
Last edited by Saobh on 2009-11-10 23:40, edited 1 time in total.
Reason: Moved to "PRSP General Discussion"
Reason: Moved to "PRSP General Discussion"
-
- Posts: 256
- Joined: 2009-09-29 19:59
Re: How do you set more bots PR SP
anyone know?????????????
-
- Posts: 261
- Joined: 2006-11-18 03:30
Re: How do you set more bots PR SP
It's probly around somewhere but Ill reupload it for you
Download BF2 SP Bot Change v2.1.exe
I haven't used it in a while but it should still work.
Download BF2 SP Bot Change v2.1.exe
I haven't used it in a while but it should still work.

-
- Posts: 256
- Joined: 2009-09-29 19:59
Re: How do you set more bots PR SP
I dont have my flash drive on me right now to download it becuase im at work, is there any other way to change the bot limit ?
-
- Posts: 261
- Joined: 2006-11-18 03:30
Re: How do you set more bots PR SP
I think you can do it manually
From TweakGuides.com - Battlefield 2 Tweak Guide
"Increasing Singleplayer Bots
To increase the number of bots used in singleplayer mode, go to your \Program Files\EA Games\Battlefield 2\mods\bf2\AI directory and open the file aidefault.ai with Notepad or Wordpad (make sure to create a backup copy of it first). Read the instructions in the file which basically involves placing the word REM in front of each of the first 5 lines starting with 'aiSettings.set', then removing the REM's in front of the next 4 lines starting with 'aiSettings.set'. Change the number at the end of the aiSettings.setMaxNBots 32 line to determine the number of bots to use (e.g. aiSettings.setMaxNBots 64 for 64 bots). Note that more bots can really stress your system and hence destabilize it, causing a crash back to desktop - particularly for those with older CPUs. For example, 64 bots on most older systems will cause a crash."
Hope that helps
From TweakGuides.com - Battlefield 2 Tweak Guide
"Increasing Singleplayer Bots
To increase the number of bots used in singleplayer mode, go to your \Program Files\EA Games\Battlefield 2\mods\bf2\AI directory and open the file aidefault.ai with Notepad or Wordpad (make sure to create a backup copy of it first). Read the instructions in the file which basically involves placing the word REM in front of each of the first 5 lines starting with 'aiSettings.set', then removing the REM's in front of the next 4 lines starting with 'aiSettings.set'. Change the number at the end of the aiSettings.setMaxNBots 32 line to determine the number of bots to use (e.g. aiSettings.setMaxNBots 64 for 64 bots). Note that more bots can really stress your system and hence destabilize it, causing a crash back to desktop - particularly for those with older CPUs. For example, 64 bots on most older systems will cause a crash."
Hope that helps

-
- Posts: 4
- Joined: 2009-11-28 23:51
Re: How do you set more bots PR SP
I was looking for this
, wondering if this works coop (lan) with others if they have exactly the same changes made?

-
- Posts: 4210
- Joined: 2008-07-22 15:04
Re: How do you set more bots PR SP
Yes, send them your file you've changed (dont forget to make backup of original), and they can play with you on coop...

Orgies beat masturbation hands down. - Staker
-
- Posts: 4
- Joined: 2009-11-28 23:51
Re: How do you set more bots PR SP
thx, me and my friends figured this out, although it was bit of a chore due to the version suggested only crashed the game, so we guessed a lot on how to make it work. It worked after a while. 

-
- Posts: 4
- Joined: 2009-11-28 23:51
Re: How do you set more bots PR SP
I dont see why it should'nt work with other mods, this is how we did it (although it might look different with the FH 2 mod. The folder you are looking for is
Battlefield 2\mods\*FH 2 mod name*\ai) and in the ai folder is an aidefault "AIfile" which you open with notepad and change where necessary:
"Tweaked" it from this:
rem *** PRSP Ai v5 ***
echo *****************************************************************************************
echo ************************************ PRSP 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
to this:
rem *** PRSP Ai v5 ***
echo *****************************************************************************************
echo ************************************ PRSP 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.
aiSettings.overrideMenuSettings 1
aiSettings.setMaxNBots 60
aiSettings.maxBotsIncludeHumans 0
aiSettings.setBotSkill 0.9
run BotNames.ai
aiSettings.setInformationGridDimension 48
rem aiDebug.draw 1
run AIPathFinding.ai
I hope this helps
I hope this text was'nt too long and i am not guaranteeing this will work with your mod... MAKE BACKUPS OF THE FILES YOU CHANGE 
Battlefield 2\mods\*FH 2 mod name*\ai) and in the ai folder is an aidefault "AIfile" which you open with notepad and change where necessary:
"Tweaked" it from this:
rem *** PRSP Ai v5 ***
echo *****************************************************************************************
echo ************************************ PRSP 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
to this:
rem *** PRSP Ai v5 ***
echo *****************************************************************************************
echo ************************************ PRSP 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.
aiSettings.overrideMenuSettings 1
aiSettings.setMaxNBots 60
aiSettings.maxBotsIncludeHumans 0
aiSettings.setBotSkill 0.9
run BotNames.ai
aiSettings.setInformationGridDimension 48
rem aiDebug.draw 1
run AIPathFinding.ai
I hope this helps


-
- Posts: 8
- Joined: 2008-05-23 19:36
Re: How do you set more bots PR SP
I've just done this and the extra bots are in, but for some reason the game is jamming all of the bots into one team so the sides are horribly unbalanced. Autobalance doesn't sort the issue out, it just locks me into the team with the most players for some reason.
Does anyone have any suggestions what I've not got set properly?
Does anyone have any suggestions what I've not got set properly?
-
- Retired PR Developer
- Posts: 2205
- Joined: 2007-02-10 15:04
-
- Posts: 8
- Joined: 2008-05-23 19:36
Re: How do you set more bots PR SP
I've just double checked that and it's already at 50.strima wrote:Set your bot ration to 50.
Knowing me though it's probably something silly like that that I've missed...!
-
- Posts: 8
- Joined: 2008-05-23 19:36
Re: How do you set more bots PR SP
Just tried it and I'm still getting the same problem. Bah.WHPRaveman wrote:I used the bot sp downloader and it worked the first time. Try it.
-
- Posts: 4
- Joined: 2009-11-28 23:51
Re: How do you set more bots PR SP
Well it depends on how you want to play it... We wanted to be on the american, british etc against overwhelming enemy forces and we upped the bot percentage to 200% (it gave me 14 on the usmc and 48 on the mec for an example). You can change the bot percentage in the: serversettings CON file which is located in Battlefield 2\mods\pr_sp\settings
The line you might be looking for is "sv.teamRatioPercent"
Experiment a bit and youll get what you want
The line you might be looking for is "sv.teamRatioPercent"
Experiment a bit and youll get what you want

-
- Posts: 38
- Joined: 2008-06-18 15:18
Re: How do you set more bots PR SP
I chose 64 bots in the program and then changed the ratio to 100. It was 33-32 because i was in team 1
-
- Posts: 27
- Joined: 2009-02-14 23:05
Re: How do you set more bots PR SP
Ye its kinde of messed up since , you cant make enemy have 50 and you 14 coz the ration...Oskarious wrote:I chose 64 bots in the program and then changed the ratio to 100. It was 33-32 because i was in team 1
I think it can be fixed , but well im to lazy to google it xD