From ca72541e4ec84c172e50109361bb8ffe26e3d0a4 Mon Sep 17 00:00:00 2001 From: Anuken Date: Sun, 13 Feb 2022 11:18:34 -0500 Subject: [PATCH] More open sectors --- core/src/mindustry/core/World.java | 2 +- core/src/mindustry/maps/planet/ErekirPlanetGenerator.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/core/src/mindustry/core/World.java b/core/src/mindustry/core/World.java index 8359dbcc18..76205dac2f 100644 --- a/core/src/mindustry/core/World.java +++ b/core/src/mindustry/core/World.java @@ -504,7 +504,7 @@ public class World{ } if(state.hasSector() && state.getSector().preset == null){ - int circleBlend = 7; + int circleBlend = 5; //quantized angle float offset = state.getSector().rect.rotation + 90; float angle = Angles.angle(x, y, tiles.width/2, tiles.height/2) + offset; diff --git a/core/src/mindustry/maps/planet/ErekirPlanetGenerator.java b/core/src/mindustry/maps/planet/ErekirPlanetGenerator.java index f6a07776e1..6e22fb1b2f 100644 --- a/core/src/mindustry/maps/planet/ErekirPlanetGenerator.java +++ b/core/src/mindustry/maps/planet/ErekirPlanetGenerator.java @@ -25,6 +25,7 @@ public class ErekirPlanetGenerator extends PlanetGenerator{ public static float liqThresh = 0.64f, liqScl = 87f, redThresh = 3.1f, noArkThresh = 0.3f; public static int crystalSeed = 8, crystalOct = 2; public static float crystalScl = 0.9f, crystalMag = 0.3f; + public static float airThresh = 0.13f, airScl = 14; Block[] terrain = {Blocks.regolith, Blocks.regolith, Blocks.regolith, Blocks.regolith, Blocks.yellowStone, Blocks.rhyolite, Blocks.carbonStone}; @@ -130,7 +131,7 @@ public class ErekirPlanetGenerator extends PlanetGenerator{ tile.block = tile.floor.asFloor().wall; - if(Ridged.noise3d(seed + 1, position.x, position.y, position.z, 2, 14) > 0.14){ + if(Ridged.noise3d(seed + 1, position.x, position.y, position.z, 2, airScl) > airThresh){ tile.block = Blocks.air; }