Robots, A small change that will give a big improvement.

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

GG Cannon
Inserter
Inserter
Posts: 29
Joined: Fri Apr 19, 2019 3:10 am
Contact:

Robots, A small change that will give a big improvement.

Post by GG Cannon »

I've noticed a pretty big issue with both the logistic and construction robots when you have a really big network of roboports.
No matter the distance they have to cross, they will always try to go straight for their target without regard to their battery charge and, when their battery depletes, they will slowly start to move towards the closest roboport.

This can create situations where it is either very inefficient or even impossible to reach their destination if your roboport network forms a L or a C shape with them having to cross in the middle.
They would try to cross straight from the center

The small changes that I believe would really help is, before going straight for the target, they should check:
With a full battery from the nearest roboport to me right now, can I cover the full distance?
If not: What is the farthest roboport from me that gets nearer to the target that I can reach with a full battery including depleted slow travel to recharge? And after arriving there, it does the same.

I've made this image on paint just to illustrate how the logic would work for this new travel distance calculation.

Image
steeleater
Manual Inserter
Manual Inserter
Posts: 1
Joined: Sat Dec 02, 2023 5:24 pm
Contact:

Re: Robots, A small change that will give a big improvement.

Post by steeleater »

robot ai is getting improved in 2.0; they simply always pick a roboport to charge at that is closer to their destination than where they last charged. i think this kind of robot ai would be too much of a performance drain, figuring as it hasn't been implemented yet. doing several travel time calculations between several roboports for possibly thousands of drones at a time is just too much
https://www.factorio.com/blog/post/fff-374
Post Reply

Return to “Ideas and Suggestions”