Jump to content

Modifications to Search and Engage Task

Recommended Posts

Currently Search and Engage works by offsetting a distance from AI waypoints and setting it to attack anything in the resulting offset area. It's a very useful task because offsetting engagement range based on flight path is often a good criteria for defining threats/targets and because it allows a mission creator to shape zones where the AI will engage by shaping the flight path.


However, SaE uses the entire flight path to define the zone to be offset. This can be problematic if the flight path covers a large area. An enemy AI unit or player might cross the far end of the zone and cause the AI with SaE task to chase with afterburn and waste fuel. Example:




In this image, if the Red fighter is given SaE task, it will attack the Blue fighter as soon as it's detected, even if it's 200 miles away. This will lead to using up fuel and crashing.


One solution is to set the SaE task at WP 1 and not WP 0. But then there is another problem. If a Blue aircraft appears between WP 0 and WP 1, the Red fighter will not properly defend itself and will be a sitting duck:




I've seen this happen often. In order to fix both issues, I think SaE needs a new parameter, an "until" waypoint parameter. This would mean that the AI would only search along its flight path until the selected waypoint, allowing mission creators to break up the SaE task into different segments:




For the above examples, I would give the Red fighter:


SaE task at WP 0 with until waypoint WP 1 and Stop Condition... Last WP 1

SaE task at WP 1 with until waypoint WP 2 and Stop Condition... Last WP 2


The first task would make sure that the fighter would properly defend itself on ingress, but also stop paying attention to the ingress portion of the route when it reaches WP's 1 and 2. The second task would be the main AI task, to defend between WP's 1 and 2.


Win 10 i5-9600KF 4.6 GHz 64 GB RAM RTX2080Ti 11GB -- Win 7 64 i5-6600K 3.6 GHz 32 GB RAM GTX970 4GB -- A-10C, F-5E, Su-27, F-15C, F-14B, F-16C missions in User Files

Link to post
Share on other sites
  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...