Increasing number of bots?

General discussion of the Project Reality: BF2 modification.
Suasponte
Posts: 36
Joined: 2013-11-04 00:18

Re: Increasing number of bots?

Post by Suasponte »

Doesn't...you'll get the message "You must use PR Launcher in BF2 root folder".In prev versions(.87-.95) it would CTD
Darman1138
Posts: 569
Joined: 2013-02-01 03:50

Re: Increasing number of bots?

Post by Darman1138 »

Forgotten Hope 2 has an option to select the number of bots you play with in their new launcher. Would it be easy to implement something like that or no?
titsmcgee852
Posts: 316
Joined: 2012-10-06 00:37

Re: Increasing number of bots?

Post by titsmcgee852 »

Yeah that's something I'd like to see as well.
ctbear1996
Posts: 123
Joined: 2013-09-09 22:36

Re: Increasing number of bots?

Post by ctbear1996 »

Make them smarter, that's the only thing I want.........
Nothing
Darman1138
Posts: 569
Joined: 2013-02-01 03:50

Re: Increasing number of bots?

Post by Darman1138 »

I have noticed that when you're capturing a flag, they do spin around slowly and check the area instead of just sitting and not moving.
Panzerfire
Posts: 1717
Joined: 2008-03-19 01:37

Re: Increasing number of bots?

Post by Panzerfire »

There're just two things I would like for the bots. That the bots using the rifleman kit were able to drop their ammo box at you upon request and a stop command in the commo rose for crewmembers so that when you're using the turret of a tank being driven by a bot, you can at least ask it to stop for 3 seconds so you can aim and fire. Maybe not possible. :razz: Still happy with PR: SP. Dodging the rain of hand grenades they throw at you after the last couple of updates sure is fun :D

USMCMIDN: KILL EVERYTHING!
gx: KILL! KILL! KILL 'EM ALL!!
[R-DEV]Dunehunter: Great attitude for hearts and minds :p
AnA10Warthog
Posts: 228
Joined: 2012-09-09 15:56

Post by AnA10Warthog »

Panzerfire wrote:There're just two things I would like for the bots. That the bots using the rifleman kit were able to drop their ammo box at you upon request and a stop command in the commo rose for crewmembers so that when you're using the turret of a tank being driven by a bot, you can at least ask it to stop for 3 seconds so you can aim and fire. Maybe not possible. :razz: Still happy with PR: SP. Dodging the rain of hand grenades they throw at you after the last couple of updates sure is fun :D
That's a little like asking for the meaning of life as a request. I don't think that bots can be recoded to do advanced action, hence the way medkits work in co-op.

Sent from my XT1060 using Tapatalk
"There's no way it's 3:30, oh wait, that's not my clock, that's my altimeter."-Happy, DCS World
RIOX
Posts: 4
Joined: 2016-03-16 12:57

Re: Increasing number of bots?

Post by RIOX »

'[R-DEV wrote: melonmuncher;1993218']Max number of bots on a local server with even teams is 96. after that the ratio becomes skewed.

To do so edit mod/pr/ai/aidefault.ai to look like

Code: Select all

rem *** PRSP Ai v5 ***

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

aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1

rem aiSettings.setMaxNBots 64
rem aiSettings.maxBotsIncludeHumans 1
rem 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 96
aiSettings.maxBotsIncludeHumans 0
aiSettings.setBotSkill 0.9

run botnames.ai
aiSettings.setInformationGridDimension 48
rem aiDebug.draw 1
run aipathfinding.ai
(Set the difficulty to whatever you want)

Then in game change the bot ratio to 100.
Bots on each team to 48, or half of whatever you set in the aidefault.
For example 64 bots would need the bot count set to 32.
Image

And that's it, more bots.

Edit: While you can edit the aidefault and still retain the ability to play online I would advise to make a backup.
Still work on 1.3.5 ?
Outlawz7
Retired PR Developer
Posts: 17261
Joined: 2007-02-17 14:59

Re: Increasing number of bots?

Post by Outlawz7 »

Yes it does
Image
Jacksonez__
Posts: 1090
Joined: 2013-07-28 13:19

Re: Increasing number of bots?

Post by Jacksonez__ »

Wing Walker wrote:Is there a way to have the number of bots go past 48 in the other team?

I increased the bots to 200, but the second team is stuck at 48. My goal is 1v200.
I had (/have BF2 Bot Changer script) and iirc I was able to play like 1v200. It lagged way too much, though.

It has been long time since I last used it and not sure if it still works with the newest version.

http://www.gamewatcher.com/mods/battlef ... er-2-1-mod
Fastjack
PR:BF2 Contributor
Posts: 525
Joined: 2011-09-04 19:47

Re: Increasing number of bots?

Post by Fastjack »

Rudd wrote:there is a way of doing it, I remember testing the very first attempts at 1.0 weapon accuracy with 200 bots on kozelsk :P

Serversettings :

GameServerSettings.setCoopBotRatio or GameServerSettings.setTeamRatio 200 or another value. One of them was it sofar i remember
Ingame menu, you can only choose the value of 100 or less but in the serversettings you can edit the value and go over the 100%
Make the serversettings readonly.
Last edited by Fastjack on 2016-06-17 16:07, edited 1 time in total.
SANGUE-RUIM
Posts: 1390
Joined: 2009-04-26 12:37

Re: Increasing number of bots?

Post by SANGUE-RUIM »

would there be a way to get all bots on team2 only?

I put 200 bots, but I can't get them to be on team2, only on team1... I followed melonmuncher's tutorial...
Cazack
Posts: 3
Joined: 2018-06-26 17:18

Re: Increasing number of bots?

Post by Cazack »

Any way to do it in 1.6.1.3? i tried to change aidefault but crashes when i hit deploy
WingWalker
Posts: 349
Joined: 2020-04-09 21:03

Re: Increasing number of bots?

Post by WingWalker »

Mucho Necro

You can do it if you mod it yourself and play offline.


I modified it once for 200 bots, but the Team 2 is limited to 48, so all the extra bots go on Team 1.

The lag increases a lot with adding bots.
W.W.
v0.4
laiki
Posts: 27
Joined: 2017-05-16 11:31

Re: Increasing number of bots?

Post by laiki »

ctbear1996 wrote:Make them smarter, that's the only thing I want.........
I second this, I would like the bots could go inside the buildings and to the top of the roof, it would be great
ChiknCoop
Posts: 1
Joined: 2020-08-18 22:56

Re: Increasing number of bots?

Post by ChiknCoop »

For some reason, I can't save the edit to the file because of something about not having permission to save it. Does anybody have a fix to this?
AlonTavor
PR:BF2 Developer
Posts: 2991
Joined: 2009-08-10 18:58

Re: Increasing number of bots?

Post by AlonTavor »

ChiknCoop wrote:For some reason, I can't save the edit to the file because of something about not having permission to save it. Does anybody have a fix to this?
Run your notepad as admin, or save to desktop and paste over (which will trigger windows' admin prompt)
Rabbit
Posts: 7818
Joined: 2006-12-17 15:14

Re: Increasing number of bots?

Post by Rabbit »

AlonTavor wrote:save to desktop and paste over (which will trigger windows' admin prompt)
Image
Image

AfSoccer "I just don't see the natural talent."
Image
Post Reply

Return to “PR:BF2 General Discussion”