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

Smile! Here, take some happy pills! ✨💊 #Blender #3DModelling #3DArt Buy me a Ko-fi: https://ko-fi.com/barbarafb_

Finished a project I've been working on over the last few days!

Modeled and textured in Blender.

#3dart #lowpoly #npbr #fantasy #hut

Heya! I wanted to show some gameplay progress i made so far. I hope you like it ^^

Werehog transformation process. #sonicunleashed

Sometimes the suction cup get sticky. Small animation I made in Blender after doing my tutorial on picking up/dropping objects in animations. Crate model by jQueary (https://sketchfab.com/3d-models/game-ready-sci-fi-crate-d98deca6…).

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.

Alone Together....

It's old and it glows. Experience the nostalgic tile-matching puzzle game in it's new glory!

Game : https://gamejolt.com/games/colortris/499578

ColorTris gameplay - Peach squares

______________________

Music : https://soundcloud.com/the-musical-ghost/ghost-kozmos-tetris-the…

I thought I would do a quick show and tell, with a 2 min video of the start of the game and some of the game elements, after many many months it is really starting to come together, time to start networking https://gamejolt.com/games/Dungeon_fable/490669

for the past 2 days I finally made the first demo build of shurugami

you can playtest now for yourself here: https://gamejolt.com/games/shurugami/605507

tell me what you think!

#rpg #indiedev #pixelart #screenshotsaturday