PRSP more than 48 bots ?

Suggestions and feedback pertaining to Project Reality Single Player.
Post Reply
K4on
Retired PR Developer
Posts: 5055
Joined: 2009-05-08 19:48

PRSP more than 48 bots ?

Post by K4on »

hi,
i just like to ask if it is possible to play pr sp with more than 48 bots...
for example 86 bots would be an epic battle on the kashan map.
503
Posts: 679
Joined: 2008-08-30 02:53

Re: PRSP more than 48 bots ?

Post by 503 »

I know it's possible to get 48 bots EQUALLY on each side. I played it with 48 bots on each side for a total of 86 on Kashan, and yes, it was epic, though a bit rough on my CPU.

You could play with more bots than 86, but from my experience, the OPFOR side can never get more than 48, so the remaining would just pile up on the BlurFor side.
thebeanie
Posts: 119
Joined: 2009-01-18 05:39

Re: PRSP more than 48 bots ?

Post by thebeanie »

503 wrote:I know it's possible to get 48 bots EQUALLY on each side. I played it with 48 bots on each side for a total of 86 on Kashan, and yes, it was epic, though a bit rough on my CPU.

You could play with more bots than 86, but from my experience, the OPFOR side can never get more than 48, so the remaining would just pile up on the BlurFor side.
so..... how did you do it?
503
Posts: 679
Joined: 2008-08-30 02:53

Re: PRSP more than 48 bots ?

Post by 503 »

In the aidefault.con file, I changed the number of bots to 86.

I figured that this would let me have 48 bots on each side.

Unfortunately it was actually 54 vs 32 bots. This confused me a bit, but then I began experimenting with the sliders.

With Bot Ratio at 100, and Max Players at 1, you can get 48 bots on each side.
K4on
Retired PR Developer
Posts: 5055
Joined: 2009-05-08 19:48

Re: PRSP more than 48 bots ?

Post by K4on »

503 wrote:In the aidefault.con file, I changed the number of bots to 86.

I figured that this would let me have 48 bots on each side.

what location ? is it that file?: \EA GAMES\Battlefield 2\mods\pr_sp\ai ?
there is only a file called
aidefault.ai and i changed the botnumber to 86 but ingame nothing happened, just playing with still 32 bots
Pte. Brown
Posts: 6
Joined: 2009-10-05 06:42

Re: PRSP more than 48 bots ?

Post by Pte. Brown »

K4on wrote:what location ? is it that file?: \EA GAMES\Battlefield 2\mods\pr_sp\ai ?
there is only a file called
aidefault.ai and i changed the botnumber to 86 but ingame nothing happened, just playing with still 32 bots
That's the file you want, but you need to add the line:

aiSettings.overrideMenuSettings 1

This will override the in-game sliders/settings.
K4on
Retired PR Developer
Posts: 5055
Joined: 2009-05-08 19:48

Re: PRSP more than 48 bots ?

Post by K4on »

Pte. Brown wrote:That's the file you want, but you need to add the line:

aiSettings.overrideMenuSettings 1

This will override the in-game sliders/settings.
thanks, ill check it soon ;)
ben748
Posts: 91
Joined: 2009-03-07 22:15

Re: PRSP more than 48 bots ?

Post by ben748 »

You could try using bf2spcc, can force up to 150 bots, problem is, doesnt seem to want to balance them even with autobalance in spcc ticked.
K4on
Retired PR Developer
Posts: 5055
Joined: 2009-05-08 19:48

Re: PRSP more than 48 bots ?

Post by K4on »

@ brown, i think it works now. but the mec/opp team just have 32 bots max.




edit: "
Unfortunately it was actually 54 vs 32 bots. This confused me a bit, but then I began experimenting with the sliders.

With Bot Ratio at 100, and Max Players at 1, you can get 48 bots on each side."
ballard_44
Retired PR Developer
Posts: 1204
Joined: 2007-05-30 22:47

Re: PRSP more than 48 bots ?

Post by ballard_44 »

Have you guys tried editing the serversettings.con file located in...

Code: Select all

Program Files\EA GAMES\Battlefield 2\mods\pr_sp\settings
to see if you get the results you want?
Image
503
Posts: 679
Joined: 2008-08-30 02:53

Re: PRSP more than 48 bots ?

Post by 503 »

Image
48 bots on each side


Image
Settings





aidefault file. apparently, I put the number of bots at 80. not 86
rem *** PRSP Ai v5 ***

echo *****************************************************************************************
echo ************************************ PRSP AI Loaded *************************************
echo *****************************************************************************************

aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1

aiSettings.setMaxNBots 80
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 80
aiSettings.maxBotsIncludeHumans 1
aiSettings.setBotSkill 0.9

run BotNames.ai
aiSettings.setInformationGridDimension 80
rem aiDebug.draw 1
run AIPathFinding.ai
Run AIBotChanger.ai

I never even touched the seversettings file
jim1994
Posts: 191
Joined: 2008-04-13 17:02

Re: PRSP more than 48 bots ?

Post by jim1994 »

I got this little program that i downloaded somewhere that lets me add up to about over 200 bots. I cant beleive it works for prsp, but I can only play with 96 other bots because of the balancing, so when I play its 48 vs 46.
Sandy_Beret
Posts: 754
Joined: 2006-09-13 02:14

Re: PRSP more than 48 bots ?

Post by Sandy_Beret »

jim1994 wrote:I got this little program that i downloaded somewhere that lets me add up to about over 200 bots. I cant beleive it works for prsp, but I can only play with 96 other bots because of the balancing, so when I play its 48 vs 46.
This is the program's webpage:
BF2 Bot Changer
:)
"Be peaceful, be courteous, obey the law, respect everyone;
but if someone puts his hand on you, send him to the cemetery."


- Malcolm X
ImageImage
jim1994
Posts: 191
Joined: 2008-04-13 17:02

Re: PRSP more than 48 bots ?

Post by jim1994 »

Sandy_Beret wrote:This is the program's webpage:
BF2 Bot Changer
:)
You are correct sandy :p
but im using version 2.1 ;-)
SgtDad
Posts: 223
Joined: 2009-04-12 02:54

Re: PRSP more than 48 bots ?

Post by SgtDad »

But 503, you're using Bot Changer, are you not? At least that's what the bottom lines of your aidefault folder indicate... :o ops:

To Pte. Brown - you said "That's the file you want, but you need to add the line:

aiSettings.overrideMenuSettings 1

This will override the in-game sliders/settings."

But it's already on there... :shock: Here's what my aidefault folder currently looks like - with ratio at 100, Players set to 1, it was 1 vs 48... :o ops:

rem *** PRSP Ai v5 ***

aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1

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

rem To spawn more than 15 bots in SP, use the following lines instead of the three lines above.
rem Note that this is totaly unsupported, it will affect your system's performance
rem and may even crash your game. That being said, you will most likely be able to run a lot
rem more bots than 15 on your system.

rem Example for 32 bot game with expert bots

aiSettings.overrideMenuSettings 1
aiSettings.setMaxNBots 86
aiSettings.maxBotsIncludeHumans 0
aiSettings.setBotSkill 0.9

rem BotSkill 1.0 is the highest it will go

run BotNames.ai

aiSettings.setInformationGridDimension 48

rem aiDebug.draw 1

run AIPathFinding.ai

rem EOF
THOSE WHO BEAT THEIR SWORDS INTO PLOWSHARES, WILL PLOW FOR THOSE WHO DON'T.
Pte. Brown
Posts: 6
Joined: 2009-10-05 06:42

Re: PRSP more than 48 bots ?

Post by Pte. Brown »

SgtDad: Sorry I should have said "This will override the in-game sliders/settings for the number of bots and difficulty level." ;-)

I usually play with 32 bots so I haven't had to change my aidefault file, but I thought I'd try and replicate your problem:

My aidefault:

Code: Select all

rem *** PRSP Ai v5 ***

echo *****************************************************************************************
echo ************************************ PRSP AI Loaded *************************************
echo *****************************************************************************************

aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1
aiSettings.overrideMenuSettings 1
aiSettings.setMaxNBots 86
aiSettings.maxBotsIncludeHumans 0
aiSettings.setBotSkill 0.3

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
Ingame sliders--> No. Bots: 48 and Bot Ratio: 100 = 48 bots on China/MEC, rest on US

The rest should be exactly that, in this case 38 bots, which is what I ended up with.

I can't understand why you end up with a team split of 0/48 with those settings? :confused:
SgtDad
Posts: 223
Joined: 2009-04-12 02:54

Re: PRSP more than 48 bots ?

Post by SgtDad »

:D Pte. Brown, thank you very much for responding so quickly and thoroughly. Our aidefault files are different - I don't have the "echo" lines; you made your bot changes to the upper three command lines, and I made mine to the lower four, as per the instructions found here -

BF2-BF2142 FAQ/Patching/Unlocks/AI Editing - Battlefield SinglePlayer Forum

There are instructions almost half way down the page titled "Adding More Bots".

All PR downloads being the same, I don't "believe" I should have any problems if I cut and paste your files into my folder (keep in mind that I've stored a copy of the original). Obviously, I don't have much experience in playing with files and folders, but am very much willing to look the fool if it will help others, because I've seen several threads regarding the same problem - bot numbers - and there must be one solution as there is really but one download for the "mainframe", or guts (if you will) of the game. I'll wait an hour or so in case someone wants to warn me from committing cyber-suicide(:lol :) ; if not, I'll make the changes and post the results here.

Again, my sincere thanks - I'm sure it will be helpful to others as well.

Roland
THOSE WHO BEAT THEIR SWORDS INTO PLOWSHARES, WILL PLOW FOR THOSE WHO DON'T.
SgtDad
Posts: 223
Joined: 2009-04-12 02:54

Re: PRSP more than 48 bots ?

Post by SgtDad »

Well I did it - that is, I replaced my aidefault folder with the one provided by Pte. Brown, who was gracious enough to post it.

The best I could do was to get the teams split 24/24; meaning 25/24 if you count me in. The settings were a 50% bot ratio with 16 Players and 48 Bots on the slidebars. In my honest opinion, biased only by my ignorance in computer language and programming, the problem lies in whatever command lines control the number represented by the Bots slidebar. That little puppy won't budge no matter what numbers I change in the aidefault folder, nor how high I set them. All things considered, all's well that ends well!

I'm not disappointed though. No matter how I slice it, the game is still a lot of fun and can only be enhanced when I finally experience some online play against you guys! :smile:

Here, try this -

from shephart11 (Germany) on another thread - -
"i tried it with bot ratio 64 and now its balanced ! thanks you all !

who have problems with 64 bots (32 vs 32) :

change in the AIdefault the botnumbers to 64 , then in game the bot ratio to 64 !"

Thank goodness I saved my original files. All that messing around has destabilized the game loading. I will live happily with 20/20 -
settings at 20 players, 39 bots, and ratio at 50%.
Last edited by SgtDad on 2009-10-11 00:07, edited 2 times in total.
Reason: Warning of game stability...
THOSE WHO BEAT THEIR SWORDS INTO PLOWSHARES, WILL PLOW FOR THOSE WHO DON'T.
Pte. Brown
Posts: 6
Joined: 2009-10-05 06:42

Re: PRSP more than 48 bots ?

Post by Pte. Brown »

SgtDad: Yeah I noticed our aidefault files were different, but as far as I can see, as long as these lines are used...

Code: Select all

aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1
aiSettings.overrideMenuSettings 1
aiSettings.setMaxNBots 86
aiSettings.maxBotsIncludeHumans 0
aiSettings.setBotSkill 0.3
...it shouldn't matter whether your using the top or the bottom lines. I don't know what the 'echo' lines are.

The Bot Ratio is the percentage of bots (Number of Bots) that will be on China/MEC team.
The best I could do was to get the teams split 24/24; meaning 25/24 if you count me in. The settings were a 50% bot ratio with 16 Players and 48 Bots on the slidebars.
In this case, 50% of the 48 on Ch./MEC, and the other 24 on US. If you change the BR to 100, you'd get 0/48 (100% of the 48 on Ch./MEC).

To put it another way, if you wanted 20v40, set aiSettings.setMaxNBots 60, BR 100, No.Bots 40.

It's amazing how completely illogical it is (Thanks again EA).

Just to clarify, are you using PRSP .087?
SgtDad
Posts: 223
Joined: 2009-04-12 02:54

Re: PRSP more than 48 bots ?

Post by SgtDad »

Oh, yes I'm using PRSP 0.87. My hair turned white and I went sterile absorbing all the PC "radiation" (hehe!) I did sitting here waiting for the final cut! I don't have any ctd's and experienced only a little instability while playing with the aidefault numbers (screen flashing off and on for a few milliseconds) but it's okay, now that I've gone to the original files and tweaked it to a 20/20 ratio. This is the location of the file -

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

It's probably just me, but if not, hopefully with PR ver 0.9 they'll tweak this, or we can all attend EA Math 101... :lol:
Last edited by SgtDad on 2009-10-11 15:45, edited 1 time in total.
THOSE WHO BEAT THEIR SWORDS INTO PLOWSHARES, WILL PLOW FOR THOSE WHO DON'T.
Post Reply

Return to “Coop & Singleplayer”