View Issue Details

IDProjectCategoryView StatusLast Update
0005418The Dark ModAIpublic19.11.2020 14:40
ReporterMirceaKitsune Assigned To 
Status newResolutionopen 
Platformx64OSLinux openSUSEOS VersionRelease
Product VersionTDM 2.08 
Summary0005418: path_sleep ignores the "wait" and "wait_max" spawnargs, AI immediately stands up after laying down
DescriptionWhen the AI reaches a path_sleep entity in a path circuit, they will lay down but immediately get back up. The "wait" and "wait_max" values are completely ignored.

They work just as intended on path_sit who's functionality path_sleep follows, so I'm assuming something is wrong with path_sleep specifically. I noticed this on two different maps with different AI types and completely new path circuits so it's likely not some obscure map error either.
Additional Informationpath_sleep is targeted by a path_corner and targets another path_corner. path_sleep has spawnargs "wait 10" and "wait_max 20".
TagsNo tags attached.




19.11.2020 07:15

reporter   ~0012990

Not a bug, wrong setup. Search for sleeping AI in TDM wiki.


19.11.2020 13:54

reporter   ~0012992

I had already looked at this page before opening the report: path_sleep is only referenced once here, no special specific notes.

I looked at the one you suggested too: It does seem to recommend targeting a path_wait with the path_sleep which I wasn't aware of.

This doesn't make a lot of sense to me still: If path_sit can directly use a "wait" and "wait_max" without having to target a path_wait, why is path_sleep different? It seems to be the same thing in terms of functionality, just that path_sleep has you lay down instead of sitting on a chair. So even if this isn't a bug like I initially thought, it still sounds like something might be out of order and good to look into... of course I don't know enough about the design to say this with certainty, opinions from other developers would be helpful here at this stage.


19.11.2020 14:40

reporter   ~0012993

Yup, there's a slight inconsistency, but that doesn't make it a bug. Path_waits and wait spawnargs might be worth discussing on TDM forums in terms of proposed feature or design change. You can use path_waits with path_sit and _sleep in the same way you use them with path_corners.

Issue History

Date Modified Username Field Change
17.11.2020 17:16 MirceaKitsune New Issue
19.11.2020 07:15 Judith Note Added: 0012990
19.11.2020 07:58 Judith Priority normal => none
19.11.2020 07:58 Judith Reproducibility always => N/A
19.11.2020 13:54 MirceaKitsune Note Added: 0012992
19.11.2020 14:40 Judith Note Added: 0012993