Post Reply 
 
Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Naval AI with terrain & friendly avoidance, evasive maneuvers [2017-11-05]
2017-10-25, 07:12 PM (This post was last modified: 2017-10-25 07:13 PM by ZerothAngel.)
Post: #37
RE: Naval AI with terrain & friendly avoidance, evasive maneuvers [2017-10-25]
Made a few tweaks and additions to make it more suitable as a tank AI.

With the AttackReverse option true, instead of "flipping" AttackAngle (i.e. using 180 - AttackAngle) to maintain AttackDistance, it will instead reverse AttackDrive (still PID scaled, of course).

This, coupled with AttackAngle set to 0, makes it suitable for assault (or "forward broadside" lols) behavior. Great for tanks or airships that can turn in place, questionable for naval vessels. (Note, this script is yaw- and propulsion-based, there is no lateral movement at all. If you want "orbiting," look elsewhere.)

Also added links in the OP to all my script variants that use this AI. Maybe they'll be useful to other people, as long as you can decode the million other options.

My Workshop | My FtD Lua Scripts
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Naval AI with terrain & friendly avoidance, evasive maneuvers [2017-10-25] - ZerothAngel - 2017-10-25 07:12 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)