AI drivers - Global-Conflicts-ArmA/Olsen-Framework-Arma-3 GitHub Wiki

Description

The AI drive module allows the mission maker to remove player drivers from the mission.
When the module is enabled, the commander of the vehicle is able to interact with the vehicle and add an AI driver. From this point on the commander or the gunner if there's nobody in the commander slot, can drive the vehicle around as they would if they themselves were driving, by using the W,A,S,D keys.
They can also interact with the vehicle and create a small screen overlay which shows you what the AI driver is seeing, allowing for further control of the vehicle.

Usage

  1. AI drivers is enabled by default so no need to edit modules.sqf file.
  2. Go to modules>ai_drivers>settings.hpp.

In here you'll see various different options, let's cover those.

selectVehicles[] = {};

Add the variable names of selected vehicles to apply only AI driver to those few vehicles.
Example: selectVehicles[] = {"BluforLandRover1", "BluforLandRover2"};

VehicleClasses[] = {};

Add classnames of certain vehicles so all vehicles with the same classname have AI drivers.
Example: VehicleClasses[] = {"Wheeled_APC_F"};

AllTanks = false;
AllCars = true;
AllShips = false;

Set these to true to enable AI drivers either all tanks, cars, or ships.

NVGAction = false;

Set this to true to enable NVGs for AI drivers.

FlipAction = false;

If set to true, gives the ability to flip the AI driver vehicle rightside up.

topDisplay[] = {0.1,-0.22,0.5,0.25};
bottomDisplay[] = {0.1,1,0.5,0.25};

Allows you to adjust the position of the AI driver view overlay screen/camera.