TheJollyKraut Posted August 7, 2018 Share Posted August 7, 2018 I'm playing this game for almost a week now and i've noticed something strange regarding the pathfinding of my dupes. as you can see in the attached screenshot to get from one side of my water treatment plant (still in the making) the dupes rather chose to take the much slower route using the ladders i build as some kind of bride over the water basins then the much faster route 2 levels above with the storage compactors. Link to comment https://forums.kleientertainment.com/forums/topic/94398-weird-patchfinding/ Share on other sites More sharing options...
ImpalerWrG Posted August 7, 2018 Share Posted August 7, 2018 The Pathing is simply giving the ladders the same travel time as a walkable floor and thus dose not see the the true travel times is longer. This is a simple fix if you know pathfinding algorithms. Link to comment https://forums.kleientertainment.com/forums/topic/94398-weird-patchfinding/#findComment-1072808 Share on other sites More sharing options...
SharraShimada Posted August 8, 2018 Share Posted August 8, 2018 The system wont differ between flat surface, ladders and "tile-gap-tile". Its just the distance what is calculated. And for that, the distance on the lower level is much shorter, as the distance 2 levels above would be. Pathfinding ist very CPU-consuming after all. You always want to keep it simple while efficient. Priority to simple. Suggestion: Build a wall of tiles in the middle over your water storages, or remove 2 ladders. So dupes can access them from both sides, but would be prevented to pass through. (In your screenshot, the top one has a pump, which is 2 tiles wide, and the cant pass, because its one tile to wide to jump.) Link to comment https://forums.kleientertainment.com/forums/topic/94398-weird-patchfinding/#findComment-1072860 Share on other sites More sharing options...
Coolthulhu Posted August 8, 2018 Share Posted August 8, 2018 16 minutes ago, SharraShimada said: Pathfinding ist very CPU-consuming after all. You always want to keep it simple while efficient. Priority to simple. Giving slow movement a pathfinding cost penalty is very easy and ONI already has it for fire pole climbing. Link to comment https://forums.kleientertainment.com/forums/topic/94398-weird-patchfinding/#findComment-1072864 Share on other sites More sharing options...
TheJollyKraut Posted August 8, 2018 Author Share Posted August 8, 2018 9 hours ago, ImpalerWrG said: The Pathing is simply giving the ladders the same travel time as a walkable floor and thus dose not see the the true travel times is longer. This is a simple fix if you know pathfinding algorithms. i'm not looking for an explanation, i'm looking for a fix. (the dev's fixing it mind you, not a way to make them use the fast route as i know how to do that) Link to comment https://forums.kleientertainment.com/forums/topic/94398-weird-patchfinding/#findComment-1072895 Share on other sites More sharing options...
Yoma_Nosme Posted August 8, 2018 Share Posted August 8, 2018 Correct me if I'm wrong but oni still only uses 1 core, right? If so I think the real fix for a lot of trouble (pathfinding from potato-hell not calculating speed buffs, critters choking your cpu, liquid and gas movement calculations, etc...) would be to finally give us multicore usage! "Put your hands together and pray to klei to lead us to the promised land where fps flow like milk and honey for thy mega-bases have stuttered for too long." Meep 13:37 Link to comment https://forums.kleientertainment.com/forums/topic/94398-weird-patchfinding/#findComment-1072915 Share on other sites More sharing options...
SharraShimada Posted August 8, 2018 Share Posted August 8, 2018 Nope it uses all of my 4 cores. But its in development. Optimsations are not at top priority. Link to comment https://forums.kleientertainment.com/forums/topic/94398-weird-patchfinding/#findComment-1072917 Share on other sites More sharing options...
martosss Posted August 8, 2018 Share Posted August 8, 2018 Here's another idea - fix your ladders so dupes walk ON them, not THROUGH them. If you put ladders 1 tile lower so that they're acting like a floor after dupes enter the long rooms, dupes will (mostly) step ON the ladders. So, instead of having 1 fast path and 5 slow paths, make all paths fast. Link to comment https://forums.kleientertainment.com/forums/topic/94398-weird-patchfinding/#findComment-1073098 Share on other sites More sharing options...
TheJollyKraut Posted August 9, 2018 Author Share Posted August 9, 2018 if i'd do that then i wouldn't be able to fit the pumps and filters in there anymore. but as i said, i'm not looking for a "solution" (i could just lock the doors and block off this route completely), i'm pointing this behaviour out so it can potentially be addressed. Link to comment https://forums.kleientertainment.com/forums/topic/94398-weird-patchfinding/#findComment-1073130 Share on other sites More sharing options...
martosss Posted August 9, 2018 Share Posted August 9, 2018 Well, that game is all about design. I don't know why you would make the room 4 tiles high and put the ladders there so it's uncomfortable and slow for dupes to pass and then frown at them for passing? Even if I wanted to, I obviously can't fix the code for you so that dupes choose the most optimal route. but you can try to find a way to work with the rules that you have. If you want to see strange behavior, have a look at some ladder and pole experiments I did and explain to me why duplicants will try to climb up/down instead of going through - basically they choose the longer and slower way in this case. So yea, I know that pathfinding isn't perfect, but I tried to find a way to build things so that dupes travel efficiently. You should try to do that, too. Link to comment https://forums.kleientertainment.com/forums/topic/94398-weird-patchfinding/#findComment-1073192 Share on other sites More sharing options...
TheJollyKraut Posted August 9, 2018 Author Share Posted August 9, 2018 who asked you to fix anything? why are you still arguing? i'm not interested in any explaining or any suggestions from you. how are you not getting that? Link to comment https://forums.kleientertainment.com/forums/topic/94398-weird-patchfinding/#findComment-1073205 Share on other sites More sharing options...
Coolthulhu Posted August 10, 2018 Share Posted August 10, 2018 16 hours ago, TheJollyKraut said: who asked you to fix anything? why are you still arguing? i'm not interested in any explaining or any suggestions from you. how are you not getting that? Then stop posting. If you keep posting, then you obviously care about the replies. The only replies you will get here are other people arguing about weird pathfinding, not pats on the back for being the 50th person to notice weird pathfinding. Link to comment https://forums.kleientertainment.com/forums/topic/94398-weird-patchfinding/#findComment-1073445 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.