View Issue Details

IDProjectCategoryView StatusLast Update
0002708The Dark ModAIpublic27.10.2011 05:17
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilitysometimes
Status closedResolutionfixed 
PlatformWin32OSWindowsOS VersionXP
Product VersionTDM 1.05 
Target VersionTDM 1.05Fixed in VersionTDM 1.05 
Summary0002708: AI can get stuck near monster-clipped tables, etc.
DescriptionIf an AI gets too close to a monster-clipped table or chair while searching, it can get stuck. It will just stand there, perhaps rotating or barking, but never moving off its spot.
TagsNo tags attached.

Activities

grayman

grayman

25.03.2011 03:41

viewer   ~0003783

Last edited: 25.03.2011 03:43

When an object like a table is monster-clipped, and the top plane of the clip brush is level with the table top, it can cause nearby AAS areas to "rise off the floor" to the level of that plane. If an AI wanders into one of these AAS areas, (most likely during searching) the pathfinding code won't be able to provide the AI a path out of the area, because it considers the area unreachable. The AI is then stuck.

The solution involves checking the AI's origin against the lower z bounds of the AAS area's bounding box. This can be done if normal pathfinding fails, as a "second chance". This should be the only time an AI's origin (which is at the soles of their feet) is below the bottom of an AAS area, so it's a reasonable check.

grayman

grayman

25.03.2011 17:23

viewer   ~0003785

rev. 4727:

ai.cpp

Issue History

Date Modified Username Field Change
25.03.2011 03:36 grayman New Issue
25.03.2011 03:36 grayman Status new => assigned
25.03.2011 03:36 grayman Assigned To => grayman
25.03.2011 03:41 grayman Note Added: 0003783
25.03.2011 03:43 grayman Note Edited: 0003783
25.03.2011 17:23 grayman Note Added: 0003785
25.03.2011 17:23 grayman Status assigned => resolved
25.03.2011 17:23 grayman Resolution open => fixed
30.03.2011 22:02 grayman Fixed in Version => TDM 1.05
30.03.2011 22:02 grayman Target Version => TDM 1.05
27.10.2011 05:17 greebo Status resolved => closed