How to place cliffs
Re: How to place cliffs
surface.create_entity?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Re: How to place cliffs
Yes, but placing the ring of cliffs is too complicated.
Re: How to place cliffs
I'm stuck with this too.
Best I can figure out you have to create_entity the cliff in one of the 8 directions and rotate it 0-19 times.
But what direction and rotation do I have to use and where do I place the cliffs so they form a nice 60% slope for the side of a hexagon for example?
Best I can figure out you have to create_entity the cliff in one of the 8 directions and rotate it 0-19 times.
But what direction and rotation do I have to use and where do I place the cliffs so they form a nice 60% slope for the side of a hexagon for example?
Re: How to place cliffs
I can vouch for that. It took me around 2 days of full time work to understand how cliffs work when put into the world.
If you want to get ahold of me I'm almost always on Discord.
Re: How to place cliffs
Re: How to place cliffs
No, I implemented building them generically so the system just has "a" cliff rotation and you see what it makes when building.
When making cliffs direction is irrelevant. You want cliff_direction.
If you want to get ahold of me I'm almost always on Discord.
Re: How to place cliffs
Could you give an example please. Google doesn't have a single hit for factorio and cliff_direction. Doesn't seem to be in the API docs.
Re: How to place cliffs
Hmm, I thought it was there... I guess not. I'll add it for 0.17.
If you want to get ahold of me I'm almost always on Discord.
Re: How to place cliffs
Any progress on that and maybe a backport to 0.16? Passing cliff_direction to create_entity doesn't seem to do anything.