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.
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.
Last edited by FFOLKES (2006-05-26 23:59:01)