Realtime pathfinding and circumnavigation for mob / npc AI!

Alright, so I grew tired of games constantly using the same Humanoid:MoveTo spam for their enemy “AI”, and decided to spend the past week making an AI that uses a combination of pathfinding and peculiar logic to make a smart AI for my game’s mobs!
https://cdn.discordapp.com/attachments/675690272528793642/759517206412394546/o8GEIWdtqH.mp4
The AI script is actually really efficient, and it only re-computes the path when necessary.
If you see any flaws in it, feel free to let me know :slightly_smiling_face:

(the white and blue points are for debugging btw lol)

16 Likes

True to what you first said. And also you did a really good job. Keep it up.

I really like it, cause seeing games with the figure that is wanting to kill you follows you really slowly turns very boring soon. I feel this script can really change the “Survival the ___ the killer” game genre (JOKE) But I actually really like this script you’ve created. This can really help in adding the tension and danger with the figure following accurately. Good job on that!

Thanks!
I’ve come to realize that it isn’t Roblox that’s lacking, but rather the proper person capable of performing the job. Even if you’re still a bit limited to what you can do, making a proper MMORPG genre shouldn’t be a problem, given enough time.

1 Like

Very true, I feel games that involve someone chasing you, seems really rushed. They always follow quite slowly. And lose track of you VERY easily. I like what you’ve done. This AI script is similar to games outside of ROBLOX. With their AI that is superior to normal ROBLOX games involving someone/thing chasing you. People should definitely work on their scripts. Not rushing them. I like what you’ve done. Spending time and dedication to your hobby. I really like that from you! It’s a good script though! Amazing!

1 Like

Wow, the scenery looks creepy and dark, and those lion-like monsters looks scary too.

Nice job dude.

NPC’s modelled amazing. Amazing GUI’s. Amazing pathfinding system. Amazing music. Can’t wait any longer for Gods’ Domain to come out. Is there a way that I can find the music anywhere? I love it.

Thanks for the nice words!
The music is currently not available for the public; our sound & ambient designer will release them on their social medias at some point, though.

Looks alright but it seems like something is not on point. I may be wrong but it looks like the monsters are clearly faster than the player, but still manage to never practically catch it. You may consider doing something about that I guess. Otherwise good job