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?
Access to noise layers
Re: Access to noise layers
The autoplace controls *are* the definition of the noise layers. What exactly are you hoping to have exposed?
If you want to get ahold of me I'm almost always on Discord.
Re: Access to noise layers
Raw noise values for any given coordinates.Rseding91 wrote:What exactly are you hoping to have exposed?
Something like
Code: Select all
game.noise_layers[name].get(position) -> double
Re: Access to noise layers
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
If you want to get ahold of me I'm almost always on Discord.
Re: Access to noise layers
Hm, makes sence, game itself do not need to cache it...
It seams i need to investigate autoplace system deeper, everythink what i want to do for now should be possible with it after all.
But i still think, that at least "chunk-wide generic noise blob" could be very userfull for mods.
Thanks for information anyways.
It seams i need to investigate autoplace system deeper, everythink what i want to do for now should be possible with it after all.
But i still think, that at least "chunk-wide generic noise blob" could be very userfull for mods.
Thanks for information anyways.