Templates AI


#1

Hi,
show my project with templates of artificial intelligence.

Current release:

  • Police AI — algorithm the autonomous vehicle steering

Video: https://youtu.be/UydHXuwRSXg

GitHub: https://github.com/gsaone/armory_templates_ai


#2

Thanks for sharing, it has some usefull car code functionality.

But it’s not real AI, just a simple behavior, coded in a linear code, while more complex AI will need states to be more easy to use and extend, also “smoohtFollow” for camera could have it’s own class instead of be inside player class.


#3

Thanks for the ideas!
The current release is just the beginning; in free time and with experience, I plan to improve this template and also do others.

For the police ai, planned the states:

  • Patrol - when nothing happens or the player is out of sight.
  • Pursuit - when a player is in sight.
  • Damage - causing damage to a player in a collision.
  • Recovery - when the vehicle is turned upside down.
  • Bypass obstacles - ray cast to forward, for visibility obstacles and turned.

#4

I am currently reading book “The Nature of Code” in chapter 6 “Autonomous Agents” on theme AI:
https://natureofcode.com/book/chapter-6-autonomous-agents/

Very nice book! :wink:


Building a side scroller platform game
#5

Nice! it’s a pretty unique idea, and a really helpful one too! keep it up!


#6

A.I. is machine learning. Don’t mix up terms please.


#7

You are wrong AI is not ML only.
I encourage you to purchase this book if you want to better understand AI in general.

It’s a great book and i don’t regret the purchase.

@regexp Just ignore his post.