Access to noise layers

Things that we aren't going to implement
betrok
Fast Inserter
Fast Inserter
Posts: 101
Joined: Wed Feb 28, 2018 12:08 pm
Contact:

Access to noise layers

Post by betrok »

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?
Rseding91
Factorio Staff
Factorio Staff
Posts: 14601
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Access to noise layers

Post by Rseding91 »

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.
betrok
Fast Inserter
Fast Inserter
Posts: 101
Joined: Wed Feb 28, 2018 12:08 pm
Contact:

Re: Access to noise layers

Post by betrok »

Rseding91 wrote:What exactly are you hoping to have exposed?
Raw noise values for any given coordinates.

Something like

Code: Select all

game.noise_layers[name].get(position) -> double
Rseding91
Factorio Staff
Factorio Staff
Posts: 14601
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Access to noise layers

Post by Rseding91 »

betrok wrote:
Rseding91 wrote:What exactly are you hoping to have exposed?
Raw noise values for any given coordinates.

Something like

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.
If you want to get ahold of me I'm almost always on Discord.
betrok
Fast Inserter
Fast Inserter
Posts: 101
Joined: Wed Feb 28, 2018 12:08 pm
Contact:

Re: Access to noise layers

Post by betrok »

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.
Post Reply

Return to “Won't implement”