View Issue Details

IDProjectCategoryView StatusLast Update
0000800Dwarf FortressDwarf Mode -- Combatpublic2014-01-22 11:58
ReporterGreyhawk Assigned Touser6 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
PlatformWindowsOSVistaOS Versionsp1
Product Version0.31.01 
Summary0000800: Squad attack pathfinding lags behind target movement
DescriptionI had a Yeti get inside my fort and the yeti was able to elude my lone speardwarf (and his 3 war dogs) for weeks of game time because it uses the same type of pathfinding (caches x number of steps ahead of time) as other work jobs.

A dwarf will run at him and the yeti do a half circle around him and the dwarf will keep moving to where the yeti was 5-10 steps ago.

Dogs have better AI (since they don't use the kill order), but are too slow to catch the yeti (in fact slower than my dwarf).

At one point I felt the urge to play the "yakety sax" song.
Tagskill, pathfinding

Relationships

child of 0000481 acknowledgedToady One Kill/attack commands/orders don't work 

Activities

Rafal99

2010-04-08 09:20

reporter   ~0002056

Yeah military dwarves path to the place where enemy was when they started pathing. When they reach that place they start pathing to the place where enemy is at this moment. This caused situation where half of my military is chasing a groundhog for 2 months around the whole map.

Shadowlord

2010-04-11 23:10

reporter   ~0002988

If only they could learn to use crossbows!

derigo

2010-04-12 02:59

reporter   ~0003015

>If only they could learn to use crossbows!
lol

caldfir

2010-04-21 14:35

reporter   ~0004503

Yep - I've had some pretty legendary elk bird pursuits through my fort.

kaefermelder

2010-04-21 15:09

reporter   ~0004510

elk birds..I wish. I have the "civilian flees into danger instead away from it, ignoring alert, runs outside, is chased by goblins, military on kill chases after goblins" and then they do circles on the map for months unless I study the movement pattern and manage to block them off with individual orders or a second squad. (note to self: next fort will be in a steep canyon/on cliff with lots of impassable features)

user6

2010-06-10 17:07

  ~0008089

Toady has started asking for saves for military/equipment bugs, so if you have a save demonstrating this problem, it might be helpful to upload it to http://dffd.wimbli.com/. Thanks!

Kyle_Solo

2010-06-11 06:22

reporter   ~0008136

It's more or less just an issue with the way military pathing works, I don't know that saves would really help illustrate this one, unless the military isn't supposed to path like Rafal99 described.

I noticed this too when my military was chasing a giant rat, later on when they were chasing a cave swallow. Took them forever to catch up.

Add Note

Note

Issue History

Date Modified Username Field Change
2010-04-08 09:01 Greyhawk New Issue
2010-04-08 09:20 Rafal99 Note Added: 0002056
2010-04-08 09:21 Rafal99 Tag Attached: kill
2010-04-08 09:21 Rafal99 Tag Attached: pathfinding
2010-04-10 11:51 user6 Relationship added child of 0000481
2010-04-11 23:10 Shadowlord Note Added: 0002988
2010-04-12 02:59 derigo Note Added: 0003015
2010-04-21 14:35 caldfir Note Added: 0004503
2010-04-21 15:09 kaefermelder Note Added: 0004510
2010-06-10 17:07 user6 Note Added: 0008089
2010-06-11 06:22 Kyle_Solo Note Added: 0008136
2010-07-07 08:03 user6 Summary Squad attack this job has really bad AI => Squad attack pathfinding lags behind target movement
2014-01-22 11:58 user6 Assigned To => user6
2014-01-22 11:58 user6 Status new => acknowledged