dcs-liberation / dcs_liberation

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

Rework the ground object generators to a template system #1938

Closed RndName closed 2 years ago

RndName commented 2 years ago

Discussed in https://github.com/dcs-liberation/dcs_liberation/discussions/1984

In the current code we use many coded generators to create different ground objects. These are SAMs, EWRs, Fleet(Ships, Carriers, LHA), Missiles, Coastal and Armor Groups. These have the huge problem that they are hard to be maintained and unit positioning is a complex and time consuming job which makes it nearly impossible to support future changes and more complex layouts of different ground groups like sam sites.

To support the implementation of more advanced things like the SAM Asset pack as mod or similiar this should be changed to a template based system where templates are created from the DCS Mission editor so that units can be placed and and oriented precisely. This information should be enriched with coded information about the template like optional units, specific properties for the template and so on.

The future system:

Things to do:

RndName commented 2 years ago

Discussion and diaries about this one can be found here: https://github.com/dcs-liberation/dcs_liberation/discussions/1984