Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find Depth/Altitude Extremes #300

Open
LordSicarious opened this issue Jul 1, 2024 · 1 comment
Open

Find Depth/Altitude Extremes #300

LordSicarious opened this issue Jul 1, 2024 · 1 comment

Comments

@LordSicarious
Copy link

It'd be very useful to be able to search for the highest/lowest point in a given area in a seed, similar to how we can search for climate extremes. At the moment, things like "a mountain that goes above the cloud layer" are basically impossible to locate efficiently, as mountains are not significantly different from other inland biomes like groves or meadows in terms of searchable climate parameters.

@Jereaux
Copy link

Jereaux commented Jul 3, 2024

The depth calculation is one that is a bit complex, and while cubiomes does have tools to check for Surface Height (in the other conditions), computationally it's a little challenging and slower than some other calcs during the condition check. As far as your "Mountain that goes above the cloud layer", there are several ways to go about checking for them such as using a depth check at 0,0 along with some other conditions looking for peaks or low erosion, but mountains are fairly easy to generate with just climate parameters. Depth (surface height) is a function of Erosion, Continentalness, and Weirdness. Low weirdness, high continentalness, and weirdness right around -6700 or 6700 all but guarantee a peak will form.

A quick experiment at 0,0 with -5000 Erosion, 2500 Continentalness, and a OR condition on weirdness looking for -6800 to -6600 or 6600 to 6800 resulted in 1058 seeds in a few seconds, and all but 1 had either one of the three peaks biomes, or badlands mountains at 0,0 (the 1 seed was a snowy slope at Y 147, with a very small Jagged Peaks at -5,0). I don't recall what cloud height is but 74 of those seeds had height above Y220. Just something you could try out in your search for tall mountains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants