Author: Myke
Author Website: http://www.eutf.org

Requirements: No addons required

Version: 1.0

Short description:

Date: 2007-08-24 22:47


Comments: (0)
Rating:



 





Dynamic Ambush system Ver. 1.0
by
-eutf-Myke


(download removed by request from the author.
)


Description:
This system lets you generate position attacking units wherever you want.


How it works:
You define one or more vehicles that should perform the attack. If vehicle has cargoseats, infantery will be generated and placed in. The vehicle will bring them near the battlezone and let them disembark. If it's a chopper, you can choose if it should land or if you want them paradrop.
If the vehicle is a tank (i.e. M113 or Stryker) once the inf has disembarked, the tank will join the group and follow them, giving fire support. Any other tank will perform "seek & destroy".

You're completely free what vehicle you create and where you send them. It will work for all sides (Blufor, Opfor, RACS and Civilians) and with every vehicle.


Usage:
There's one script that should run before anything else is done. Calling it from the init.sqs/sqf would be a good idea:
nul = [] execVM "ambush\amb_units.sqf"

After this, the system is ready to be used. To call in your troops, this is the scriptcall:
[nul = [["UH60MG", "UH60"], ["chopper_1", "chopper_2", "chopper_3"], ["here_1", "here_2", "here_3"], ["target1", "target2", "target3", "target4"], WEST, false] execVM "ambush\the_ambush.sqf"

Let's get through it:
["UH60MG", "UH60"]
Here you define what kind of vehicle you want to create. This example will create 2 Blackhawks, one with FFAR. As both has cargo seats, they will be manned with a group of infantry. You may also create "M1Abrams" and/or "M113", you just have to know the correct classname.

["chopper_1", "chopper_2", "chopper_3"]
These are 3 markers, named chopper_1, chopper_2 and _chopper_3. At one of those points, the above vehicles will be created and start from.
NOTE: No marker will be used twice with the same scriptcall, therefor the numbers of markers provided MUST be equal or higher than vehicles to be created.

["here_1", "here_2", "here_3"]
Also markers. At these spots, the vehicle will drop the Infantery if it has. Else it will just start its patrol from one of these spots.
NOTE: No marker will be used twice with the same scriptcall, therefor the numbers of markers provided MUST be equal or higher than vehicles to be created.

["target1", "target2", "target3", "target4"]
And markers again. Dropped Infantry will patrol randomly these spots and its surroundings. From time to time they move from one marker to another one and search there. Here's no need for more markers but it needs at least one.

WEST
Side that will be created. It is not relevant what vehicle you create, side can be any of WEST, EAST, Resistance or Civilian. You can therefor create Mi17 and WEST units, they'll belong to WEST.

false
Boolean to select if infantry will paradrop (true) or chopper will land (false) to let the units disembark.


Notes:
As AI is not very clever in flying choppers (they often crash midair) you should carefully select your starting and drop points, leaving enough space between them.




Enable javascript to be able to download from Armaholic please!



Tags: No tags