I want to use the stratum ore type to generate sedimental layers of various thickness. Just like in the picture, I want the stratum shape to follow the topography of the world. I imagine it will be possible by imitating the mapgen noise somehow, but I haven't used Perlin noise before and don't know how. Any ideas?
Since stratum ore type seed cannot be made to imitate map topography, how can this be achieved?
Edit: Title was originally ”How can I match stratum seed with world topography?”
How can I add sediments that follows map topography?
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
How can I add sediments that follows map topography?
Last edited by texmex on Fri Nov 23, 2018 15:16, edited 5 times in total.
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: How can I match stratum seed with world topography?
Do you mean something like this masterpiece of mod? viewtopic.php?t=20066
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: How can I match stratum seed with world topography?
I can't see much of the sediments in the screenshot except for in one of them which do seem to inherit its shape from the topography. So yes, something like in that mod, I think. However, from peeking the code, it isn't done by the stratum ore type.
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: How can I match stratum seed with world topography?
Perlin noise is random so it's impossible to make the stratum ore API follow the world terrain.
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: How can I match stratum seed with world topography?
I’m disappoint. Any other method? Multiple mapgen ”fill” nodes?
- paramat
- Developer
- Posts: 3700
- Joined: Sun Oct 28, 2012 00:05
- GitHub: paramat
- IRC: paramat
- Location: UK
Re: How can I match stratum seed with world topography?
A mod can do it.
Replicate in the mod the terrain noise you want to match to, then place ores relative to that noise.
Replicate in the mod the terrain noise you want to match to, then place ores relative to that noise.
- texmex
- Member
- Posts: 1753
- Joined: Mon Jul 11, 2016 21:08
- GitHub: tacotexmex
- In-game: tacotexmex
Re: How can I match stratum seed with world topography?
I wouldn’t know how to do that but thank you for the direction. I’m not looking to place ores specifically but sediments. And the stratum is so handy.
Who is online
Users browsing this forum: No registered users and 11 guests