View Issue Details

IDProjectCategoryView StatusLast Update
0003052The Dark ModAIpublic08.03.2012 22:39
ReporterSeriousToni Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityalways
Status resolvedResolutionfixed 
Product VersionTDM 1.07 
Target VersionTDM 1.08Fixed in VersionTDM 1.08 
Summary0003052: Alerted AI skips path_waitfortrigger
DescriptionIf you have an AI that follows a path until a path_waitfortrigger comes and the AI is getting alerted when at the path_waitfortrigger it forgets about it and follows the next path after calming down the alert level though the trigger wasn't fired.

When coming down off an alert, the code assumes the current path_node is no longer valid and skips it, moving the AI to the next path_node.

This is contraproductive for a path_waittrigger as the AI normally is forbidden to move on without getting triggered.

Here the situation summarized:

actual situation:
path_corner --> path_waitfortrigger --> !Trigger fires! --> path_corner
path_corner --> path_waitfortrigger --> !AI alerted! --> path_corner

ideal situation:
path_corner --> path_waitfortrigger --> !Trigger fires! --> path_corner
path_corner --> path_waitfortrigger --> !AI alerted! --> last path_waitfortrigger
TagsNo tags attached.

Activities

grayman

grayman

08.03.2012 22:39

viewer   ~0004380

If an AI is pulled off a path_waitfortrigger by an alert, let him walk back to the path_corner that preceded the path_waitfortrigger. If there’s no path_corner, let him walk back to his initial idle position at map start.

rev. 5324:

Memory.h
Memory.cpp
MovementSubsystem.cpp

Issue History

Date Modified Username Field Change
06.03.2012 08:29 SeriousToni New Issue
08.03.2012 13:43 grayman Assigned To => grayman
08.03.2012 13:43 grayman Status new => assigned
08.03.2012 22:39 grayman Note Added: 0004380
08.03.2012 22:39 grayman Status assigned => resolved
08.03.2012 22:39 grayman Resolution open => fixed
08.03.2012 22:39 grayman Fixed in Version => TDM 1.08
08.03.2012 22:39 grayman Target Version => TDM 1.08