View Issue Details

IDProjectCategoryView StatusLast Update
0002712The Dark ModAIpublic27.10.2011 05:17
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status closedResolutionfixed 
PlatformWin32OSWindowsOS VersionXP
Product VersionTDM 1.04 
Target VersionTDM 1.05Fixed in VersionTDM 1.05 
Summary0002712: AI don't walk through an open door when it's marked "ai_should_not_handle"
DescriptionWhen an open door is marked "ai_should_not_handle", an AI will not go through the doorway.
Steps To ReproduceThe lich queen in Glenham Tower's endgame exhibits this problem. She won't patrol through the 3 doors that lead outside. These doors are marked "ai_should_not_handle".
TagsNo tags attached.

Activities

grayman

grayman

29.03.2011 18:25

viewer   ~0003787

Added a check for this spawnarg to the door-handling code.

Adjusted the door REUSE time to 3s.

Changed the walk destination (_midPos) when a door swings away from the AI to take door width into account. The AI doesn’t “clear” the door when not closing it until he’s reached the limit of the door’s open position.

Added code to path_corner arrival to reset the REUSE timeout on the assumption that if the AI arrived at a path_corner, it’s okay to reuse the last door he handled.

Change the recognition of an open door to treat the closed door as a separate obstacle, not part of the open door obstacle. This reduces the overall obstacle footprint, still allows for open door recognition, and allows the Lich Queen in Glenham Tower to make her rounds through the two large main entrance doors.

rev. 4736:

HandleDoorTask.cpp
HandleDoorTask.h
ai_pathing.cpp
State.cpp
PathCornerTask.cpp
ai.cpp
Memory.cpp
Memory.h

Issue History

Date Modified Username Field Change
25.03.2011 22:59 grayman New Issue
25.03.2011 22:59 grayman Status new => assigned
25.03.2011 22:59 grayman Assigned To => grayman
25.03.2011 23:03 grayman Summary Door handling doesn't pay attention to "ai_should_not_handle" when door is open => AI don't walk through an open door when it's mark "ai_should_not_handle"
25.03.2011 23:04 grayman Summary AI don't walk through an open door when it's mark "ai_should_not_handle" => AI don't walk through an open door when it's marked "ai_should_not_handle"
29.03.2011 18:25 grayman Note Added: 0003787
29.03.2011 18:25 grayman Status assigned => resolved
29.03.2011 18:25 grayman Resolution open => fixed
29.03.2011 18:25 grayman Fixed in Version => TDM 1.05
27.10.2011 05:17 greebo Status resolved => closed