Not a member yet? Why not Sign up today
Create an account  

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
My issue with Areal AI

#1
I recently picked up the game again and decided to make a simple starter bomber. Then I remembered why I stopped making planes (or bombers atleast). Besides taking 2 days to balance the thing so it doesn't go up to 400+ meters regardless of changes I make, the Areal AI makes this bomber miss its target by over 300 meters, recalculating its path and happens to go close to the target (although, the only reason why that happens is because I kept on changing the yaw potential, since the AI doesn't do it right). It does not stop turning until it turned atleast 10 degrees further then it needed to go. I changed the amount of yaw control, used thrusters, ACB's, turned off tracking and kept on changing settings in the AI card to make it better. It does not work. I am tempted to see if I can rewrite the complete areal AI (or yaw control) via a LUA script so it's not drunk anymore, if I have the time for it.

Is this a known issue or an issue with the craft? From what I have noticed from pretty much my whole time building aircrafts, the Areal AI seems to be kinda bad (or drunk) in general, overshooting literately every destination.

I've included the craft as a blueprint. If anyone could check if this is an issue of this craft or the AI in general, that would be great.


Attached Files
.blueprint   Copper Bird4.blueprint (Size: 58.15 KB / Downloads: 4)
Reply

#2
Yes the aerial AI is drunk, but as far as i know Nick is working on an AI overhaul right now.
And for bombers flying that high you should use guided bombs, sinnce they glide partially they can go quite if missed.
You could also try PIDs and there us a aerial lua ai already somewhere
There is always a weak-spot if you search Hard enough.

If you fire enough AP at that shield, at some point you're going to come through.

There is no "best" I wouldn't even say there is anything universally good, Good is subjective, I find everything bad even if it's in theory good against this or that.

Reply

#3
The issue is with every AI (Naval/Land/Air) as it is trying to predict the path of a craft and often fails to do it right. Air AI is especially poor as it needs to take care of more parameters in comparison to its counterparts.

I often build for a competition where precise and predictable behaviour is a must due to specific imposed boundaries (min/max altitude, distance etc.). In case of planes I usually rely on either hybrid Naval AI + ACB control or just go purely ACB. After last patch it is possible to use target parameters such as bearing to make an action, which enable extra ACB tricks.

I've attached two examples of hybrid (fighter wing) and pure ACB (long range anti ship) planes - perhaps this could help you out.


Attached Files
.blueprint   Serpent 300.blueprint (Size: 48.08 KB / Downloads: 5)
.blueprint   4riders by harnas1977.blueprint (Size: 93.71 KB / Downloads: 5)
primum non nocere
___________________________________
my tournaments:
★★★ Sea Encounters - Battleships! ★★★
★★★ Sea Encounters - Light Cruisers ★★★
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)