ciribob/DCS-CTLD

Patriot STR lacks 3 additional units for 360 coverage

Opened this issue · 3 comments

A complete Patriot STR requires a minimum of 3 units facing independent directions in order to provide 360 degree coverage.
Currently the CTLD script only spawns 1 unit, meaning that contacts approaching from the other 2/3's of a circle will never be detected. This means the Patriot STR will rarely function correctly.

In order to solve this, logic would need to be added to spawn 3 STRs in a triangle, covering 3/3 directions.

See this image for clarification
image

Actually, I'm totally wrong on this. It needs 4 to achieve 360 degree coverage.
image

Here is one with 3, just for reference
image

I've worked on some code to spawn an amount X of units of the same type and spawn them in a circle around their respective crate for AA systems, should solve this issue.

https://github.com/VEAF/DCS-CTLD/tree/Optional-AASystem-Crates

The options to change are stored in the template of the AA system (not the crates).

Needs more testing (which is currently in progress), if you can contribute please feel free.