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?
Infantry Only Bots
Collapse
X
-
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
-
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
-
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
Comment