How to prevent bots from entering your vehicle?

General discussion of the Project Reality: BF2 modification.
Post Reply
Aspie Wildcat
Posts: 2
Joined: 2023-06-26 17:50

How to prevent bots from entering your vehicle?

Post by Aspie Wildcat »

Hello!
I'm fresh in the playing Project Reality. I'm playing a various coop maps with bots. Problem starts when I want to use a tank , apc or orher vehicle having a turret. Eveything is not bad until bots are getting into my tank into a driver seat when i'm using main gun and when they start to drive they are making aiming and shooting an enemy targets completly imposssible and few seconds later they are exposing a vehicle for a preety stupid loss . y.Is there a way to make a tank not available for bots when i'm using this one? I'm using a ''oneman '' rcon command but it's only for driving an amoured vehicles without crewman kit. In a result it makes almost all coop scenarios with vehicles almost unplayable :/
Last edited by Aspie Wildcat on 2023-06-27 21:55, edited 3 times in total.
Pisaf
Posts: 6
Joined: 2023-04-20 19:17

Re: How to prevent bots from entering your vehicle?

Post by Pisaf »

Also very interested in this question.
SemlerPDX
Posts: 530
Joined: 2011-01-16 21:49
Contact:

Re: How to prevent bots from entering your vehicle?

Post by SemlerPDX »

Aspie Wildcat wrote:Hello!
I'm fresh in the playing Project Reality. I'm playing a various coop maps with bots. Problem starts when I want to use a tank , apc or orher vehicle having a turret. Eveything is not bad until bots are getting into my tank into a driver seat when i'm using main gun and when they start to drive they are making aiming and shooting an enemy targets completly imposssible and few seconds later they are exposing a vehicle for a preety stupid loss . y.Is there a way to make a tank not available for bots when i'm using this one? I'm using a ''oneman '' rcon command but it's only for driving an amoured vehicles without crewman kit. In a result it makes almost all coop scenarios with vehicles almost unplayable :/
You would do better to play on maps with one-man tanks/apc/scimitar vehicles.
Leshy
Posts: 19
Joined: 2022-10-25 10:50

Re: How to prevent bots from entering your vehicle?

Post by Leshy »

Just an idea, but maybe be Commander and order all squads to go somewhere else
Arab
PR:BF2 Developer
Posts: 2898
Joined: 2012-05-18 03:37

Re: How to prevent bots from entering your vehicle?

Post by Arab »

Aspie Wildcat wrote:Hello!
I'm fresh in the playing Project Reality. I'm playing a various coop maps with bots. Problem starts when I want to use a tank , apc or orher vehicle having a turret. Eveything is not bad until bots are getting into my tank into a driver seat when i'm using main gun and when they start to drive they are making aiming and shooting an enemy targets completly imposssible and few seconds later they are exposing a vehicle for a preety stupid loss . y.Is there a way to make a tank not available for bots when i'm using this one? I'm using a ''oneman '' rcon command but it's only for driving an amoured vehicles without crewman kit. In a result it makes almost all coop scenarios with vehicles almost unplayable :/
This is more of a modding answer. If you want, you can copy the pr folder and rename it pr_edit.

Go look up the vehicles you want to modify. You can use rcon damage with rcon debug in local to figure out the vehicle.

Then go to objects_vehicles_server.zip objects/vehicles/land/(vehicle) - open up the .tweak and replace the ObjectTemplate.aiTemplate (template) with none_land_ai.

This should prevent bots from want to enter your vehicle. Disabling the line would result in an 'AI is not configured for this vehicle' error message crash.

Here are the full configurations:
  • none_land_ai
  • none_mounted_land_ai
  • none_pass_land_ai
  • none_heli_ai
  • none_mounted_heli_ai
  • none_pass_heli_ai
  • none_air_ai
  • none_mounted_air_ai
  • none_passenger_air_ai
  • none_sea_ai_ai
  • none_mounted_sea_ai
  • none_passenger_sea_ai
Mounted is for gunners, Pass is for Passengers (No weapons).
Image
Tommygun
Posts: 325
Joined: 2011-03-16 08:08

Re: How to prevent bots from entering your vehicle?

Post by Tommygun »

Its good experience for when you play on a public server. Most people steal a vehicle when are not right next to the thing.
Post Reply

Return to “PR:BF2 General Discussion”