dcs-liberation / dcs_liberation

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

join points may rendezvous outside wrong threat zone #1727

Open SnappyComebacks opened 2 years ago

SnappyComebacks commented 2 years ago

Describe the bug

To Reproduce Steps to reproduce the behavior:

  1. Create Operation Peace Spring campaign. Default faction/date.
  2. Automate Ground Purchases
  3. Purchase your favorite multirole aircraft.
  4. Generate Strike mission on TARPON for split/join being far away behavior
  5. Generate Strike mission on BUFFALO for split/join being far away and having a nav point crammed between hold and join.
  6. Generate Strike mission on STOUT for interesting threat zone behavior

Expected behavior

Additional information 5.0_Preview_SplitPoint_Generated.zip

Version information (please complete the following information): Liberation 5.0.0-Preview

Additional context

STOUT and TARPON (TARPON highlighted.) image

BUFFALO image

SnappyComebacks commented 2 years ago

Additional debug tools can be enabled in WaypointDebugZonesControls.tsx

And when discussing NavMesh https://discord.com/channels/595702951800995872/595706037449785364/966186750332514355

ColonelPanic
Remember that the nav mesh is only used for nav routes
The rest of the waypoints are placed using the various zones
If that's what you're trying to fix
Navmesh does things like find a safe path from hold to join
Placing hold and join is handled by the hold zones/join zones

NavMesh colors on UI: Red = threatened, Green = not threatened.

DanAlbert commented 1 year ago

Not a regression, so punting.

DanAlbert commented 1 year ago

A nav point probably shouldn't be smushed between hold and join

Most likely a symptom of https://github.com/dcs-liberation/dcs_liberation/issues/701

The ingress path shouldn't put you directly over the the biggest sam in the area?

While not truly navmesh related, this does require the threat weighting (currently is binary) mentioned on https://github.com/dcs-liberation/dcs_liberation/issues/647.

The split/join zone should probably be closer to the target.

Yeah, this is the unique report in this bug. "Join points can be placed stupidly is there's a disconnected threat zone near the origin disassociated with the target's threat zone".

DanAlbert commented 1 year ago

This most likely will be solved without any more effort than migrating the old join zone placement to use the work in https://github.com/dcs-liberation/dcs_liberation/issues/3085.