Author Topic: cant get bots set to both sides with linux dedicated server and coop  (Read 1239 times)

Offline city hunter

  • Newbie
  • *
  • Posts: 49
    • View Profile
I cannot get the bots to deploy evenly on both teams. THe serversettings.con doesnt seem to do anything to the bot distribution.

Every time I join I just get me and 1 bot, then the rest on the other team. I've been searc hing and trying everything, but cannot find anything that actually works. Keepo in mind this is linux command line, not gui, so please dont tell me to slide the slider ;) I've also played with autobalance and that doesnt work either

my current settings 

sv.coopBotRatio   64
sv.coopBotCount   32
sv.coopBotDifficulty 40

ai setting
echo *****************************************************************************************
echo AIDefault.ai ****************************************************************************
echo *****************************************************************************************

aiSettings.setNSides 2
aiSettings.setAutoSpawnBots 1

aiSettings.overrideMenuSettings 1
rem NOTE: the "run UserSettings.ai" below may override the following settings
aiSettings.setMaxNBots 63
aiSettings.maxBotsIncludeHumans
aiSettings.setBotSkill 0.80

run UserSettings.ai

run BotNames.ai

aiSettings.setInformationGridDimension 32


run AIPathFinding.ai

rem aiDebug.draw 1


rem EOF

Offline Michael Z Freeman

  • Jr. Member
  • **
  • Posts: 811
  • The Few are many ;)
    • View Profile
    • Homepage
Quote
echo SERVER
echo *************************************************************
echo *__________Hardware_Accelerated_Battlefield_AI______________*
echo *_______DJ_Barney_http://www.moddb.com/mods/habai___________*
echo *************************************************************
sv.serverName "HABAI Coop and SP"
sv.password ""
sv.adminScript "default"
sv.internet 0
sv.bandwidthChoke 0
sv.serverIP "127.0.0.1"
sv.interfaceIP "127.0.0.1"
sv.serverPort 16567
sv.welcomeMessage "Welcome to HABAI"
sv.punkBuster 0
sv.allowFreeCam 0
sv.allowExternalViews 1
sv.allowNoseCam 1
sv.allowSpectators 0
sv.hitIndicator 1
sv.autoBalanceTeam 0
sv.teamRatioPercent 100
sv.coopBotRatio 100
sv.coopBotCount 95
sv.maxPlayers 1
sv.CoopBotDifficulty 90
sv.numPlayersNeededToStart 1

sv.notEnoughPlayersRestartDelay 15
sv.startDelay 0
sv.endDelay 5
sv.spawnTime 3
sv.endOfRoundDelay 5
sv.ticketRatio 500
sv.roundsPerMap 1
sv.timeLimit 0
sv.soldierFriendlyFire 0
sv.vehicleFriendlyFire 0
sv.soldierSplashFriendlyFire 0
sv.vehicleSplashFriendlyFire 0
sv.FriendlyFireWithMines 0
sv.tkPunishEnabled 0
sv.tkNumPunishToKick 3
sv.tkPunishByDefault 0
sv.votingEnabled 1
sv.voteTime 5
sv.minPlayersForVoting 1
sv.allowNATNegotiation 0
sv.autoRecord 0
sv.voipEnabled 0
sv.voipQuality 3
sv.voipServerRemote 0
sv.voipServerRemoteIP ""
sv.voipServerPort 55125
sv.voipBFClientPort 55123
sv.voipBFServerPort 55124
sv.voipSharedPassword ""
sv.useGlobalRank 0
sv.useGlobalUnlocks 0

Some of the way the settings are named is counter intuitive. There's a spreadsheet table of all the settings with descriptions somewhere. I think it's included in the help files installed with BF2 but I can provide it on request.

The above is the maximum you can have with a 50/50 balance. 48 on each time (+ or minus at least 1 human player however its setup with include or exclude human player in count). Any bots above this will be added to ONE team NOT distributed between the two.

Happy hunting  ;D

Offline city hunter

  • Newbie
  • *
  • Posts: 49
    • View Profile
Thanks, I will give it a try.