dcs-liberation / dcs_liberation

DCS World dynamic campaign.
GNU Lesser General Public License v3.0
712 stars 185 forks source link

Make WW2 Bombers use BOX formation #1896

Open NeelKulkarni6 opened 2 years ago

NeelKulkarni6 commented 2 years ago

Is your feature request related to a problem? Please describe. Right now for WW2 DCS liberation the A20G, B17, & Ju 88 use the line abreast/arrowhead/whatever formation that modern planes and bombers use. This isn't realistic at all as the best defensive strategy for bombers at the time was to form a tight 'box' formation.

Describe the solution you'd like DCS has a built in system for these bombers to use the actual tight formation used in ww2. This makes it much more realistic and the bombers are easier to protect and less likely to die. The formation doesn't need a big wing of bombers to work. 2-4 bombers works perfectly with it.

Additional context Heres a video of how to do it in the mission editor https://www.youtube.com/watch?v=t0snYFp7csY

if possible add the option to add more than 4 ww2 bombers to a strike mission too.

image each of these 4 plane groups represents a box

SnappyComebacks commented 2 years ago

Leaving a note here for anyone who wants to do this:

BigFormation is a task under Perform Task, and not a normal formation. It seems to only be valid for certain main Tasks (Ground Attack).

The implementer would need to add the tasks to PyDCS, and add the Liberation UI and backend to tell DCS how to group the different flights together.

Here is an example of one of the BigFormation variants:

[7] =
{
   ["enabled"] = true,
   ["auto"] = false,
   ["id"] = "FollowBigFormation",
   ["number"] = 7,
   ["params"] =
   {
      ["lastWptIndexFlagChangedManually"] = true,
      ["posInGroup"] = 1,
      ["posInWing"] = 0,
      ["formationType"] = 18,
      ["posInBox"] = 1,
      ["lastWptIndexFlag"] = false,
      ["pos"] =
      {
         ["y"] = 170,
         ["x"] = -480,
         ["z"] = 720,
      }, -- end of ["pos"]
   }, -- end of ["params"]
}, -- end of [7]