Announcement

Collapse
No announcement yet.

Tried adding bots same way as in bf2 and it doesnt work

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Tried adding bots same way as in bf2 and it doesnt work

    Can anyone explain why it doesn't have more then 8 bots when I edited the AIdefault file which is what you did in bf2 to add more bots?

  • #2
    Re: Tried adding bots same way as in bf2 and it doesnt work

    I can't explain why you couldn't get it to work, I didn't have any trouble modifying the number of bots. I take it you are referring to single player?

    I would guess your problem is one of two things - you are editing the wrong AIdefault file, or you have not edited the file correctly.

    Comment


    • #3
      Re: Tried adding bots same way as in bf2 and it doesnt work

      I am not sure either what the issue is I have edited the correct file it even states in the file the proper format to use. As I stated before I have already edited the BF2 File several times to adjust the amount of bots but when I edit the one in the SF folder it doesn't change a thing >_<

      Comment


      • #4
        Re: Tried adding bots same way as in bf2 and it doesnt work

        Moved to modding forum.

        Comment


        • #5
          Re: Tried adding bots same way as in bf2 and it doesnt work

          From memory the files are identical in form and function anyway. Just backup your SF copy of AIDefault, then copy over the file from vanilla BF2.

          Comment


          • #6
            Re: Tried adding bots same way as in bf2 and it doesnt work

            Does your file look like this:

            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 32
            aiSettings.maxBotsIncludeHumans 0
            aiSettings.setBotSkill 0.4

            run BotNames.ai

            aiSettings.setInformationGridDimension 32


            run AIPathFinding.ai

            rem EOF

            Comment


            • #7
              Re: Tried adding bots same way as in bf2 and it doesnt work

              Here's mine, but this one is from my laptop and I can't remember when it was actually tested. I normally one of my other rigs to do this on.

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

              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 30
              aiSettings.maxBotsIncludeHumans 0
              aiSettings.setBotSkill 1.0

              run BotNames.ai

              aiSettings.setInformationGridDimension 32


              run AIPathFinding.ai

              rem EOF

              Comment


              • #8
                Re: Tried adding bots same way as in bf2 and it doesnt work

                I would normally run aiSettings.maxBotsIncludeHumans 1 as well, to keep a lid on numbers.

                Comment


                • #9
                  Re: Tried adding bots same way as in bf2 and it doesnt work

                  Originally posted by Jashobeam
                  From memory the files are identical in form and function anyway. Just backup your SF copy of AIDefault, then copy over the file from vanilla BF2.
                  This worked for me.........I simply copied the file from regular BF2 to the SF folder. Also, I noticed the file called "botnames", or something similar. I was bored, so I opened it up and changed the names of the bots to names of people I know. It's kinda fun seeing your friends kill each other.:evil:

                  Comment

                  Working...
                  X