Arma 3
easiest way to create Wave AI enemy spawns
Looking to create some AI Spawns for my custom COOP Mission around a specific area of the map I will be using. Want them to overwelm the players enough that they would have to use heavier Weapons or resources to take out the first wave of AI. As more AI come into ambush them want them to grow in numbers slightly then they get maxed out at a certain point.

So the AI would start in groups of say 14 and work up to groups of 40 and then max out at 40. Would like this to work if possible without any scripting and be able to just use modules or some mods that would integrate easily.
< >
Showing 1-3 of 3 comments
the.lovewyrm Mar 12, 2022 @ 12:43pm 
Step 1) Place a trigger with an area where the AI should come to attack
Step 2) Set the trigger as guarded by OPFOR (or whicher side is the attacker)
Step 3) Place down all the groups you want to attack that place with, sorted by distance to the trigger
Step 4) Give these groups the 'guard' waypoint and put the waypoints at their feet (because they will walk to that guard waypoint and wait there, which can mess up your distance sorting)

And you're done.

The game will send the groups, based on distance to the trigger, one after another if the previous group gets wiped out.
Sick Mar 30, 2022 @ 12:29am 
Use the show and hide module:
The show/hide module is located under systems, then select object modifier, then you will see "show/hide" near the bottom of the list.

link two(2) show hide modules to all opfor units involved in the offense except for the first wave of units. the first wave will be used to trigger the other waves.

select one of the "show/hide modules" to "show" units and the other to "hide" units.

us the 0-500m trigger(you customize the size/range if you want) and link it to the "show/hide module" that "shows" the units only.

you can set the trigger "Activation" to opfor and set the "Activation type" to "Not present".This means once opfor units are no longer present in the zone, the trigger will be activated.So once the first wave of units are all dead, the next wave of units will spawn.

or

you can set the trigger "Activation" to opfor and set the "Activation type" to "present". This mean once opfor reaches the zone, the next wave will spawn. Once opfor reaches a certain point or pushes pass your defense, more opfor will come.

You can also set the trigger to player, so once the player reaches the area, more opfor will spawn.

for example: After the first wave is clear, set an objective up that tells the player to move to "x" building to defend the next wave.

however you want to do it.
Originally posted by Lome:
Use the show and hide module:
The show/hide module is located under systems, then select object modifier, then you will see "show/hide" near the bottom of the list.

link two(2) show hide modules to all opfor units involved in the offense except for the first wave of units. the first wave will be used to trigger the other waves.

select one of the "show/hide modules" to "show" units and the other to "hide" units.

us the 0-500m trigger(you customize the size/range if you want) and link it to the "show/hide module" that "shows" the units only.

you can set the trigger "Activation" to opfor and set the "Activation type" to "Not present".This means once opfor units are no longer present in the zone, the trigger will be activated.So once the first wave of units are all dead, the next wave of units will spawn.

or

you can set the trigger "Activation" to opfor and set the "Activation type" to "present". This mean once opfor reaches the zone, the next wave will spawn. Once opfor reaches a certain point or pushes pass your defense, more opfor will come.

You can also set the trigger to player, so once the player reaches the area, more opfor will spawn.

for example: After the first wave is clear, set an objective up that tells the player to move to "x" building to defend the next wave.

however you want to do it.

Little extra tip for the first part... Instead of linking the show hide module to each unit, you could put the units in a layer and use the show hide module to show/hide that layer. Can put anything in the layer like props or ammo stores to show up with each wave.

Might end up needing more modules (one for each layer), but might help streamline the process instead of having to link a module to every item and unit. As well as keeping things tidy in the editor :)
< >
Showing 1-3 of 3 comments
Per page: 1530 50

Date Posted: Mar 11, 2022 @ 3:37pm
Posts: 3