View Issue Details

IDProjectCategoryView StatusLast Update
0003702The Dark ModAIpublic14.09.2017 12:13
Reportergrayman Assigned Tograyman  
PrioritynormalSeverityfeatureReproducibilityN/A
Status closedResolutionno change required 
Product VersionTDM 2.01 
Summary0003702: Recalculate hiding spots when a light is relit or doused
DescriptionFeature request.

AI can relight a doused light while searching.

At the start of searching, a list of potential hiding spots is generated based on the current lighting conditions.

If those conditions change during a search (light goes on), the hiding spot list should be regenerated.

We know this at two moments: when a newly doused light stims a searching AI, and when a searching AI turns a light on. All other moments (i.e. a non-searching AI turns on a light) are difficult to recognize.
TagsNo tags attached.

Relationships

related to 0004220 resolvedgrayman More active AI searches 

Activities

Obsttorte

Obsttorte

25.08.2014 14:06

developer   ~0006897

How performance houngry is the hiding spot calculation actually? If the impact is not to high, the esiest way may be to recalculate it in specific intervals.
grayman

grayman

25.08.2014 14:20

viewer   ~0006898

I've never measured it, but creating the list of spots doesn't seem to take long. 2 or more AI can share the same list, though, so the designer(s) must have been worried about how long 'list creation' took. Since it can generate hundreds of spots, and each spot must undergo an illumination test (which is time-consuming), it seems to be a very complicated way of telling an AI to "look here, then look there, then look ...".

I'm not a big fan of the hiding spot mechanism, since it can cause odd search behavior, especially when 2 or more AI are searching. Eventually, I'd like to see it replaced with a mechanism that uses two bits of information:

1 - nearby architecture (where are the doors? where do nearby stairs go? if someone was here, where's the most likely place they would have gone?)

2 - how can I use my friends to best search the area? (squad behavior, posting guards at doors, sending someone to raise an alarm, etc.)
nbohr1more

nbohr1more

14.09.2017 03:54

developer   ~0009226

Hiding spot code was substantially changed in 2.04.
Is this still relevant?
grayman

grayman

14.09.2017 12:13

viewer   ~0009233

The 'hiding spot' approach was abandoned in 2.04, though the code is still present but unused.

Given the dynamic nature of the 2.04 changes, adding and subtracting lights during a search will automatically modify the search.

This issue is closed.

Issue History

Date Modified Username Field Change
28.03.2014 14:47 grayman New Issue
25.08.2014 14:06 Obsttorte Note Added: 0006897
25.08.2014 14:20 grayman Note Added: 0006898
14.09.2017 03:53 nbohr1more Relationship added related to 0004220
14.09.2017 03:54 nbohr1more Note Added: 0009226
14.09.2017 03:54 nbohr1more Status new => feedback
14.09.2017 12:13 grayman Note Added: 0009233
14.09.2017 12:13 grayman Status feedback => new
14.09.2017 12:13 grayman Assigned To => grayman
14.09.2017 12:13 grayman Status new => closed
14.09.2017 12:13 grayman Resolution open => no change required