Dan Albert 2a77f57aa4 Improve AI strike targeting.
We were setting up all the correct *target* waypoints but the AI doesn't
use the target waypoints; they use the targets property of the ingress
waypoint. This meant that the flight plan looked correct in the UI and
was correct for players but the tasks were set up incorrectly for the AI
because building TGOs are aggravatingly multiple TGOs with the same name
in the implementation.

Mission targets now enumerate their own strike targets so that this
mistake is harder to make in the future.

This won't be perfect, the AI is still not able to parallelize tasks and
since buildings aren't groups they can only attack one structure at a
time, but they'll now at least switch to the next target after hitting
the first one.

As a bonus, stop bombing the dead buildings.

Fixes https://github.com/dcs-liberation/dcs_liberation/issues/235
Fixes https://github.com/dcs-liberation/dcs_liberation/issues/244
2021-05-19 23:33:15 -07:00
..
2021-02-22 20:55:51 +01:00
2021-04-25 20:30:55 -07:00
2021-05-08 16:46:02 -07:00
2021-05-19 23:33:15 -07:00
2021-05-17 01:23:00 -07:00
2021-02-22 20:55:51 +01:00
2021-02-12 20:10:45 -08:00
2021-05-08 16:46:02 -07:00
2021-05-14 17:18:03 -07:00
2021-05-18 17:29:42 -07:00