View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003980 | The Dark Mod | AI | public | 19.12.2014 14:54 | 11.02.2024 00:52 |
Reporter | grayman | Assigned To | |||
Priority | normal | Severity | normal | Reproducibility | always |
Status | new | Resolution | open | ||
Product Version | TDM 2.03 | ||||
Summary | 0003980: AI coming off a search might backtrack when patrolling | ||||
Description | As an AI approaches a path_corner, and a searchable event happens beyond that path_corner, he runs off to participate in that search. When he leaves the search, he goes back on patrol by proceeding to his next path_corner, which is the one he was approaching when he ran off to search. When he reaches that path_corner, he turns around and continues his path, possibly walking through the area he just searched. What _should_ happen is that under these conditions, he should skip the path_corner he was approaching, and proceed toward the next path_corner on the patrol. | ||||
Additional Information | The solution might be as simple as comparing the distance from the AI to the search origin against the distance from the AI to his current path_corner target. If the former is shorter than the latter, nothing special needs to be done. But if the former is longer than the latter, then he should skip the current path_corner and target what it targets. | ||||
Tags | pathfinding | ||||