A solution to the AI problems?

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

A solution to the AI problems?

Post by lysol »

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.

https://www.youtube.com/embed/BYuGEsScpf0

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.
sg1efc
Posts: 84
Joined: 16 Nov 2012, 02:35

Re: A solution to the AI problems?

Post by sg1efc »

8-) Thanks everyone! :)
Aaronel
Posts: 1
Joined: 28 Mar 2018, 23:10

Re: A solution to the AI problems?

Post by Aaronel »

This looks very promising ... fantastic work!
Chanui
Posts: 2
Joined: 08 Dec 2015, 12:00

Re: A solution to the AI problems?

Post by Chanui »

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
Okulo
Posts: 672
Joined: 05 Feb 2012, 16:11

Re: A solution to the AI problems?

Post by Okulo »

Holy shit, navmeshes?! That is fantastic! Well done, Elsid, great job starting this up.
InfinityOwl
Posts: 2
Joined: 11 Apr 2018, 18:43

Re: A solution to the AI problems?

Post by InfinityOwl »

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
darkbasic
Posts: 153
Joined: 18 Apr 2016, 15:45
Contact:

Re: A solution to the AI problems?

Post by darkbasic »

Wow, looks so good.
Post Reply