View Issue Details

IDProjectCategoryView StatusLast Update
0003442The Dark ModAIpublic16.10.2017 21:56
ReporterSpringheel Assigned Tograyman  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status closedResolutionunable to reproduce 
Product VersionTDM 2.00 
Target VersionTDM 2.04Fixed in VersionTDM 2.04 
Summary0003442: AI do not play pain animation when enemy out of reach
DescriptionIf AI do not have a missile weapon, when the enemy is out of reach they just stand frozen in their combat idle pose. They don't move, even if shot by arrows. While they play their pain bark, they don't play their pain animation.

TagsNo tags attached.

Relationships

related to 0003372 resolvedgrayman AI not playing pain animation 

Activities

grayman

grayman

12.06.2013 18:02

viewer   ~0005558

Which AI?
Springheel

Springheel

13.06.2013 00:49

administrator   ~0005560

Last edited: 13.06.2013 00:53

I saw this with the mages when their range was set so that they couldn't throw at me (though that's not a problem for them now). I also see it with undead who don't have ranged weapons. This leads me to believe it will happen to any AI who has the spawnarg that allows throwing missiles turned off.

grayman

grayman

14.06.2013 01:46

viewer   ~0005562

The code doesn't play a pain anim when the AI is in combat state, because the anim messes with the combat anims.

Since the AI is still in combat when it can't reach you, but can still see you, it won't play the pain anim if you hit it with an arrow. Perhaps this can be relaxed if the AI knows you're unreachable and it has no ranged weapon.

As for the frozen business, a guard who can throw rocks will stand in the same place as long as he can see you. For an AI who can't throw rocks, there's nothing in the code to make him move around. As long as he can see you, he's going to stay in the same spot. If he loses sight of you, he'll drop out of combat into agitated searching and start looking around for you, which means he'll move around.

So nothing's broken, but we have to decide whether to change the behavior of AI who have no rock-throwing ability.
nbohr1more

nbohr1more

16.10.2017 21:55

developer   ~0009507

Last edited: 16.10.2017 21:56

No reports after 2.04

Issue History

Date Modified Username Field Change
08.06.2013 18:04 Springheel New Issue
12.06.2013 18:02 grayman Note Added: 0005558
12.06.2013 18:02 grayman Assigned To => grayman
12.06.2013 18:02 grayman Status new => assigned
13.06.2013 00:38 grayman Status assigned => feedback
13.06.2013 00:49 Springheel Note Added: 0005560
13.06.2013 00:49 Springheel Status feedback => assigned
13.06.2013 00:53 Springheel Note Edited: 0005560
14.06.2013 01:46 grayman Note Added: 0005562
07.07.2013 22:18 grayman Status assigned => feedback
16.10.2017 21:54 nbohr1more Relationship added related to 0003372
16.10.2017 21:55 nbohr1more Note Added: 0009507
16.10.2017 21:56 nbohr1more Status feedback => closed
16.10.2017 21:56 nbohr1more Resolution open => unable to reproduce
16.10.2017 21:56 nbohr1more Fixed in Version => TDM 2.04
16.10.2017 21:56 nbohr1more Target Version => TDM 2.04
16.10.2017 21:56 nbohr1more Note Edited: 0009507