So currently I have very basic ai where they randomly chose a direction to go in and travel on a straight line till they chose another direction to go in, now, I would like to create a sort of system like the party hard game uses where the ai will walk to different rooms and perform actions or perhaps line up in a queue or talk to each other etc. How exactly could something like this be tackled? Many thanks for any responses!
[c++] Best way to tackle smarter ai
So currently I have very basic ai where they randomly chose a direction to go in and travel on a straight line till they chose another direction to go in, now, I would like to create a sort of system like the party hard game uses where the ai will walk to different rooms and perform actions or perhaps line up in a queue or talk to each other etc. How exactly could something like this be tackled? Many thanks for any responses!
Your question is abstract and cannot be summarized in a single answer. You'll have to go through a lot of learning.
For learning to implement AI like this, you will have work with various projects, refer to various books, and online resources and progress slowly improving you AI knowledge as you go.
First you will have to understand the idea behind AI. These resources might be helpful (simply because they cover what you want to achieve abstractly):
- https://software.intel.com/en-us/articles/designing-artificial-intelligence-for-games-part-1/
- https://software.intel.com/en-us/articles/designing-artificial-intelligence-for-games-part-2/
- https://software.intel.com/en-us/articles/designing-artificial-intelligence-for-games-part-3/
- https://software.intel.com/en-us/articles/designing-artificial-intelligence-for-games-part-4/
You'll have to know different types of AI systems, maps, group AI, etc. Then you can first try to implement them on your own in whichever language and framework you are using and afterwards you can see and follow some tutorials and resources for understanding the elegant way these things are done.
Apart from these resources there are many other resources ( even at gamedev.net ) like the one stated above. We can even make a list of some good beginner resources to get started. Ultimately, you can combine all the ideas related to what you want to achieve and then come up with the AI system designed by you which is best or the most suitable for your game idea (game project).