Is it possible to make cliffs generate on water?
I'm playing a modded playthrough with cargo ships, water ores, and (small) island worldgen. Having to deal with cliffs/reefs when planning shipping lanes would make for an interesting challenge.
I'm fairly new to modding, having done recipe and entity changes. Making a worldgen-focused mod would be a fun change.
Cliff generation on water?
-
- Burner Inserter
- Posts: 13
- Joined: Fri Aug 16, 2019 5:31 pm
- Contact:
Re: Cliff generation on water?
Try to delete collision mask between water and cliffs.everything-narrative wrote: ↑Thu Jul 30, 2020 9:55 amIs it possible to make cliffs generate on water?
I'm playing a modded playthrough with cargo ships, water ores, and (small) island worldgen. Having to deal with cliffs/reefs when planning shipping lanes would make for an interesting challenge.
I'm fairly new to modding, having done recipe and entity changes. Making a worldgen-focused mod would be a fun change.
The second way is a way like by https://mods.factorio.com/mod/nicefill
Make hidden surface without water and copy cliffs from it.
-
- Burner Inserter
- Posts: 13
- Joined: Fri Aug 16, 2019 5:31 pm
- Contact:
Re: Cliff generation on water?
I tried editing the collision mask for cliffs:darkfrei wrote: ↑Thu Jul 30, 2020 10:31 amTry to delete collision mask between water and cliffs.everything-narrative wrote: ↑Thu Jul 30, 2020 9:55 amIs it possible to make cliffs generate on water?
I'm playing a modded playthrough with cargo ships, water ores, and (small) island worldgen. Having to deal with cliffs/reefs when planning shipping lanes would make for an interesting challenge.
I'm fairly new to modding, having done recipe and entity changes. Making a worldgen-focused mod would be a fun change.
The second way is a way like by https://mods.factorio.com/mod/nicefill
Make hidden surface without water and copy cliffs from it.
Code: Select all
data.raw.cliff.cliff.collision_mask = {
"item-layer", "object-layer", "player-layer", "not-colliding-with-itself", -- "water-tile",
}
Re: Cliff generation on water?
Check that the water and cliffs have no same collision layers in collision mask.everything-narrative wrote: ↑Fri Jul 31, 2020 9:57 am
I tried editing the collision mask for cliffs:
but this doesn't seem to work. Any ideas why?Code: Select all
data.raw.cliff.cliff.collision_mask = { "item-layer", "object-layer", "player-layer", "not-colliding-with-itself", -- "water-tile", }