View Issue Details

IDProjectCategoryView StatusLast Update
0004830The Dark ModAIpublic26.01.2024 14:41
Reportergrayman Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 2.06 
Target VersionTDM 2.07Fixed in VersionTDM 2.07 
Summary0004830: AI refuses to leave a door he can't close because a corpse is in the way
DescriptionI thought that I'd allowed AI to finally give up and walk away from this situation, but it's showing up in 2.06.

If a corpse or KOed body is in the way of a door closing, and an AI is trying to close the door, the AI gets stuck in a cycle of trying to close the door, searching for whoever is blocking the door, then trying to close the door again, etc. etc. etc.
Tagsdoors, realism

Relationships

related to 0004248 new AI door blocking 
has duplicate 0004242 resolvedgrayman Ragdoll can block doorways 

Activities

grayman

grayman

13.07.2018 00:49

viewer   ~0010674

The fix for this should also fix this problem:

http://forums.thedarkmod.com/topic/19546-so-i-was-playing-william-steele-3-by-grayman-and-this-happened/#entry424682
grayman

grayman

03.09.2018 22:04

viewer   ~0010754

Correct an issue with knowing when to walk away from a blocked door. The sequence is now:

1. Try to close blocked door and fail.
2. Open the door and try again and fail.
3. Open the door and try again and fail.
4. Search around the door, in case the player is involved in the block.
5. When the search is complete, return to the door and try to close it again and fail.
6. Walk away.

If the AI handling the door is blocking it, he’ll do 1, 2, 3, and 6.

Making these changes exposed a long-time bug in sliding doors. Now fixed, so rotating and sliding doors should behave the same.

Rev 7686:

HandleDoorTask.cpp
HandleDoorTask.h
Memory.cpp
Memory.h

Issue History

Date Modified Username Field Change
08.06.2018 21:06 grayman New Issue
08.06.2018 21:06 grayman Status new => assigned
08.06.2018 21:06 grayman Assigned To => grayman
13.07.2018 00:49 grayman Note Added: 0010674
13.07.2018 00:52 grayman Description Updated
03.09.2018 22:04 grayman Note Added: 0010754
03.09.2018 22:05 grayman Status assigned => resolved
03.09.2018 22:05 grayman Resolution open => fixed
03.09.2018 22:05 grayman Fixed in Version => TDM 2.07
21.12.2018 14:12 nbohr1more Relationship added has duplicate 0004242
26.01.2024 14:41 Fiver Relationship added related to 0004248
26.01.2024 14:41 Fiver Tag Attached: doors
26.01.2024 14:41 Fiver Tag Attached: realism