|
|||||||
| Register | Forum Rules | Developer Blogs | Project Reality | Members List | Search | Today's Posts | Mark Forums Read |
| PR:BF2 Support Help and support regarding PR:BF2 installation and ingame issues |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|
#1 |
![]() Join Date: Nov 2006
Posts: 48
|
Is it possible to spawn more than 32 bots in coop mode as I haven't been able to do it after editing:
\mods\pr\ai\aidefault.ai Code:
aiSettings.setNSides 2 aiSettings.setAutoSpawnBots 1 aiSettings.overrideMenuSettings 1 aiSettings.setMaxNBots 64 aiSettings.maxBotsIncludeHumans 1 aiSettings.setBotSkill 1.0 Code:
sv.maxPlayers 64 sv.coopBotCount 64 Code:
sv.maxPlayers 64 sv.coopBotCount 64 Code:
GameServerSettings.setMaxPlayers 64 GameServerSettings.setCoopBotCount 64 |
|
|
|
|
|
#2 | |
|
Support Technician
![]() |
If you edit aidefault.ai then dont touch bot settings in server setup screen or it will get overwritten. It works for me but if you want to have 64 bots on one side that will not work. May want to decrease bot difficulty a bit, 1.0 seems too extreme.
sv.maxPlayers and sv.CoopBotCount are not dependent on each other. You can set 16 slots for players and still have 64 bots in game. Note the lines with rem in front on the end of aidefault.ai file. Remove rem in front of them to activate override feature. Read the explanation in file its quite good explained. Quote:
![]() Remove rem only on bold text. | |
|
To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts. "If you tremble with indignation at every injustice, then you are a comrade of mine." |
||
|
|
Last edited by [R-COM]MaSSive; 07-14-2012 at 08:07 PM..
|
|
|
#3 | |||
![]() Join Date: Nov 2006
Posts: 48
|
Hey, thanks for the reply. Sorry for the long post here (skip to end for the answer)...
Quote:
Quote:
%USERPROFILE%\My Documents\Battlefield 2\Profiles\0002\ServerSettings.con Code:
GameServerSettings.setMaxPlayers 4 GameServerSettings.setCoopBotCount 64 %USERPROFILE%\My Documents\Battlefield 2\Profiles\Default\ServerSettings.con Code:
sv.maxPlayers 4 sv.coopBotCount 64 Code:
GameServerSettings.setCoopBotCount 48 Code:
sv.coopBotCount 48 So, I changed it to the following... %USERPROFILE%\My Documents\Battlefield 2\Profiles\0002\ServerSettings.con Code:
GameServerSettings.setMaxPlayers 4 GameServerSettings.setCoopBotCount 64 %USERPROFILE%\My Documents\Battlefield 2\Profiles\Default\ServerSettings.con Code:
sv.maxPlayers 128 sv.coopBotCount 64 ... So, let's try something else. If I set the following... %USERPROFILE%\My Documents\Battlefield 2\Profiles\0002\ServerSettings.con Code:
GameServerSettings.setMaxPlayers 128 GameServerSettings.setCoopBotCount 64 %USERPROFILE%\My Documents\Battlefield 2\Profiles\Default\ServerSettings.con Code:
sv.maxPlayers 128 sv.coopBotCount 64 ... I just don't get it. Something seems broken somewhere, or I'm missing something. I don't understand why the in-game menu changes of its own accord between the slider indicating "32" max players set or "48" based on the various combinations of configuration (which seems to determine what the configs are rewrote to), though no matter what I do I'm not able to spawn more than 32 bots. Quote:
Code:
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 64 aiSettings.maxBotsIncludeHumans 1 aiSettings.setBotSkill 1.0 run BotNames.ai aiSettings.setInformationGridDimension 48 rem aiDebug.draw 1 run AIPathFinding.ai \mods\pr\ai\aidefault.ai Code:
aiSettings.overrideMenuSettings 1 aiSettings.setMaxNBots 64 aiSettings.maxBotsIncludeHumans 0 <------------------- instead of 1 aiSettings.setBotSkill 0.9 Code:
GameServerSettings.setMaxPlayers 128 GameServerSettings.setCoopBotCount 64 Code:
sv.maxPlayers 128 sv.coopBotCount 64 Thanks for the prod, it got me there in the end. | |||
|
|
|
|
|
#4 |
|
Support Technician
![]() |
I dont know it might have something to do with
Code:
aiSettings.setInformationGridDimension 48 Finally I hate numbers and math, never was good at it. Glad you got it sorted. |
|
To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts. "If you tremble with indignation at every injustice, then you are a comrade of mine." |
|
|
|
|
|
|
|
|
|
|
![]() |
| Tags |
| bot, limit |
| Thread Tools | |
| Display Modes | |
|
|