[0.16.6] Making a noise-expression affect a noise-layer
Posted: Fri Dec 22, 2017 6:35 pm
I have a noise layer with name = "abm1"
I have a noise expression that returns debug values: x * (1 / 100)
I have tried calling the noise expression "abm1", "default-abm1", and "debug-abm1"
To test I am only allowing water and grass to be autoplaced:
It only outputs grass. I can't see any way of specifying a noise expression on the noise layer so I expected that there would be something behind the scenes to choose the expression based on a naming convention.
If i replace abm1_ in peaks with elevation, temperature, aux, etc it works, but I need to create more large-scale noise layers of this type to control biome distribution. Any ideas?
I have a noise expression that returns debug values: x * (1 / 100)
I have tried calling the noise expression "abm1", "default-abm1", and "debug-abm1"
To test I am only allowing water and grass to be autoplaced:
Code: Select all
for _, tile in pairs(data.raw.tile) do
data.raw.tile[_].autoplace = nil
end
data.raw.tile['water'].autoplace = {
peaks = {
{
abm1_optimal = 0.25,
abm1_range = 0.25,
abm1_max_range = 0.35
}
},
}
data.raw.tile['grass-1'].autoplace = {
peaks = {
{
abm1_optimal = 0.75,
abm1_range = 0.25,
abm1_max_range = 0.35
}
},
}
If i replace abm1_ in peaks with elevation, temperature, aux, etc it works, but I need to create more large-scale noise layers of this type to control biome distribution. Any ideas?