dangOreus

by Mylon

The flOre is lava. Dig yOre way out through this divOrese and dangOreus field! Will you Coke on the limited space and submit to the cOreruption Ore will you transfOrem it into an majestic Orechestra? Also known as "Dangerous" or "Danger Ores".

Scenarios
10 days ago
0.15 - 2.0
10.2K
Environment Mining

b Perlin noise is here! But some bugs with extra ores

6 years ago
(updated 6 years ago)

The perlin noise generation looks incredible and you've done a great job meeting the excitement drummed up for it. It does suffer a little if you have too many ores installed from other sources (BobAngel's + MadClown BobAngel ores, for example). The ore spawn hierarchy of just BobAngel (Saphirite, Jivolite, Crotinnium, Stiratite, Rubyite, Bobmonium, Coal) doesn't change, but with the influx of too many extra ores, some get pushed out of the stack of available ores- most notably Saphirite and Jivolite getting pushed out for Oil Sands. (EDIT: Seems to happen regardless of the number of ores for Saphirite to Oil Sands, there might be a slight issue in generating ores requiring fluids (is steam a fluid?).

Edit: Although, with a bit of tweaking (setting 'adding' values for very low to 0 prevents ore spawns when set to 'very low'), and the Perlin noise generator sometimes blends tiers together, removing ores. If I knew more about the generation format, I'd add here, but I get the feeling I'm just making a nuisance of myself.

Because the perlin height spawn hierarchy doesn't change across the map, or across chunks, you'll end up with the same order of ores every time, and the same shortage of specific ores if you install too many of them. EDIT: There's a crash related to MadClown's infinite ores, but that's really out of your jurisdiction, innit?)

Additionally, dangOreus doesn't respect values at worldgen when you set ore generation to 'none.' EDIT: It's reading the frequency values and ignoring size values, where you can add a 'none.' Not surprising, since this ore generation happens after traditional worldgen. I'm not sure which API call reaches out to ore mass size spawning, though, if you were to add a frequency flag or set 'adding' to 0 if size == 'none'

Again, incredible work. I know mod support is something of a fight, but the new perlin generation looks really great and I'm really looking forward to making a new factory or two with it.

6 years ago

Unfortunately there just isn't a whole lot of space for 30 or so ores. I could try counting the number of ores and increasing the size of the general structure, making bands wider and more distinct.

I suppose there's 2 different ways for ores to be removed. If there's no autoplace specification, they're skipped. But it looks like I also need to check for "none".

If you see I included a perlin.measure() function which can be tweaked to create a finer grained perlin.MEASURED table which may provide better results. I was just happy to have something functional together and published.

You can see in the commented code I had simply fiddled with raw numbers until I got the results I wanted for vanilla ores. And it worked really well because iron ore(the most common one) covered the range near 0 so it tied all of the other ores together.

6 years ago

There's an issue with vanilla + Angel's Refining as well. I absolutely cannot get dangOreus in Perlin mode to generate any saphirite whatsoever, ending the game before it even starts. OTOH, there are huge amounts of uranium for anyone that chooses to cheat in the iron.

6 years ago

Saphirite should spawn now in 1.4.1

6 years ago

Yeah the Madclown's infinite issue is annoying. But disabling them in settings fixes the issue. Its an identical crash to https://mods.factorio.com/mod/dangOreus/discussion/5a5f1b0dadcc441024d7702d except with NaN instead of 0

6 years ago
(updated 6 years ago)

/edit hm wrong thread, sry

New response