Skip to content
10Dozen edited this page Jun 14, 2016 · 24 revisions

What is it?

dzn_dynai (Dynamic AI) is the lite and user-friendly script tool to generate areas full of angry AI-controlled units.

Features:

  • Single- and multiplayer compatible
  • Spawn infntry and vehicles with selected crew
  • Units patrol their zones, call for reinforcements if they have loses or met more powerful force
  • CQB units that hold positions in houses and advance when hostiles come close enough
  • Caching of units placed far from players (270+ units per mission)
  • Easy to set up zone via simple html interface (using any modern web browser)
  • Ability to create zone both via editor and during the mission via scripts
  • Ability to control spawned units (behavior, assign new waypoints)

Installation

  • Download latest master branch from repository
  • Extract file to your mission folder

dzn_dynai also includes dzn_commonFunctions (obligatory) and dzn_gear (not obligatory, but allows to easilygear up spawned units with custom gear).

Step 1: Editor objects

  • Place single GameLogic object and name it - dzn_dynai_core.
  • Add another GameLogic object with appropriate name (e.g. NATO_BasePatrol), use only english letters and avoid spaces and special symbols (except _).
  • Synchronize GameLogic with dzn_dynai_core object.
  • Place one or several triggers, that represent area where units will be spawned and what area they will patrol after.
  • Synchronize trigger(s) with GameLogic.

Step 2: DynAI Helper

  • Go to tools and open xmlDynai.html file with any browser (e.g. Google Chrome).
Clone this wiki locally