Got a super hacky workaround, if anyone needs it in the meanwhile. Code + explanation is in the mod folder.
TLDR: use a "base" spot-noise with constant values, then apply all scaling etc. on top of that. Except there's like 3 major issues with that that required their own workarounds. But in the end ...
Search found 5 matches
- Tue Dec 09, 2025 6:52 pm
- Forum: Assigned
- Topic: [Genhis][2.0.72] resource_autoplace_all_patches noise-expressions with identical regular_patch_set_index influence each
- Replies: 2
- Views: 485
- Sat Oct 25, 2025 4:34 pm
- Forum: Assigned
- Topic: [Genhis][2.0.72] resource_autoplace_all_patches noise-expressions with identical regular_patch_set_index influence each
- Replies: 2
- Views: 485
[Genhis][2.0.72] resource_autoplace_all_patches noise-expressions with identical regular_patch_set_index influence each
With this code in a data.lua (no other code anywhere else, no other mods. zipped mod is attached.):
local copper = data.raw["noise-expression"]["default-copper-ore-patches"]
copper.expression = copper.expression
:gsub("regular_rq_factor = 0%.11", "regular_rq_factor = 0.03")
:gsub("regular_patch ...
local copper = data.raw["noise-expression"]["default-copper-ore-patches"]
copper.expression = copper.expression
:gsub("regular_rq_factor = 0%.11", "regular_rq_factor = 0.03")
:gsub("regular_patch ...
- Tue Sep 16, 2025 7:35 pm
- Forum: Modding help
- Topic: resource_autoplace_all_patches noise-expressions with identical regular_patch_set_index influence each other?
- Replies: 4
- Views: 804
Re: resource_autoplace_all_patches noise-expressions with identical regular_patch_set_index influence each other?
Huh, I've never noticed that it's possible to turn off a resource before
.
Anyhow, when I turn off Iron, I get small circular copper patches, roughly of the dimensions shown in the screenshot.
If instead I turn off copper however, I get perfectly normal iron patches.
Anyhow, when I turn off Iron, I get small circular copper patches, roughly of the dimensions shown in the screenshot.
If instead I turn off copper however, I get perfectly normal iron patches.
- Sun Sep 14, 2025 7:39 pm
- Forum: Modding help
- Topic: resource_autoplace_all_patches noise-expressions with identical regular_patch_set_index influence each other?
- Replies: 4
- Views: 804
Re: resource_autoplace_all_patches noise-expressions with identical regular_patch_set_index influence each other?
You should use some regex for the string which will be replaced. In the base game, the rq values are 1.10, not 0.11.
Whoops, forgot to escape te . , tho that shouldn't change anything. resource-autoplace.lua resource_autoplace_settings divides the
regular_rq_factor_multiplier by 10, so 0.11 ...
- Sat Sep 13, 2025 1:04 pm
- Forum: Modding help
- Topic: resource_autoplace_all_patches noise-expressions with identical regular_patch_set_index influence each other?
- Replies: 4
- Views: 804
resource_autoplace_all_patches noise-expressions with identical regular_patch_set_index influence each other?
Edit: It's now tracked as a bug: https://forums.factorio.com/viewtopic.php?t=131528
My initial goal was to have a small resource patch in the center(-ish) of another resource patch. I figured I could make them use the same location by ensuring that their spot_noise expressions use the same skip ...
My initial goal was to have a small resource patch in the center(-ish) of another resource patch. I figured I could make them use the same location by ensuring that their spot_noise expressions use the same skip ...