Page 1 of 1
entities that only collide with each other
Posted: Fri Mar 07, 2014 10:11 pm
by sparr
I want to make an entity that does not collide with any full layer, but does collide with copies of itself so that two of them can't be [accidentally] placed in the same tile.
Re: entities that only collide with each other
Posted: Fri Mar 07, 2014 10:16 pm
by ficolas
The way to do it would be to put them in the same collision mask but they are (almost?) the only ones in that colision mask, I guess that if you make them only have as a collision box player, or ghost, It will work fine
Re: entities that only collide with each other
Posted: Fri Mar 07, 2014 10:18 pm
by sparr
How do you control which collision mask an entity goes to? I wouldn't put them in player since I don't want them to collide with player, but putting them in ghost *could* work.
Re: entities that only collide with each other
Posted: Mon Mar 10, 2014 6:35 pm
by kovarex
You would have to give them to custom collision mask and it is not possible now, but we might add it as modding possibility in the future.
Re: entities that only collide with each other
Posted: Tue May 09, 2017 6:22 pm
by sparr
bumping request for custom collision mask
Re: entities that only collide with each other
Posted: Fri Apr 13, 2018 11:48 pm
by sparr
A partial solution here is to use the "unused" collision layers listed at
https://wiki.factorio.com/Types/CollisionMask
This will only collide with other things on layer-14, which is not used in the base game. Another mod might coincidentally use it, which would be unfortunate luck.
Re: entities that only collide with each other
Posted: Sat Apr 14, 2018 6:48 am
by Permittivity
I've often thought that doing something like this with logistic bots would be a way to balance them. It would stop bots from being used to convey huge amounts of material between two points without impacting the ability to use bots in roles they are more uniquely suited for.
Re: entities that only collide with each other
Posted: Sat Apr 14, 2018 9:07 am
by Koub
Permittivity wrote:I've often thought that doing something like this with logistic bots would be a way to balance them. It would stop bots from being used to convey huge amounts of material between two points without impacting the ability to use bots in roles they are more uniquely suited for.
Please keep the debate on bots vs belts in one of the many topics that already exist. This is a request for a modding feature, period.