Access to noise layers
Posted: Thu Mar 08, 2018 3:28 pm
So, factorio has fast system of noise layers, but i can not see any way to use it apart from autoplace.
Can it be exposed in mod api?
Can it be exposed in mod api?
Raw noise values for any given coordinates.Rseding91 wrote:What exactly are you hoping to have exposed?
Code: Select all
game.noise_layers[name].get(position) -> double
Those don't exist. The game generates noise using an autoplace control and a chunk-wide generic noise blob at chunk generation time but there's no "get me the value for this layer at this position" to expose.betrok wrote:Raw noise values for any given coordinates.Rseding91 wrote:What exactly are you hoping to have exposed?
Something likeCode: Select all
game.noise_layers[name].get(position) -> double