Page 1 of 1

[Answered] How do I have larger flight groups that 6 aircraft in the mission editor?

Posted: Tue Mar 02, 2021 4:14 pm
by itisyeetimetoday
I was hoping to sync up an attack to launch missiles at the same time at a target from more than 6 aircraft. Is there any way to either sync multiple flight groups to launch weapons at the same time, or have a flight group with more than 6 aircraft?

RE: How do I have larger flight groups that 6 aircraft in the mission editor?

Posted: Wed Mar 03, 2021 8:34 am
by p1t1o
If you do know a bit about LUA code: *almost* anything is possible with LUA, but it'll take several hours to find out either way.

If you are programming an enemy side, I dont think there is a way to do what you want without LUA.

If you are playing a scenario, you can sync launches by setting all concerned units to HOLD fire, and give a manual attack command to all units when they are all within launch parameters, then they will all launch at once.

You cant program larger flight sizes into missions, but you can manually create large flight groups by grouping them together like any other unit ("G" key).

Adding units to a group is quite easy to do with LUA, but would still be quite tricky to pull off for an AI side, depending on exactly what it is you want to do.


Everyone says "LUA is easy and you can do anything" - but *compared to setting up a mission with the mission editor* it is in fact extremely difficult.

BUT dont let that stop you because you CAN do a lot of cool stuff and it is only extremely difficult in comparison to easy things, its not actually impossible and although it looks scary, once you've done a few examples and gotten used to the syntax, it all starts to fall into place.

Took me about a month designing one scenario to go from adding a unit to a mission at a set time, to having ammo trucks wait around until a counter detected low ammo at a SAM site, having the truck drive their, group with the SAM site, deliver ammo, ungroup and drive back to origin to wait for the SAM site to run low again - all automatic.

Its not simple, but its very doable.

RE: How do I have larger flight groups that 6 aircraft in the mission editor?

Posted: Wed Mar 03, 2021 8:36 am
by p1t1o
woops double post