View Issue Details

IDProjectCategoryView StatusLast Update
0002581The Dark ModAIpublic04.10.2017 15:02
ReporterSpringheel Assigned ToSpringheel  
PrioritynormalSeveritynormalReproducibilityhave not tried
Status closedResolutionunable to reproduce 
Product VersionSVN 
Target VersionTDM 2.04Fixed in VersionTDM 2.04 
Summary0002581: AI cannot see lit enemies until quite close
DescriptionAI can see the player at a good distance, but they seem to (recently?) be unable to see each other. Enemy AI have to get quite close before actually recognizing each other and attacking.

http://modetwo.net/darkmod/index.php?/topic/12215-ai-range-of-vision/page__pid__245682__st__0&#entry245682

Steps To ReproduceLoad test/ai_range.map

Peer around barrier...AI archer will shoot at you.

Turn on notarget. AI will not shoot at enemy AI next to you.

Lure friendly AI to the desk with a noisearrow. AI will suddenly see each other and start attacking.
TagsNo tags attached.

Relationships

related to 0003492 resolvedgrayman AI vision tests 

Activities

Springheel

Springheel

26.01.2011 14:01

administrator   ~0003488

Ok, so this was reported in 1.02. Although I know at some time earlier than that it did work...I had a very large test room last year with AI able to see each other at either end.

I remember complaining one time that AI could see blood from an unrealistically long distance away...I wonder if there was a change back then that lowered the distance for AI seeing enemies as well?
Springheel

Springheel

28.01.2011 18:11

administrator   ~0003501

If it helps, it seems like the range AI can see each other is less than the old longbow range (500).
Springheel

Springheel

29.01.2011 22:31

administrator   ~0003507

Last edited: 29.01.2011 22:31

Ishtvan: I found this in the tdm_ai_base def file. This sets the default. I'm not sure if derived AI classes like humanoid change it or not.

        // Give off visual contact stim to other AIs around me
        "sr_class_3" "S"
        "sr_state_3" "1"
        "sr_type_3" "STIM_VISUAL"
        "sr_radius_3" "300"
        "sr_time_interval_3" "1500" // Once per 1.5 seconds



It's 300 units (pretty close), every 1.5 seconds.

Springheel

Springheel

30.01.2011 21:53

administrator   ~0003517

Last edited: 30.01.2011 21:54

I've modified this to a range of 600, and increased the time interval to 2 seconds. Let's see if it has a performance impact.

Not sure if this affects anything other than detecting enemies...do AI use it for greetings?

grayman

grayman

19.11.2011 05:22

viewer   ~0004161

Yes, AI use it for greetings.
nbohr1more

nbohr1more

04.10.2017 15:02

developer   ~0009386

No reports since 2011.
Significant AI visual change from 2.0 to 2.04

Issue History

Date Modified Username Field Change
26.01.2011 02:11 Springheel New Issue
26.01.2011 14:01 Springheel Note Added: 0003488
28.01.2011 18:11 Springheel Note Added: 0003501
29.01.2011 22:31 Springheel Assigned To => Springheel
29.01.2011 22:31 Springheel Status new => assigned
29.01.2011 22:31 Springheel Note Added: 0003507
29.01.2011 22:31 Springheel Note Edited: 0003507
30.01.2011 21:52 Springheel Status assigned => feedback
30.01.2011 21:53 Springheel Note Added: 0003517
30.01.2011 21:53 Springheel Status feedback => assigned
30.01.2011 21:54 Springheel Note Edited: 0003517
30.01.2011 21:54 Springheel Status assigned => feedback
07.05.2011 20:53 Springheel Assigned To Springheel =>
19.11.2011 05:22 grayman Note Added: 0004161
04.10.2017 15:01 nbohr1more Relationship added related to 0003492
04.10.2017 15:02 nbohr1more Note Added: 0009386
04.10.2017 15:02 nbohr1more Assigned To => Springheel
04.10.2017 15:02 nbohr1more Status feedback => closed
04.10.2017 15:02 nbohr1more Resolution open => unable to reproduce
04.10.2017 15:02 nbohr1more Product Version => SVN
04.10.2017 15:02 nbohr1more Fixed in Version => TDM 2.04
04.10.2017 15:02 nbohr1more Target Version => TDM 2.04