Some collision mask

Neemys
Filter Inserter
Filter Inserter
Posts: 461
Joined: Sat Apr 09, 2016 6:16 pm
Contact:

Some collision mask

Post by Neemys »

It would be nice if mod have some mean to add custom collision-mask layer. When we change actual mask for some entities to make room for one to use it mess up those entities. Having something like that :

Code: Select all

data:extend(
{
  {
    type = "collision-layer",
    name = "my-custom-collision-layer-not-used-by-anything"
  }
}
If something like that is already planned for later or too long to be implemented now, could you just add some layer named like "mod-layer1", "mod-layer2" that are not used by any existing vanilla item so we have at least some layer that we can use even if it could collide with other mod.

Thanks
Want more space restriction ? Or maybe you want to be forced to use train for other thing than ore and oil ? Try Building Platform Mod !
Rseding91
Factorio Staff
Factorio Staff
Posts: 14852
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Some collision mask

Post by Rseding91 »

I expanded the collision masks so all of the available masks are usable. For 0.13.13 and later there will be layer-10 through layer-15 that can be used.

Custom collision masks aren't supported as the internal data structure doesn't work that way.
If you want to get ahold of me I'm almost always on Discord.
Neemys
Filter Inserter
Filter Inserter
Posts: 461
Joined: Sat Apr 09, 2016 6:16 pm
Contact:

Re: Some collision mask

Post by Neemys »

I really appreciate all of your hard work and effort. Thanks you !
Want more space restriction ? Or maybe you want to be forced to use train for other thing than ore and oil ? Try Building Platform Mod !
Post Reply

Return to “Implemented mod requests”