Animal Pathfinding

Thoughts on the further development of Haven & Hearth? Feel free to opine!

Animal Pathfinding

Postby Blxz » Sat Jun 19, 2010 7:34 am

I understand that loftar is attempting to make a better AI for animals. But I would appreciate if the pathfining ai for cows and sheep attached to a rope is upgraded, at least the same as to an animal that has aggro'd you. At the moment if I wall myself in and fight wild sheep they will find the smallest crack in the wall and try and rape me. But if I have one of those sheep tied to a rope and attempt to walk through a gate but don't do it 100% perfect the sheep will just stand there while my invisible psychic rope stretches out forever. Why does the following animal not pathfind better and walk through the gap to catch up?

Does ANYONE disagree with this for any reason?
User avatar
Blxz
 
Posts: 421
Joined: Mon Apr 05, 2010 12:03 pm

Re: Animal Pathfinding

Postby kralmir » Sat Jun 19, 2010 8:52 am

its not theyr pathfinding, every animal seems to be unable to wak through a gate. they only manage if you are directly on the other side because they try to walk to you and manage. i think its because gates are seen as solid objects, even when open.


for the rest you cant say they arent able to manouver around stuff to follow you.
[5:09:24 AM] kralmir: shrek is love
Image
[5:09:27 AM] kralmir: shrek is life

"It's a survival game, not a Survivor game." -Potjeh, feb 1st 2012.
User avatar
kralmir
 
Posts: 1234
Joined: Mon Mar 29, 2010 4:33 am
Location: a moderate sized box.

Re: Animal Pathfinding

Postby Potjeh » Sat Jun 19, 2010 1:08 pm

IMO this is the single most annoying thing in H&H.
Image Bottleneck
User avatar
Potjeh
 
Posts: 11811
Joined: Fri May 29, 2009 4:03 pm

Re: Animal Pathfinding

Postby blazsword » Sun Jun 20, 2010 8:39 am

Noo.. What we need is a fix for the damn party following.. I mean bumping into tree's all the damn time when following a party memeber is just so stupid and seriusly that's just damn annoying. It really needs to be fixed.
Thank you SacreDoom for the awesome profile picture you made!
User avatar
blazsword
 
Posts: 409
Joined: Fri Feb 12, 2010 7:54 pm
Location: Sweden

Re: Animal Pathfinding

Postby DatOneGuy » Sun Jun 20, 2010 11:25 am

blazsword wrote:Noo.. What we need is a fix for the damn party following.. I mean bumping into tree's all the damn time when following a party memeber is just so stupid and seriusly that's just damn annoying. It really needs to be fixed.

You'll carry cattle through fences and have them walk around more often. The follow command in parties could use work but isn't 'that' big of a deal, stop being lazy and trek it. :P
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . .Hi. . . . . . . . . . . . . . . . . . . . . . . .
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
User avatar
DatOneGuy
 
Posts: 5553
Joined: Sun Apr 18, 2010 7:50 am
Location: I'm in Miami, trick.

Re: Animal Pathfinding

Postby martinuzz » Sun Jun 20, 2010 1:04 pm

Cows / sheep getting stuck on gates is nr #1 frustration for me as well.
martinuzz
 
Posts: 381
Joined: Sat Dec 19, 2009 12:41 pm

Re: Animal Pathfinding

Postby OvShit » Sun Jun 20, 2010 1:34 pm

I don`t know, what you`re talking about, guys.
Recently I tam`d 4 animals and had no problems with gates. They just passed through it, as knife passes through butter.
OvShit
 
Posts: 390
Joined: Wed Feb 10, 2010 1:39 pm

Re: Animal Pathfinding

Postby loftar » Sun Jun 20, 2010 2:28 pm

You are most likely right that the pathfinding algorithm will always see the gates as obstacles, whether or not they're closed. I didn't think of that; and it's probably going to be quite hard to fix.

It should be rather simple to work around, though, I think. The pathfinding won't trigger until the cows actually bump into something, so if you just lead them straight through the gates, I don't think there should be a problem.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
loftar
 
Posts: 9051
Joined: Fri Apr 03, 2009 7:05 am

Re: Animal Pathfinding

Postby Potjeh » Sun Jun 20, 2010 3:01 pm

Not a problem in theory, but you try aligning a lamb just right when there's 15 other lambs in the same pen. It's harder than landing on an aircraft carrier in most flight sims.
Image Bottleneck
User avatar
Potjeh
 
Posts: 11811
Joined: Fri May 29, 2009 4:03 pm

Re: Animal Pathfinding

Postby Blxz » Mon Jun 21, 2010 11:24 am

Its not a major problem generally. Once you figure it out you just need to line up the animal and then walk through. It becomes more of a problem during lag spikes and when you have animals moving randomly around the pen that can get in the way.

I just wonder why there is a difference between an animal trying to get next to you to attack you compared to an animal that is just following via rope?
User avatar
Blxz
 
Posts: 421
Joined: Mon Apr 05, 2010 12:03 pm

Next

Return to Critique & Ideas

Who is online

Users browsing this forum: Claude [Bot], Dotbot [Bot] and 0 guests