A solution to the AI problems?

Feel free to discuss here about news on our blog
Post Reply
User avatar
Posts: 1434
Joined: 26 Mar 2013, 01:48
Location: Sweden

A solution to the AI problems?

Post by lysol » 26 Mar 2018, 18:34

Ever since the AI was implemented, OpenMW has been plagued with a few irritating bugs. Guards running against walls and people randomly walking off cliffs, among other things. All of these seem to boil down to this: The pathfinding AI needs to be improved. There has been some attempts to do this, but none of them has come very far. Until now.

Elsid, who previously had just started on a few pull requests in november last year and then wasn’t really heard from, suddenly posted this massive pull request. Why is it massive, you say?

Well basically, elsid is implementing Detour from a navigation mesh toolset called recastnavigation. You can read details about it in the link, but to summarize, recastnavigation calculates where the AI can and can’t walk, and then creates a navigation mesh for the AI to use.
People have already built OpenMW with elsid’s latest commits to try it out, and it seems to work great.


In the above video, user Gluka tried it out in the Tamriel Rebuilt town of Kragen Mar because that town does not have a path grid yet. The NPC’s are still able to navigate the town without problems.

So if elsid manages to get this to work well without too much of a performance hit (remember, this feature isn’t done and there is still a chance that there are problems that he can’t solve), then this will surely revolutionize OpenMW.

In other news, the shadow branch is still moving forward in a steady pace and there has been a lot of small neat bug fixes and feature implementations merged that will further enhance the experience in the upcoming version 0.44.
Normal mapped texture replacers, exclusive for OpenMW:
My Nexus page

Posts: 78
Joined: 16 Nov 2012, 02:35

Re: A solution to the AI problems?

Post by sg1efc » 27 Mar 2018, 00:00

8-) Thanks everyone! :)

Posts: 1
Joined: 28 Mar 2018, 23:10

Re: A solution to the AI problems?

Post by Aaronel » 28 Mar 2018, 23:11

This looks very promising ... fantastic work!

Posts: 2
Joined: 08 Dec 2015, 12:00

Re: A solution to the AI problems?

Post by Chanui » 03 Apr 2018, 02:30

Awesome, guys! :o
Can't wait until the next patch release.
Hoping for some upcoming optimization so that I can play it on HD 3000 chipset laptop :D

User avatar
Posts: 672
Joined: 05 Feb 2012, 16:11

Re: A solution to the AI problems?

Post by Okulo » 04 Apr 2018, 22:52

Holy shit, navmeshes?! That is fantastic! Well done, Elsid, great job starting this up.

Posts: 2
Joined: 11 Apr 2018, 18:43

Re: A solution to the AI problems?

Post by InfinityOwl » 11 Apr 2018, 18:55

Amazing! No more single file lines of AI running into each other, I think. Now what we really need is for them to jump on and off small ledges. Then presto! no more pathing exploits. lol

Posts: 99
Joined: 18 Apr 2016, 15:45

Re: A solution to the AI problems?

Post by darkbasic » 18 Apr 2018, 09:47

Wow, looks so good.

Post Reply