Bot pathing AI.
Posted: Tue Dec 26, 2017 11:47 am
TL;DR
currently bots only fly directly to their destination, regardless if its the best path or not, this could be improved.
Why
making the bots fly a more logical path, such as following the roboport connection paths. until they get close (or as close as they can) to their targets would help from keeping the bots flying out into the vast wasteland only to turn back when they run out of fuel and try again once recharged. this would also benefit bases that may not be a box or rectangle in shape and may have biters between parts of the base. as if the bots followed the path of roboports between the parts of the base they would not fly directly over the biters where they should not be. this would also help keep the bots from taking ages in some cases to get from one area to another as they would not need to go back and forth multiple times before they get to their targets.
How
Im no AI programmer or any other type of programmer. but it seems to me that if one could make a logic check when a bot gets activated to find a path using connected roboports to get as close as possible to the target before it starts its journey that this could be achieved
currently bots only fly directly to their destination, regardless if its the best path or not, this could be improved.
Why
making the bots fly a more logical path, such as following the roboport connection paths. until they get close (or as close as they can) to their targets would help from keeping the bots flying out into the vast wasteland only to turn back when they run out of fuel and try again once recharged. this would also benefit bases that may not be a box or rectangle in shape and may have biters between parts of the base. as if the bots followed the path of roboports between the parts of the base they would not fly directly over the biters where they should not be. this would also help keep the bots from taking ages in some cases to get from one area to another as they would not need to go back and forth multiple times before they get to their targets.
How
Im no AI programmer or any other type of programmer. but it seems to me that if one could make a logic check when a bot gets activated to find a path using connected roboports to get as close as possible to the target before it starts its journey that this could be achieved