[0.17.6] control-setting:temperature:bias does not work
Posted: Wed Mar 06, 2019 11:46 am
I'm trying to update the Alien Biomes mod.
The Moisture and Terrain Type (Aux) controls are already exposed.
I'm trying to add Temperature:
I can't see how to make it appear next to Moisture and Terrain Type, I guess that's hard coded. It appears above cliffs with scale and coverage sliders.
I'm using the debug temperature expression. The Scale slider works but the Coverage one does not, the "control-setting:temperature:bias" value does not affect anything.
Also, when I change the temperature generator from Normal to Debug the Water control changes to Island Size and the coverage is locked?
The Moisture and Terrain Type (Aux) controls are already exposed.
I'm trying to add Temperature:
Code: Select all
{
type = "autoplace-control",
name = "temperature",
order = "z",
category = "terrain",
richness = true,
},
{
type = "noise-expression",
name = "control-setting:temperature:frequency:multiplier",
expression = noise.to_noise_expression(1)
},
{
type = "noise-expression",
name = "control-setting:temperature:bias",
expression = noise.to_noise_expression(0.1)
},
{
type = "noise-expression",
name = "debug-temperature",
intended_property = "temperature",
expression = noise.define_noise_function( function(x,y,tile,map)
return clamp_temperature(x * (1 / 4) * noise.var("control-setting:temperature:frequency:multiplier")
+ noise.var("control-setting:temperature:bias") * 100
end)
},
I'm using the debug temperature expression. The Scale slider works but the Coverage one does not, the "control-setting:temperature:bias" value does not affect anything.
Also, when I change the temperature generator from Normal to Debug the Water control changes to Island Size and the coverage is locked?