Infantry Only Bots

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • [IG]MajGen.EssFerret

    #1

    Infantry Only Bots

    My clan does some 5v5 infantry only scrims and we'd like to practice against bots. Is there any way to modify the bots' AI so that they will not get into vehicles or send artillery? If so, what would the method be?
  • mlkmnz

    #2
    Re: Infantry Only Bots

    Blow them up beforehand? Don't know if its possible any other way.

    Battlefield Vietnam was far better at customising servers in this regard, you could choose which vehicles you wanted in the map or not to have any at all.

    Comment

    • stilla-killa
      CantGetRight
      • Aug 2005
      • 5905

      #3
      Re: Infantry Only Bots

      i dont believe there is a way to do this but then again i have been proven wrong for time to time

      Comment

      • Ghilleman

        #4
        Re: Infantry Only Bots

        Turn the AI down as low as possible so that they are less likely to do so. Other than a full on mod recoding their AI, you'll just have to make do with the lowest setting.

        Comment

        • CinC212

          #5
          Re: Infantry Only Bots

          I don't know how (modding forum might be better), but I think I read you can remove things from the map by editing the files. That would prolly be easier.

          Comment

          • Ghilleman

            #6
            Re: Infantry Only Bots

            But if you edit files, be careful because nasty ol PB might think you're using modified content online, even if you fix everything back to how it was. You have been warned.

            Comment

            • [IG]MajGen.EssFerret

              #7
              Re: Infantry Only Bots

              is it possible to change the brain of the ai with a file like aibehaviour.ai so that the ai doesn't even "think" about getting into a vehicle? This would be my first thought, but i wouldn't know what to do with the file after i found out which file it was that controlled it. Anyone out there that might know?

              Comment

              • Ghilleman

                #8
                Re: Infantry Only Bots

                Well, this would involve going coding-diving. Again: unless you are/know/can contact a real game coder, don't have such lofty thoughts. You will have to actually recode AI to acomplish what you have been suggesting.

                Comment

                • perry

                  #9
                  Re: Infantry Only Bots

                  Go to the BFeditor.org forums and look for info on "objectspawner"

                  Comment

                  • [IG]MajGen.EssFerret

                    #10
                    Re: Infantry Only Bots

                    I don't want to edit the map files, I want to edit the server's ai files so it will be a global change.

                    Comment

                    • FFOLKES

                      #11
                      Re: Infantry Only Bots

                      It's pretty easy to do both things. Here is how I did it in Single Player and Co-op.

                      1. Do not make changes to the BF2 mod
                      2. Instead create a new mod
                      3. Create new mod folder ...\mods\YOURMOD
                      4. Copy the contents of the BF2 mod into YOURMOD
                      5. Edit any map's server.zip file
                      6. To disable bots from using vehicles delete the following from:

                      ...\mods\YOURMOD\Levels\Strike_at_Karkand\ server.zip\AIPathFinding

                      Vehicle.clb
                      Vehicle.qtr

                      *** NOTE: Some mappers have placed spawn entry points on vehicles such as Helicopters and Planes. Unfortunately the fix above does not prevent them from flying. But the bots spawn randomly so they won't fly every time. The only way to prevent them from flying would be to move the spawn point location or delete the vehicle from the gameplayobjects.con file.


                      7. To disable artillery from firing edit the GamePlayObjects.con following from:

                      ...\YOURMOD\Levels\Strike_at_Karkand\server.zip\ gamemodes\sp1\16
                      ...\YOURMOD\Levels\Strike_at_Karkand\server.zip\ gamemodes\gpm_coop\16

                      *** NOTE: If you are playing on larger maps then edit other GamePlayObjects.con files.

                      For example

                      Before:

                      rem [ObjectSpawnerTemplate: CPNAME_SK_64_factory_ART]
                      ObjectTemplate.create ObjectSpawner CPNAME_SK_64_factory_ART
                      ObjectTemplate.activeSafe ObjectSpawner CPNAME_SK_64_factory_ART
                      ObjectTemplate.modifiedByUser dgo
                      ObjectTemplate.isNotSaveable 1
                      ObjectTemplate.hasMobilePhysics 0
                      ObjectTemplate.setObjectTemplate 1 ars_d30
                      ObjectTemplate.minSpawnDelay 360
                      ObjectTemplate.maxSpawnDelay 360
                      ObjectTemplate.teamOnVehicle 1

                      After:

                      rem [ObjectSpawnerTemplate: CPNAME_SK_64_factory_ART]
                      ObjectTemplate.create ObjectSpawner CPNAME_SK_64_factory_ART
                      ObjectTemplate.activeSafe ObjectSpawner CPNAME_SK_64_factory_ART
                      ObjectTemplate.modifiedByUser dgo
                      ObjectTemplate.isNotSaveable 1
                      ObjectTemplate.hasMobilePhysics 0
                      ObjectTemplate.setObjectTemplate 1 ars_d30
                      ObjectTemplate.minSpawnDelay 360
                      ObjectTemplate.maxSpawnDelay 360
                      ObjectTemplate.teamOnVehicle 0 <---- This is all you do to disable.

                      Remember you can delete the vehicles and artillery from the gameplayobjects.con file but my way is easier.

                      Comment

                      • [IG]MajGen.EssFerret

                        #12
                        Re: Infantry Only Bots

                        Thanks Ffolkes,

                        I will give this a try.

                        Comment

                        Working...