View Single Post
  #25  
Old 04-02-2017, 04:34 PM
Avimimus Avimimus is offline
Approved Member
 
Join Date: Oct 2007
Posts: 803
Default

The major problem is the failure of the AI to disengage. If you look at historical accounts, pilots would return to base as soon as they got separated from their allies. In many cases it was easy to lose sight of both allies and enemies.

There is actually already some code that could be repurposed for this: When you call for help the AI automatically checks to see if it is in range (8000m I think) before coming to your aid.

So it should be possible to program in a check that causes aircraft to be have a certain probability of returning to base if they get even somewhat separated from allied or enemy aircraft.

P.S.
There are also checks for how much ammunition is left during an attack. So one could add a random chance of aircraft disengaging after an attack.

Of course, programming AI aircraft to retreat (especially retreating when outnumbered) could be frustrating to some players.
Reply With Quote