Pause mechanic for AI

Issue #245 duplicate
Justagai created an issue

AI will sometimes pause between 1-4 seconds after executing a maneuver/movement. The reason they do this is so that they can get additional space between their target, and then attempt to engage head on. This also gives the player breathing room from a collision and potentially score a kill on the target.

The reason why AI with higher maneuverable ships pause longer is because they quickly face the direction they want to use to distance themselves from the target quicker. While AI with lower maneuverable ships don’t pause as often because as they are trying to get away from their target, they are slowly moving to the direction they want to face and the target is most likely to change positions before they can face the direction they want.

EDIT 4: The trigger of the "pause" is by distance (target is close) and the length of the pause is by chance. They will turn away from their target and pick a single direction. 1-4 seconds, but if the target changes position (not distance) too much, the AI will break the pause which is most likely to happen on lower maneuverable ships. If the AI so happens to face the target while turning, it will fire.

I've also seen one other maneuver performed if the AI has wingmen. All of them will turn away from the target for about 10 seconds. Then turn and face the target head on. I've only seen this with AI with wingmen however and its not too common (and its quite interesting to see, especially if you're the target. I thought they were heading home or going to another waypoint at first).

Basically, the AI will attempt to distance itself (wants to avoid colliding with its target and get a good shot) from the target and attack from the front. This should help prevent collisions and make it seem like the AI is not trying to "turn battle" the player.

Comments (3)

  1. Log in to comment