View Issue Details

IDProjectCategoryView StatusLast Update
0002690The Dark ModAIpublic27.10.2011 05:17
Reportergrayman Assigned Tograyman  
PriorityhighSeveritymajorReproducibilityalways
Status closedResolutionfixed 
PlatformWin32OSWindowsOS VersionXP
Product VersionTDM 1.04 
Target VersionTDM 1.05Fixed in VersionTDM 1.05 
Summary0002690: AI become confused when chasing player through a door
DescriptionAn AI chasing a player through an open door will go back and forth through the door.
TagsNo tags attached.

Activities

grayman

grayman

17.03.2011 13:59

viewer   ~0003758

Chasing AI head toward the last place they spotted the player. When an AI uses a door, that location is saved for later retrieval. When finished with the door, the AI restores that location, but the AI is now on the other side of the door, so it needs to go back through the door to get to the saved location. This sets up an endless loop of saving locations that are on the opposite side of the door when handling a door, so the AI essentially forgets about chasing you.

This is a different case from searching or patrolling, where saving/restoring is required.

The fix is to not save/restore during door-handling when chasing.

rev. 4693:

HandleDoorTask.cpp

Issue History

Date Modified Username Field Change
17.03.2011 13:38 grayman New Issue
17.03.2011 13:38 grayman Status new => assigned
17.03.2011 13:38 grayman Assigned To => grayman
17.03.2011 13:59 grayman Note Added: 0003758
17.03.2011 13:59 grayman Status assigned => resolved
17.03.2011 13:59 grayman Resolution open => fixed
17.03.2011 13:59 grayman Fixed in Version => TDM 1.05
27.10.2011 05:17 greebo Status resolved => closed