View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006552 | The Dark Mod | AI | public | 03.07.2024 10:03 | 13.07.2024 15:51 |
Reporter | datiswous | Assigned To | Amadeus | ||
Priority | low | Severity | feature | Reproducibility | have not tried |
Status | resolved | Resolution | fixed | ||
Product Version | TDM 2.12 | ||||
Target Version | TDM 2.13 | Fixed in Version | TDM 2.13 | ||
Summary | 0006552: Create spawnargs for follow-distance of ai | ||||
Description | See post https://forums.thedarkmod.com/index.php?/topic/9082-newbie-darkradiant-questions/&do=findComment&comment=494748 You can make ai follow you, but there is no way to specify the distance of following. This is hardcoded in FollowActorTask.cpp : #define DISTANCE_FOLLOWER_REACHED 60 #define DISTANCE_FOLLOWER_CATCHUP_DISTANCE 480 #define DISTANCE_FOLLOWER_CLOSE_ENOUGH_TO_STOP_RUNNING 180 Would be nice to be able to set this via spawnargs. | ||||
Tags | No tags attached. | ||||
https://forums.thedarkmod.com/index.php?/topic/9082-newbie-darkradiant-questions/&do=findComment&comment=494773 Geep proposed: "I wouldn't mind having "side by side" tracking too (one or two more spawnargs), but that's no doubt a bigger bite, and has complications like passing through doors." |
|
Rev 10824: Added three spawnargs: "distance_follower_reached", "distance_follower_catchup_distance" and "distance_follower_stop_running" Some areas for future improvement would be: 1) Support for multiple followers. It currently works now, but there is some strange pathing behavior when you have two or three followers following a single AI 2) Side by side tracking, as noted in the comment above 3) There is some odd behavior when an Actor AI is at a path wait node. The Follower AI stands in front of the Actor AI and stares at him. It seems like it would be more realistic to have the Follower AI stand behind the Actor AI when standing still at a path wait node |
|
Date Modified | Username | Field | Change |
---|---|---|---|
03.07.2024 10:03 | datiswous | New Issue | |
03.07.2024 10:04 | datiswous | Note Added: 0016787 | |
12.07.2024 14:16 | Amadeus | Assigned To | => Amadeus |
12.07.2024 14:16 | Amadeus | Status | new => assigned |
12.07.2024 17:51 | Amadeus | Status | assigned => resolved |
12.07.2024 17:51 | Amadeus | Note Added: 0016791 | |
12.07.2024 18:00 | Amadeus | Note Edited: 0016791 | |
13.07.2024 15:51 | nbohr1more | Resolution | open => fixed |
13.07.2024 15:51 | nbohr1more | Fixed in Version | => TDM 2.13 |
13.07.2024 15:51 | nbohr1more | Target Version | => TDM 2.13 |