From 8b253746e48d86912a2fc77c2bb1b27af5ee4ca5 Mon Sep 17 00:00:00 2001 From: Moony Date: Thu, 26 May 2022 03:38:11 -0500 Subject: [PATCH] Corrects the fact the dim layers were fixed in place due to an indentation error. (#8461) --- Resources/Prototypes/Parallaxes/default.yml | 8 +- .../Parallaxes/parallax_config_stars-2.toml | 57 +++++++++++++++ .../parallax_config_stars_dim-2.toml | 73 +++++++++++++++++++ .../Parallaxes/parallax_config_stars_dim.toml | 48 ++++++++++++ 4 files changed, 182 insertions(+), 4 deletions(-) create mode 100644 Resources/Prototypes/Parallaxes/parallax_config_stars-2.toml create mode 100644 Resources/Prototypes/Parallaxes/parallax_config_stars_dim-2.toml diff --git a/Resources/Prototypes/Parallaxes/default.yml b/Resources/Prototypes/Parallaxes/default.yml index 2b1ecf5718..a3a14fa928 100644 --- a/Resources/Prototypes/Parallaxes/default.yml +++ b/Resources/Prototypes/Parallaxes/default.yml @@ -14,18 +14,18 @@ - texture: !type:GeneratedParallaxTextureSource id: "hq_wizard_stars_slower" - configPath: "/Prototypes/Parallaxes/parallax_config_stars.toml" + configPath: "/Prototypes/Parallaxes/parallax_config_stars-2.toml" slowness: 0.15 - texture: !type:GeneratedParallaxTextureSource id: "hq_wizard_stars_dim" configPath: "/Prototypes/Parallaxes/parallax_config_stars_dim.toml" - slowness: 0.375 + slowness: 0.375 - texture: !type:GeneratedParallaxTextureSource id: "hq_wizard_stars_dim_faster" - configPath: "/Prototypes/Parallaxes/parallax_config_stars_dim.toml" - slowness: 0.125 + configPath: "/Prototypes/Parallaxes/parallax_config_stars_dim-2.toml" + slowness: 0.125 layersLQ: - texture: !type:GeneratedParallaxTextureSource diff --git a/Resources/Prototypes/Parallaxes/parallax_config_stars-2.toml b/Resources/Prototypes/Parallaxes/parallax_config_stars-2.toml new file mode 100644 index 0000000000..08c0ee62a0 --- /dev/null +++ b/Resources/Prototypes/Parallaxes/parallax_config_stars-2.toml @@ -0,0 +1,57 @@ +# Clear to black. +[[layers]] +type = "clear" +color = "#000000" + +# Bright background nebula stars. +[[layers]] +type = "points" +closecolor = "#7E86BF" +count = 1000 +seed = 4810 +mask = true +masknoise_type = "fbm" +maskoctaves = 4 +maskpersistence = "0.5" +maskpower = "0.35" +masklacunarity = "1.5" +maskfrequency = "3" +maskthreshold = "0.37" +maskseed = 3551 + +# Bright background nebula stars, dim edge. +[[layers]] +type = "points" +closecolor = "#3D415C" +pointsize = 2 +count = 1000 +seed = 4810 +mask = true +masknoise_type = "fbm" +maskoctaves = 4 +maskpersistence = "0.5" +maskpower = "0.35" +masklacunarity = "1.5" +maskfrequency = "3" +maskthreshold = "0.37" +maskseed = 3551 + +# Couple of odd bright yellow-ish stars. +[[layers]] +type = "points" +closecolor = "#FFD363" +count = 30 +seed = 9019 + +# And their dim edge. +[[layers]] +type = "points" +closecolor = "#43371A" +pointsize = 2 +count = 30 +seed = 9019 + +# Colour-to-alpha. +[[layers]] +type = "toalpha" + diff --git a/Resources/Prototypes/Parallaxes/parallax_config_stars_dim-2.toml b/Resources/Prototypes/Parallaxes/parallax_config_stars_dim-2.toml new file mode 100644 index 0000000000..7a07c81dab --- /dev/null +++ b/Resources/Prototypes/Parallaxes/parallax_config_stars_dim-2.toml @@ -0,0 +1,73 @@ +# Clear to black. +[[layers]] +type = "clear" +color = "#000000" + +# Dim background nebula stars. +[[layers]] +type = "points" +seed = 4920 +closecolor = "#4B5072" +count = 1500 +mask = true +masknoise_type = "fbm" +maskoctaves = 4 +maskpersistence = "0.5" +maskpower = "0.35" +masklacunarity = "1.5" +maskfrequency = "3" +maskthreshold = "0.0" +maskseed = 6734 + +# Bright background nebula stars. +[[layers]] +type = "points" +closecolor = "#7E86BF" +count = 250 +seed = 5848 +mask = true +masknoise_type = "fbm" +maskoctaves = 4 +maskpersistence = "0.5" +maskpower = "0.35" +masklacunarity = "1.5" +maskfrequency = "3" +maskthreshold = "0.37" +maskseed = 8398 + +# Bright background nebula stars, dim edge. +[[layers]] +type = "points" +closecolor = "#3D415C" +pointsize = 2 +count = 250 +seed = 5848 +mask = true +masknoise_type = "fbm" +maskoctaves = 4 +maskpersistence = "0.5" +maskpower = "0.35" +masklacunarity = "1.5" +maskfrequency = "3" +maskthreshold = "0.37" +maskseed = 8398 + +# Couple of odd bright yellow-ish stars. +[[layers]] +type = "points" +closecolor = "#FFD363" +count = 15 +seed = 3748 + +# And their dim edge. +[[layers]] +type = "points" +closecolor = "#43371A" +pointsize = 2 +count = 15 +seed = 3748 + +# Colour-to-alpha. +[[layers]] +type = "toalpha" + diff --git a/Resources/Prototypes/Parallaxes/parallax_config_stars_dim.toml b/Resources/Prototypes/Parallaxes/parallax_config_stars_dim.toml index b8dc226778..f03e694d43 100644 --- a/Resources/Prototypes/Parallaxes/parallax_config_stars_dim.toml +++ b/Resources/Prototypes/Parallaxes/parallax_config_stars_dim.toml @@ -19,6 +19,54 @@ maskfrequency = "3" maskthreshold = "0.0" maskseed = 3551 +# Bright background nebula stars. +[[layers]] +type = "points" +closecolor = "#7E86BF" +count = 250 +seed = 6843 +mask = true +masknoise_type = "fbm" +maskoctaves = 4 +maskpersistence = "0.5" +maskpower = "0.35" +masklacunarity = "1.5" +maskfrequency = "3" +maskthreshold = "0.37" +maskseed = 2938 + +# Bright background nebula stars, dim edge. +[[layers]] +type = "points" +closecolor = "#3D415C" +pointsize = 2 +count = 250 +seed = 6843 +mask = true +masknoise_type = "fbm" +maskoctaves = 4 +maskpersistence = "0.5" +maskpower = "0.35" +masklacunarity = "1.5" +maskfrequency = "3" +maskthreshold = "0.37" +maskseed = 2938 + +# Couple of odd bright yellow-ish stars. +[[layers]] +type = "points" +closecolor = "#FFD363" +count = 15 +seed = 3748 + +# And their dim edge. +[[layers]] +type = "points" +closecolor = "#43371A" +pointsize = 2 +count = 15 +seed = 3748 + # Colour-to-alpha. [[layers]] type = "toalpha"