how can i play with bots

Suggestions and feedback pertaining to Project Reality Single Player.
chilean
Posts: 124
Joined: 2009-10-02 00:54

how can i play with bots

Post by chilean »

hello everyone, well since i got the PRSP 0.87, i cant play with bot in on my side
the only thing i can do is just play 1 vs 1 or 1 vs 48, I cant put bot on my side!
so if someone knows how to fix this please tell me it would be apreciable.

PD: i already try with Autobalance option ingame and consol command like sv.autobalanceteam 1 and sv.autobalanceteam 1-


Thanks
SgtDad
Posts: 223
Joined: 2009-04-12 02:54

Re: how can i play with bots

Post by SgtDad »

I wish I had some bots to play with, too!

Asad Khal - I try to join a squad, but there are none available; when I spawn, all I hear are crickets in my head...that place can be pretty lonely without something to shoot at or shooting back...

I wonder if it has anything to do with altering the number of bots I wanted in 0.85? I had upped it to 40. Then, when 0.87 became available, I installed patch then 0.86, BF 1.5, patch and then PRSP 0.87. Will someone with an PR IQ higher than 0.86 please respond? :o ops:
THOSE WHO BEAT THEIR SWORDS INTO PLOWSHARES, WILL PLOW FOR THOSE WHO DON'T.
Sandy_Beret
Posts: 754
Joined: 2006-09-13 02:14

Re: how can i play with bots

Post by Sandy_Beret »

@Chilean - I think you'll find that maybe when you start a singleplayer game that the server options are what you need to alter - there is a ratio (which I can't remember just now) which can be changed on a slider which determines the ration of the number of bots... maybe - or PM one of the SP DEVs

maybe...

@ Sgt. Dad - I am not sure I understand what you mean there... perhaps if you rephrase the question...
"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
SgtDad
Posts: 223
Joined: 2009-04-12 02:54

Re: how can i play with bots

Post by SgtDad »

I'm sorry Sandy. I went here 2 weeks ago - C:\Program Files\EA GAMES\Battlefield 2\mods\pr_sp_08\ai

and opened the aidefault folder with Notepad, and I changed it to this:

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 39
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


I got 20 bots on one side and 19 on the other; I (Human) balanced out the teams. I then absentmindedly upgraded (following the chain beginning with v0.86) to PRSP v0.87 without first changing the rem and maxbot settings to original config. Could THAT be why I have no bots in v0.87?
Note - I have not installed PRMP v0.87.
THOSE WHO BEAT THEIR SWORDS INTO PLOWSHARES, WILL PLOW FOR THOSE WHO DON'T.
SgtDad
Posts: 223
Joined: 2009-04-12 02:54

Re: how can i play with bots

Post by SgtDad »

I was going to edit my post above, but decided to leave it for the benefit of others.

Problem almost solved. I didn't find other bots because I wasn't attacking where they were attacking - when they found me, it was 14 vs 1 (me). I undid the changes to my aidefault folder. Then I went back into PRSP and unchecked Autobalance. Next, I played with the Players, Bots, and Ratio figures on top of the pre-deployment page. Here's what happened:

Players * Bots * Ratio * Results

14 * 14 * 100 * 1(me) vs 14
16 * 18 * 100 * 1/20
18 * 20 * 50 * 10/10
30 * 32 * 50 * 16/16!
! - in the case of both teams, the squads at 16 vs 16 balanced out like this - 1stsqd=5members, 2nd=5, 3rd=4, 4th=2. I don't know why. However, when I return I'm going back to my aidefault folder for pr_sp_08 and re-do the changes; that is, of course, unless one of you tells me of a better move so I can stop this insanity! :D

Anyway, I've got a few days left to my vacation and won't return to this thread until 10/09/2009. I hope my little experimentation helps someone! :mrgreen:
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: how can i play with bots

Post by Pte. Brown »

G'day guys. Look under the heading 'Coop Bot Ratios Explained' on this page:

Allied Intent Xtended Website : The premiere coop and single player mod for battlefield 2! Home

It's a good explanation of how the Number of Bots slider works.

And AFAIK, the Max Players slider is for human players and has no effect on bot numbers.
SgtDad
Posts: 223
Joined: 2009-04-12 02:54

Re: how can i play with bots

Post by SgtDad »

Well, I'm baaacckk! Miss me? HA!

I played around in the aidefault folder again, boosting bot number to 69, and got the following results, which are strange, but I was successful.

The first number will always represent the number adjusted on the (pre-deployment) Players slidebar; the second number the Bots on the slidebar; the third number is the Ratio on the slidebar, and the last will be Your side/Bot side number appearing in the game -

30-32 @ 50 = 16/16
24-26 @ 50 = 13/13
21-42 @ 50 = 22/21
20-39 @ 50 = 20/20 (Yay! Well, sort of...)

I found that even if I boosted the number of bots in the aidefault folder to 80, I can still only field one balanced team of 20/20 at the last setting listed. What am I doing wrong, if anything?



Now I'm going to read the thread titled "playing SP with 48 bots" or something like that. And Yes! The cruise was really good, well deserved and the peace was needed...

Well! I just found this on the other thread, so, for the benefit of the reader what knows that he's doing, I'll repost an answer below, and respectfully request this thread be closed. The poster's id tag is 503 (credited with all respect)

"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."
Last edited by SgtDad on 2009-10-09 18:09, edited 1 time in total.
THOSE WHO BEAT THEIR SWORDS INTO PLOWSHARES, WILL PLOW FOR THOSE WHO DON'T.
UK_Force
Retired PR Developer
Posts: 10823
Joined: 2005-04-07 12:00

Re: how can i play with bots

Post by UK_Force »

Haha

Just gotta love that title

how can i play with bots
:mrgreen: :mrgreen:
strima
Retired PR Developer
Posts: 2205
Joined: 2007-02-10 15:04

Re: how can i play with bots

Post by strima »

You have a very sick mind UKF!!!! You'll get your botty spanked!!!! :lol:
Image
DirkDiggler
Posts: 6
Joined: 2012-03-24 13:36

Re: how can i play with bots

Post by DirkDiggler »

Everywhere I've looked, I can NOT get this working (lopsided bot teams). Playing with .97. I've tried the Allied Intent Xtended Website : The premiere coop and single player mod for battlefield 2! Home link and doing those steps do NOT work. My aidefault.ai file has the following:

aiSettings.overrideMenuSettings 1
aiSettings.setMaxNBots 84
aiSettings.maxBotsIncludeHumans 0
aiSettings.setBotSkill 0.5

On the create local menu, I make bot ratio: 100 and players: 1. My server settings.con has the following:

sv.autoBalanceTeam 1
sv.teamRatioPercent 50
sv.coopBotRatio 100
sv.coopBotCount 42
sv.coopBotDifficulty 70

What am I doing wrong? Thanks
USMC scout sniper
Posts: 487
Joined: 2010-01-03 04:21

Re: how can i play with bots

Post by USMC scout sniper »

I've noticed that when you add more than 64 max number of bots it never ends up even teams no matter what you do.
HELL HAVE NO FURY LIKE ME WITH A M249 SAW PIP!
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: how can i play with bots

Post by MaSSive »

DirkDiggler wrote: sv.coopBotRatio 100

What am I doing wrong? Thanks
Make that 50 and you get bots on both sides.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
DirkDiggler
Posts: 6
Joined: 2012-03-24 13:36

Re: how can i play with bots

Post by DirkDiggler »

[R-COM]MaSSive wrote:Make that 50 and you get bots on both sides.
Nope, still happening. To clarify what's happening; 76 bots are spawning on my team and 8 on the opposing no matter what map I choose.
Bob of Mage
Posts: 227
Joined: 2010-09-29 09:39

Re: how can i play with bots

Post by Bob of Mage »

The issue is your setting bot ratio to 100. That means 100% of bot will be on one team (I forget which one). Setting it to 50 will mean that each team gets 50% of the bots. Also I don't think changing it in the consle does anything. You need to set it when you start your server.
DirkDiggler
Posts: 6
Joined: 2012-03-24 13:36

Re: how can i play with bots

Post by DirkDiggler »

Bob of Mage wrote:The issue is your setting bot ratio to 100. That means 100% of bot will be on one team (I forget which one). Setting it to 50 will mean that each team gets 50% of the bots. Also I don't think changing it in the consle does anything. You need to set it when you start your server.
which I did at Massive's suggestion and no difference.

This is what my serversettings.con currently has:

sv.serverName "Project Reality Server"
sv.password ""
sv.internet 0
sv.serverIP ""
sv.serverPort 16567
sv.welcomeMessage "Welcome to a Project Reality server!"
sv.punkBuster 0
sv.allowFreeCam 0
sv.allowExternalViews 0
sv.allowNoseCam 0
sv.hitIndicator 0
sv.maxPlayers 64
sv.numPlayersNeededToStart 1
sv.notEnoughPlayersRestartDelay 15
sv.startDelay 15
sv.endDelay 15
sv.spawnTime 10
sv.manDownTime 10
sv.endOfRoundDelay 15
sv.ticketRatio 100
sv.roundsPerMap 1
sv.timeLimit 0
sv.scoreLimit 0
sv.soldierFriendlyFire 100
sv.vehicleFriendlyFire 100
sv.soldierSplashFriendlyFire 100
sv.vehicleSplashFriendlyFire 100
sv.tkPunishEnabled 1
sv.tkNumPunishToKick 3
sv.tkPunishByDefault 0
sv.votingEnabled 1
sv.voteTime 90
sv.minPlayersForVoting 1
sv.gameSpyPort 29900
sv.allowNATNegotiation 0
sv.interfaceIP ""
sv.autoRecord 0
sv.demoIndexURL http://
sv.demoDownloadURL http://
sv.autoDemoHook "adminutils/demo/rotate_demo.exe"
sv.demoQuality 1
sv.adminScript "default"
sv.timeBeforeRestartMap 30
sv.autoBalanceTeam 1
sv.teamRatioPercent 50
sv.coopBotRatio 50
sv.coopBotCount 42
sv.coopBotDifficulty 70
sv.voipEnabled 1
sv.voipQuality 3
sv.voipServerRemote 0
sv.voipServerRemoteIP ""
sv.voipServerPort 55125
sv.voipBFClientPort 55123
sv.voipBFServerPort 55124
sv.voipSharedPassword ""
sv.useGlobalRank 1
sv.useGlobalUnlocks 1
sv.sponsorText "Welcome to a Project Reality server!|pr_maplist"
sv.sponsorLogoURL ""
sv.communityLogoURL ""
sv.radioSpamInterval 6
sv.radioMaxSpamFlagCount 6
sv.radioBlockedDurationTime 30
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: how can i play with bots

Post by MaSSive »

sv.autoBalanceTeam 0
sv.teamRatioPercent 100
sv.coopBotRatio 50
sv.coopBotCount 32
sv.coopBotDifficulty 0.7
Try that one.
Image
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
DirkDiggler
Posts: 6
Joined: 2012-03-24 13:36

Re: how can i play with bots

Post by DirkDiggler »

[R-COM]MaSSive wrote:Try that one.
same issue. I lowered the bot number to 64 on my aidefault.ai file and all that did was make 56 bots on my team and still 8 bots on the opposing.
TommyGunn
Posts: 176
Joined: 2010-07-17 17:09

Re: how can i play with bots

Post by TommyGunn »

Well then guys, make all bot on opposite side and when u do that, i'll give u the cell number of Chuck Norris :-P
Image

Image
MaSSive
Posts: 4502
Joined: 2011-02-19 15:02

Re: how can i play with bots

Post by MaSSive »

DirkDiggler wrote:same issue. I lowered the bot number to 64 on my aidefault.ai file and all that did was make 56 bots on my team and still 8 bots on the opposing.
Dont know works fine on my dedi server. Try and restore your aidefault.ai

Code: Select all

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
CATA4TW!

"People never lie so much as before an election, during a war, or after a hunt."
"God has a special providence for fools, drunks, and the United States of America."
― Otto von Bismarck
DirkDiggler
Posts: 6
Joined: 2012-03-24 13:36

Re: how can i play with bots

Post by DirkDiggler »

'[R-COM wrote:MaSSive;1750823']Dont know works fine on my dedi server. Try and restore your aidefault.ai

Code: Select all

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

Did this and it made for only 8 bots per team :roll: At least they were even teams but not nearly the number I'm trying to play with. For some reason the mod won't let my opposing team have more than 8 bots no matter what. There has got to be something in a configuration file that I haven't touched yet to be causing this.
Post Reply

Return to “Coop & Singleplayer”