View Issue Details

IDProjectCategoryView StatusLast Update
0002414The Dark ModAIpublic03.06.2011 03:58
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status closedResolutionopen 
PlatformWin32OSWindowsOS VersionXP
Product VersionTDM 1.02 
Target VersionTDM 1.03Fixed in VersionTDM 1.03 
Summary0002414: Problems caused by interleaved thinking
DescriptionTwo problems are caused by interleaved thinking.

1) If the frame interval is high enough (>=12) it's possible for AI with doors on their patrol routes to encounter problems at the doors. The IT code can place the AI in the path of an opening door, knocking the AI to one side with high velocity and possibly causing damage. This is the cause of AI mysteriously dying "for no reason" in Heart of Lone Salvation, The Alchemist, and St. Albans Cathedral.

2) At high frame intervals, AI can have problems at path_corners. The path prediction code can cause AI to wander in the vicinity of a path_corner, constantly seeking it but never reaching it.
Steps To ReproduceGive patrolling AI on interleaved thinking frame intervals greater than 12. This brings out the two problems.
Additional InformationI (grayman) have a fix for 1, and am working on 2. I'm filing this issue before having a complete fix so that I know the issue number, which I put in the fix comments.
TagsNo tags attached.

Activities

grayman

grayman

19.11.2010 19:52

viewer   ~0003314

Better handling of doors, elevators, and path_corners with higher interleaved thinking intervals. This fixes the mysterious deaths in Heart and Alchemist.

darkmod_src rev 4294:

ai.h
ai.cpp
PathCornerTask.h
PathCornerTask.cpp

Issue History

Date Modified Username Field Change
05.11.2010 12:05 grayman New Issue
05.11.2010 12:05 grayman Status new => assigned
05.11.2010 12:05 grayman Assigned To => grayman
05.11.2010 12:06 grayman Additional Information Updated
19.11.2010 19:52 grayman Note Added: 0003314
19.11.2010 19:52 grayman Status assigned => resolved
19.11.2010 19:52 grayman Fixed in Version => TDM 1.03
03.06.2011 03:58 greebo Status resolved => closed