Game
Project Sky Conquerors
8 years ago

The dawn of an artificial intelligence


Hello! And thank you for taking your time to read my first dev blog for this project!

My name is Martin Olin Holm and I’m the main AI Designer.
My number one focus is to create an AI that “learns” from the players behaviors and game styles.

It shall, visually and/or audibly, mediate the players of its new chosen actions. This way the players will still have a fair chance to act on their newfound information and use it to their advantage.

But enough of that, let’s talk about the good stuff! What have I managed to create during these two weeks this project has been alive?

Since 2017-11-27, I have created two different AI with each special functions.

AI 1:
This AI is quite the simple one. I have been using Unreal Engine’s own navigation mesh to create an AI that roams. It basically chooses a random place where the navigation mesh allows it to go… and goes there.
This AI is, of course capable at “shooting” the player. As of now, it does not have any kind of weapon on it. So it is currently using “Line Trace” to simulate where it would shoot with its gun…

5d0a95c32094c.png

But Martin…” You may be thinking. “This is all… Boring. It’s so basic!
And you are right, this is boring and totally un-radical.

So let me introduce: AI 2.0!
This is not your ordinary ground-walking, dead-panned AI! This one can fly by using 3D navigation!
But as you all may know, Unreal Engine 4 does not, yet, have any kind of Navigation Meshes that supports 3D movement in the same way it supports 2D movement. So how did I do it?

I used “DoN´s 3D Pathfinding for Flying AI”. (OBS! This plug-in can be downloaded on UE4´s marketplace for FREE! It even has a MIT-license, so feel free to use it however you wish!)

But what does this plug-in actually do?

It allows your AI to navigate in a complete 3D environment with its own 3D Navigation Mesh. Which means that it allows your AI to calculate, in real time, which way is the fastest way to its destination.
Here is a picture that shows how it works:

5d0a95c90392a.png

As you can see, the AI uses the blue dots as “Check points”, so to speak. The AI follow each dot until it gets to its goal. And when it is done, it calculates its new path to its next goal.
But that is not all! Not only can this AI patrol between two nodes in a, somewhat, intelligent manner. It can also chase the player and follow it wherever it goes. I will show you all a more in-depth of how that works next week. But here is a sneak peek on how the Behavior Tree looks like.

5d0a95caa46c5.png

Want to know how exactly “DoN´s 3D Pathfinding for Flying AI” works?
Do you wish there was a Youtube video where the creator of said plug-in demonstrate and explain his creation? Quite the specific wish, but here it is:
https://www.youtube.com/watch?v=6Tr_K551zvI&t=1s



0 comments

Loading...

Next up

🍒Did you like the game? A demo is available for free on Steam.

✌️ Thanks for playing IndieGameiacs!

⚙️ Free Demo: http://bit.ly/UniDuni

📺 Full Video: https://youtu.be/5qEbVXg7GaQ

#steam #uniduni #clops #screenshotsaturday

Path of Kami: The Evolution of the Lore

Today I was setting up the location of the first boss. His name is "Father" and he is the first of the Patagonians. His task is to guard the road to the House.🛡🗡 Bookmark pre-launch page🔖🔖🔖

https://www.kickstarter.com/projects/rdvindiegame/the-patagonian…

Finished work on the emotions of a new character for the tank universe

Hi everyone! I started to create some environment props for my new video game, here is a cozy house in the forest. I'm planning to switch from Unity to Unreal... Let's see what new challenges I have to face. Made in Blender and Substance Painter.

a drawing I did because I was bored😪. But I love how it turned out.😊

Spaaaace~

These are background sprites I've created for a game I'm working on at school ^w^ Click on the post to see how the sprites connect. You won't regret it! (personally, I think it's pretty heheh)

Drawn in Piskel using my mouse. Whaddya think?

Regular exercise is key for healthy wings.

Try it out!

https://gamejolt.com/games/AeonNightmares/605184

Today I tackled drawing different variations of facial expressions for one of the main characters in Eden. What do you think of it? :) Eden: https://gamejolt.com/games/Eden/592698