FANDOM


Prerequisites Edit

  1. Downloaded A3EAI install package. (download link: https://github.com/dayzai/A3EAI)
  2. ArmA 3 client

Installing the A3EAI Editor Tool Edit

  1. Open your ArmA 3 client and open the Editor.
  2. Select the map you want to work with and press Continue.
  3. Double-click anywhere on the map to place a unit. Do not change any settings. Press OK to place the unit.
  4. Save this mission in the Editor by pressing CTRL+S.
  5. Save your mission with a mission name of your choice. Remember this name.
  6. Locate your downloaded A3EAI install package. Locate the init.sqf file contained within the Editor Tool folder. Right click on this file and select Copy.
  7. Locate your ArmA 3 client mission folder.
    • Windows 7: C:\My Documents\Arma 3 - Other Profiles\[ArmA3 Profile Name]\missions
  8. Find and open the folder that contains the name you assigned in Step 6.
  9. Paste the init.sqf file inside this folder.

Using the A3EAI Editor Tool Edit

  1. Load the mission you created in the Installation procedure.
  2. Press the Preview button near the top-middle of the editor to enter Preview Mode.
  3. You now have several tools available for use:
    • Teleport to any land surface on the map by opening your Map and Left Clicking your destination
    • Change Editing Mode by using your scroll-wheel options (Infantry, Vehicle, Blacklist, Export)
    • Map Markers indicating your current location. Circles with several sizes are added to help you judge distances (50m 100m, 200m, 300m)

Adding Custom Infantry Spawns Edit

  1. Move or teleport to the location you want to place your custom spawn. (Teleport by opening your Map and Left Clicking your destination)
  2. Use the scroll-wheel option menu to select "Editor Mode: Custom Infantry". A template custom spawn statement will be copied to your clipboard.
  3. Open the Debug Console by pressing Esc. Paste (CTRL+V) the template custom spawn statement under the Execute text area.
  4. The custom spawn statement should read like so:
    • ['AreaName1',100,2,1,true,600] call A3EAI_generateArea;
    • 'AreaName1': The name to assign to the spawn area (must be unique).
    • 100: The radius of the patrol area.
    • 2: Number of AI units to spawn.
    • 1: Level of AI (0-3).
    • true: Respawn setting. true: Enable respawn. false: Disable respawn.
    • 600: If respawn setting is enabled, this is the respawn timer in seconds. If respawn setting is disabled, either don't add a number or set it to 0.
  5. After you have adjusted the spawn parameters to your preferences, click the LOCAL EXEC button to generate your spawn. It will be added to your clipboard along with other custom spawns you have created.
    • Tip: If you've accidentally replaced the contents of your clipboard, you can manually re-add all generated spawns to your clipboard by using the scroll-wheel menu option and select "Export Spawn Configs"
  6. If your spawn has been successfully created, There should be a System message displayed:
    • Total custom spawns generated and saved: [number of spawns generated]

Adding Custom Vehicle Patrols Edit

  • Move or teleport to the location you want to place your custom spawn. (Teleport by opening your Map and Left Clicking your destination)
  • Use the scroll-wheel option menu to select "Editor Mode: Custom Vehicles". A template custom spawn statement will be copied to your clipboard.
  • Open the Debug Console by pressing Esc. Paste (CTRL+V) the template custom spawn statement under the Execute text area.
  • The custom spawn statement should read like so:
    • ['AreaName1','VehicleType',100,[1,1],1,true,600] call A3EAI_generateArea;
    • 'AreaName1': The name to assign to the spawn area (must be unique).
    • 'VehicleType': The classname of the assigned AI vehicle. Acceptable vehicle types: land or air.
    • 100: The radius of the patrol area.
    • [1,1]: Maximum number of cargo units, maximum number of gunner units. Limited by actual number of cargo/gunner seats available for use by the vehicle.
    • 1: Level of AI (0-3).
    • true: Respawn setting. true: Enable respawn. false: Disable respawn.
    • 600: If respawn setting is enabled, this is the respawn timer in seconds. If respawn setting is disabled, either don't add a number or set it to 0.
  • After you have adjusted the spawn parameters to your preferences, click the LOCAL EXEC button to generate your spawn. It will be added to your clipboard along with other custom spawns you have created.
    • Tip: If you've accidentally replaced the contents of your clipboard, you can manually re-add all generated spawns to your clipboard by using the scroll-wheel menu option and select "Export Spawn Configs"
  • If your spawn has been successfully created, There should be a System message displayed:
    • Total custom spawns generated and saved: [number of spawns generated]

Adding Blacklist Areas Edit

  • Move or teleport to the location you want to place your blacklist area (Teleport by opening your Map and Left Clicking your destination)
  • Use the scroll-wheel option menu to select "Editor Mode: Area Blacklists". A template statement will be copied to your clipboard.
  • Open the Debug Console by pressing Esc. Paste (CTRL+V) the template statement under the Execute text area.
  • The custom spawn statement should read like so:
    • ['AreaName1',100] call A3EAI_generateArea;
    • 'AreaName1': The name to assign to the blacklisted area (must be unique).
    • 100: The radius of the blacklist area.
  • After you have adjusted the blacklist parameters to your preferences, click the LOCAL EXEC button to generate your spawn. It will be added to your clipboard along with other custom spawns or blacklist areas you have created.
    • Tip: If you've accidentally replaced the contents of your clipboard, you can manually re-add all generated spawns/blacklists to your clipboard by using the scroll-wheel menu option and select "Export Spawn Configs"
  • If your blacklist area has been successfully created, There should be a System message displayed:
    • Total custom spawns generated and saved: [number of spawns generated]

About blacklist areas: Edit

Blacklisted areas allow the user to specify areas of the map that are off-limits to Dynamic and Random AI spawning.

Note that blacklist areas do not:

  • Prevent static AI from spawning in the area (AI in named locations)
  • Prevent AI from engaging players in the area
  • Prevent AI movement or pathing into the area

Importing your created custom spawns and blacklist areas Edit

  1. If you have not done so already, export your spawns and blacklist area configs to your clipboard by using the scroll-wheel menu option and select "Export Spawn Configs"
  2. Open your @A3EAI mod folder and unpack A3EAI_config.pbo
  3. Open the unpacked A3EAI_config folder and open A3EAI_custom_defs.sqf
  4. Paste your spawn/blacklist configs and save the file
  5. Repack A3EAI_config.pbo