View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003702 | The Dark Mod | AI | public | 28.03.2014 14:47 | 14.09.2017 12:13 |
Reporter | grayman | Assigned To | grayman | ||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | no change required | ||
Product Version | TDM 2.01 | ||||
Summary | 0003702: Recalculate hiding spots when a light is relit or doused | ||||
Description | Feature 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. | ||||
Tags | No tags attached. | ||||
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. | |
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.) |
|
Hiding spot code was substantially changed in 2.04. Is this still relevant? |
|
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. |
|
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 |