From 8c138746f46fa62fcfa0344b75b69ecb3c480c51 Mon Sep 17 00:00:00 2001 From: dnqbob Date: Mon, 4 Nov 2024 15:22:54 +0800 Subject: [PATCH] Set up cloud example --- .../Traits/Palettes/GradientColorsPalette.cs | 2 +- .../TilesetPresets/sno-grassgreenzone.yaml | 12 ++++++++++ .../TilesetPresets/sno-greenzone.yaml | 11 +++++++++ .../palettes/TilesetPresets/sno-sandsnow.yaml | 12 ++++++++++ .../TilesetPresets/sno-scrinify-pink.yaml | 13 ++++++++++- .../TilesetPresets/sno-scrinify-purp.yaml | 11 +++++++++ .../TilesetPresets/tem-greenzone.yaml | 14 +++++++++++ .../palettes/TilesetPresets/tem-ice2lava.yaml | 14 +++++++++++ .../TilesetPresets/tem-jade2rose.yaml | 14 +++++++++++ .../TilesetPresets/tem-scrinify-pink.yaml | 15 ++++++++++++ .../TilesetPresets/tem-scrinify-purp.yaml | 14 +++++++++++ mods/sp/rules/palettes/palettesterrain.yaml | 23 ++++++++++++++----- 12 files changed, 147 insertions(+), 8 deletions(-) diff --git a/OpenRA.Mods.Sp/Traits/Palettes/GradientColorsPalette.cs b/OpenRA.Mods.Sp/Traits/Palettes/GradientColorsPalette.cs index 9fca45c4b..7d3496932 100644 --- a/OpenRA.Mods.Sp/Traits/Palettes/GradientColorsPalette.cs +++ b/OpenRA.Mods.Sp/Traits/Palettes/GradientColorsPalette.cs @@ -18,7 +18,7 @@ namespace OpenRA.Mods.SP.Traits { [TraitLocation(SystemActors.World | SystemActors.EditorWorld)] [Desc("Add this to the World actor definition.")] - public class GradientColorsPaletteInfo : TraitInfo + public class GradientColorsPaletteInfo : TraitInfo, ILobbyCustomRulesIgnore { [PaletteDefinition] [Desc("The name of the resulting palette")] diff --git a/mods/sp/rules/palettes/TilesetPresets/sno-grassgreenzone.yaml b/mods/sp/rules/palettes/TilesetPresets/sno-grassgreenzone.yaml index abe49ecad..06857f4ae 100644 --- a/mods/sp/rules/palettes/TilesetPresets/sno-grassgreenzone.yaml +++ b/mods/sp/rules/palettes/TilesetPresets/sno-grassgreenzone.yaml @@ -9,3 +9,15 @@ RBGSwapMode: GBR LoadPaletteWithLightModifiedAndRBGSwapped@playersno-nobright: RBGSwapMode: GBR + + ## *** Changes of Cloud color *** + #GradientColorsPalette@cloud: + ## *** Some good exampe *** + + ## blue cloud (best) + #StartColor: 000001 + #EndColor: F2F2FF + + # green cloud (good) + #StartColor: 000300 + #EndColor: F9FFF9 diff --git a/mods/sp/rules/palettes/TilesetPresets/sno-greenzone.yaml b/mods/sp/rules/palettes/TilesetPresets/sno-greenzone.yaml index 12c0fcdf3..8d519cf15 100644 --- a/mods/sp/rules/palettes/TilesetPresets/sno-greenzone.yaml +++ b/mods/sp/rules/palettes/TilesetPresets/sno-greenzone.yaml @@ -9,3 +9,14 @@ RBGSwapMode: RBG LoadPaletteWithLightModifiedAndRBGSwapped@playersno-nobright: RBGSwapMode: RBG + ## *** Changes of Cloud color *** + #GradientColorsPalette@cloud: + ## *** Some good exampe *** + + ## blue cloud (best) + #StartColor: 000001 + #EndColor: F2F2FF + + # green cloud (good) + #StartColor: 000100 + #EndColor: F2FFF2 diff --git a/mods/sp/rules/palettes/TilesetPresets/sno-sandsnow.yaml b/mods/sp/rules/palettes/TilesetPresets/sno-sandsnow.yaml index f81ef7f03..3e1394d01 100644 --- a/mods/sp/rules/palettes/TilesetPresets/sno-sandsnow.yaml +++ b/mods/sp/rules/palettes/TilesetPresets/sno-sandsnow.yaml @@ -9,3 +9,15 @@ RBGSwapMode: BGR LoadPaletteWithLightModifiedAndRBGSwapped@playersno-nobright: RBGSwapMode: BGR + ## *** Changes of Cloud color *** + #GradientColorsPalette@cloud: + ## *** Some good exampe *** + + ## blue cloud (best) + #StartColor: 000001 + #EndColor: F5F5FF + + ## green cloud (best) + #StartColor: 000100 + #EndColor: F5FFF5 + diff --git a/mods/sp/rules/palettes/TilesetPresets/sno-scrinify-pink.yaml b/mods/sp/rules/palettes/TilesetPresets/sno-scrinify-pink.yaml index f562231c2..b84d784a4 100644 --- a/mods/sp/rules/palettes/TilesetPresets/sno-scrinify-pink.yaml +++ b/mods/sp/rules/palettes/TilesetPresets/sno-scrinify-pink.yaml @@ -8,4 +8,15 @@ LoadPaletteWithLightModifiedAndRBGSwapped@playersno: RBGSwapMode: BRG LoadPaletteWithLightModifiedAndRBGSwapped@playersno-nobright: - RBGSwapMode: BRG \ No newline at end of file + RBGSwapMode: BRG + ## *** Changes of Cloud color *** + # GradientColorsPalette@cloud: + ## *** Some good exampe *** + + ## blue cloud (best) + #StartColor: 000001 + #EndColor: F3F3FF + + # green cloud (good) + #StartColor: 000100 + #EndColor: F4FFF4 diff --git a/mods/sp/rules/palettes/TilesetPresets/sno-scrinify-purp.yaml b/mods/sp/rules/palettes/TilesetPresets/sno-scrinify-purp.yaml index 2baefeea3..359fc6e64 100644 --- a/mods/sp/rules/palettes/TilesetPresets/sno-scrinify-purp.yaml +++ b/mods/sp/rules/palettes/TilesetPresets/sno-scrinify-purp.yaml @@ -9,3 +9,14 @@ RBGSwapMode: GRB LoadPaletteWithLightModifiedAndRBGSwapped@playersno-nobright: RBGSwapMode: GRB + ## *** Changes of Cloud color *** + # GradientColorsPalette@cloud: + ## *** Some good exampe *** + + ## blue cloud (best) + #StartColor: 000001 + #EndColor: F2F2FF + + # green cloud (good) + #StartColor: 000100 + #EndColor: F4FFF4 diff --git a/mods/sp/rules/palettes/TilesetPresets/tem-greenzone.yaml b/mods/sp/rules/palettes/TilesetPresets/tem-greenzone.yaml index f52b2760f..1a5995e16 100644 --- a/mods/sp/rules/palettes/TilesetPresets/tem-greenzone.yaml +++ b/mods/sp/rules/palettes/TilesetPresets/tem-greenzone.yaml @@ -7,3 +7,17 @@ RBGSwapMode: GRB LoadPaletteWithLightModifiedAndRBGSwapped@playertem-nobright: RBGSwapMode: GRB + ## *** Changes of Cloud color *** + # GradientColorsPalette@cloud: + ## *** Some good exampe *** + # green cloud (good) + #StartColor: 000400 + #EndColor: EEFFF0 + + # blue cloud (good) + #StartColor: 00000A + #EndColor: ECECFF + + # red cloud (good) + #StartColor: 050000 + #EndColor: FFF0F0 diff --git a/mods/sp/rules/palettes/TilesetPresets/tem-ice2lava.yaml b/mods/sp/rules/palettes/TilesetPresets/tem-ice2lava.yaml index be92dbb5a..f32cf4a80 100644 --- a/mods/sp/rules/palettes/TilesetPresets/tem-ice2lava.yaml +++ b/mods/sp/rules/palettes/TilesetPresets/tem-ice2lava.yaml @@ -7,3 +7,17 @@ RBGSwapMode: BGR LoadPaletteWithLightModifiedAndRBGSwapped@playertem-nobright: RBGSwapMode: BGR + ## *** Changes of Cloud color *** + # GradientColorsPalette@cloud: + ## *** Some good exampe *** + ## blue cloud (best) + #StartColor: 000002 + #EndColor: F0F0FF + + ## orange cloud (best) + #StartColor: 060200 + #EndColor: FFF5EB + + ## orange cloud (best) + #StartColor: 000000 + #EndColor: F0FFF0 diff --git a/mods/sp/rules/palettes/TilesetPresets/tem-jade2rose.yaml b/mods/sp/rules/palettes/TilesetPresets/tem-jade2rose.yaml index 087a063a8..dc27c534e 100644 --- a/mods/sp/rules/palettes/TilesetPresets/tem-jade2rose.yaml +++ b/mods/sp/rules/palettes/TilesetPresets/tem-jade2rose.yaml @@ -7,3 +7,17 @@ RBGSwapMode: BRG LoadPaletteWithLightModifiedAndRBGSwapped@playertem-nobright: RBGSwapMode: BRG + ## *** Changes of Cloud color *** + # GradientColorsPalette@cloud: + ## *** Some good exampe *** + ## blue cloud (best) + #StartColor: 000002 + #EndColor: EFEFFF + + ## green cloud (good) + #StartColor: 000300 + #EndColor: EDFCF2 + + ## red cloud (good) + #StartColor: 050000 + #EndColor: FFECEC diff --git a/mods/sp/rules/palettes/TilesetPresets/tem-scrinify-pink.yaml b/mods/sp/rules/palettes/TilesetPresets/tem-scrinify-pink.yaml index b305fe192..f89920379 100644 --- a/mods/sp/rules/palettes/TilesetPresets/tem-scrinify-pink.yaml +++ b/mods/sp/rules/palettes/TilesetPresets/tem-scrinify-pink.yaml @@ -7,3 +7,18 @@ RBGSwapMode: RBG LoadPaletteWithLightModifiedAndRBGSwapped@playertem-nobright: RBGSwapMode: RBG + ## *** Changes of Cloud color *** + # GradientColorsPalette@cloud: + ## *** Some good exampe *** + # green cloud (good) + #StartColor: 000A00 + #EndColor: F0FFF0 + + # blue cloud (good) + #StartColor: 000006 + #EndColor: F3F3FF + + # red cloud (good) + #StartColor: 020000 + #EndColor: FFF0F0 + ## *** Some good exampe *** diff --git a/mods/sp/rules/palettes/TilesetPresets/tem-scrinify-purp.yaml b/mods/sp/rules/palettes/TilesetPresets/tem-scrinify-purp.yaml index 1c8f34ae0..d29538196 100644 --- a/mods/sp/rules/palettes/TilesetPresets/tem-scrinify-purp.yaml +++ b/mods/sp/rules/palettes/TilesetPresets/tem-scrinify-purp.yaml @@ -7,3 +7,17 @@ RBGSwapMode: GBR LoadPaletteWithLightModifiedAndRBGSwapped@playertem-nobright: RBGSwapMode: GBR + ## *** Changes of Cloud color *** + # GradientColorsPalette@cloud: + ## *** Some good exampe *** + # green cloud (good) + #StartColor: 000700 + #EndColor: E3FFE3 + + # blue cloud (best) + #StartColor: 000001 + #EndColor: F2F2FF + + # orange cloud (best) + #StartColor: 020100 + #EndColor: FFFAF2 diff --git a/mods/sp/rules/palettes/palettesterrain.yaml b/mods/sp/rules/palettes/palettesterrain.yaml index ffe07e5f4..94d78e119 100644 --- a/mods/sp/rules/palettes/palettesterrain.yaml +++ b/mods/sp/rules/palettes/palettesterrain.yaml @@ -118,15 +118,26 @@ GradientColorsPalette@cloud: Name: cloud AllowModifiers: false - # Jascgrey + # normal cloud = Jascgrey StartColor: 010101 EndColor: FFFFFF - # snow normal green cloud (best) + ## *** Changes of Cloud color *** + # GradientColorsPalette@cloud: + ## *** Some good exampe *** + + # snow normal, green cloud (best) #StartColor: 000100 - #EndColor: F1FFF1 + #EndColor: F3FFF3 + + ## snow normal, blue cloud (best) + #StartColor: 000001 + #EndColor: F3F3FF - # temp normal green cloud (not good) - #StartColor: 000F00 - #EndColor: E0FFE0 + #temp normal, green cloud (good) + #StartColor: 000300 + #EndColor: F0FFF0 + #temp normal, blue cloud (good) + #StartColor: 000007 + #EndColor: EEEEFF