-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
10Dozen edited this page Jun 14, 2016
·
24 revisions
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)
- Download latest master branch from repository
- Extract files 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).
- 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.
- Go to tools and open xmlDynai.html file with any browser (e.g. Google Chrome).
- Populate all fields:
Name - a name of GameLogic object (e.g. NATO_BasePatrol)
Side - side of the zone. Default Arma3 unit classnames of selected side will be used at Unit References section.
Is Zone Active - if checked - activates zone on mission start.
Unit References - section that describe what groups will be spawned in zone:
Count of groups - number of the groups of given type that will be spawned in zone.
Add Unit - button to add infantry unit to group template:
Class of unit - unit classname, pre-populated if Side is chosen.
Kit for unit - name of dzn_gear kit that will be assigned to this unit.
Patrol/In building/In Vehicle - type of unit behaviour. Patrol - unit will move on foot, In building - unit will hold position inside buildings, In Vehicle - unit will take specified role in vehicle.
Add Vehicle - button to add vehicle unit to group template (just vehicle, crew should be assigned as Infantry - In Vehicle - "driver"/"gunner"/"commander"/"cargo"):
Class of unit - vehicle classname.
Kit for unit - name of dzn_gear kit that will be assigned to this vehicle.
Speed Mode -
Name
- a name of GameLogic object (e.g. NATO_BasePatrol)
Side
- side of the zone. Default Arma3 unit classnames of selected side will be used at Unit References section.
Is Zone Active
- if checked - activates zone on mission start.
Unit References
- section that describe what groups will be spawned in zone:
Count of groups
- number of the groups of given type that will be spawned in zone.
Add Unit
- button to add infantry unit to group template