Limiting logistics robots
Limiting logistics robots
I'm looking into the possibility of creating a way to have a type of logistics robot that would be limited to moving across water, and would conceptually function as automated boats, but otherwise act in the normal logistics robot way. However, none of my attempts seem to be feasible. There are two ways I looked into doing this: the first was by just making the robots collide with the land, and possibly do some stuff with the roboports to help out the pathfinding if that caused trouble. I was able to make a car that only drove on water and not land, and by making the same changes I was able to make it so the robots could only be placed in water, but once they activate they fly over land back to the roboport. Is it not possible to make the robots collide with the world, or is there just some flag somewhere I'm missing (is there some sort of inheritance thing going on)? I just copied the entity entry for the regular logistics robots and added a collision box and mask. The alternative would be to somehow restrict access of the new robots to a certain kind of roboport which could only be built on water, but I can't find any way that you would restrict such a thing. Is there any way to get this idea to work in the game's current state?
Re: Limiting logistics robots
I just want to give little inputs:
Probably the robo-KI overwrites the abilitys in any way? Or how the robot itself works overwrites the fact that they should colide? Probably they are on a separate level and their KI is used for pathfinding. Probably this will be very hard, if you restrict them just on water...
Probably the robo-KI overwrites the abilitys in any way? Or how the robot itself works overwrites the fact that they should colide? Probably they are on a separate level and their KI is used for pathfinding. Probably this will be very hard, if you restrict them just on water...
Factorio in a Nutshell
try and error, try and error, try and success
once again it is friday, once again i'm waiting for the news
hour for hour for hour it goes, where it stops nobody knows
try and error, try and error, try and success
once again it is friday, once again i'm waiting for the news
hour for hour for hour it goes, where it stops nobody knows