From b2f32f8907ef10726fcfc4774ad282e479ee5aaf Mon Sep 17 00:00:00 2001 From: Ashley Newson Date: Tue, 30 Dec 2025 01:13:50 +0000 Subject: [PATCH] Add "Plots" terrain type for RA and CnC map generation Some common feedback about preview generated maps is that they are too chokey. This change aims to add a new terrain type called "Plots" that retains the variety of terrain features present in the Gardens terrain, but opens up the play area a bit more. In essence, it strikes a balance between the densely packed Gardens terrain type and the loosely packed Plains and Parks terrain types. This new terrain type notably uses a smaller noise feature size to provide smaller but more regular map structure, and expands the pathway cutouts and contour spacings for forests and cliffs. The new Plots terrain type is made available for both RA and CNC and becomes the new default. This is an additive configuration-only change. Replay and multiplayer map generation retains forward/backward compatibility. --- mods/cnc/fluent/rules.ftl | 5 ++++- mods/cnc/rules/map-generators.yaml | 18 +++++++++++++++++- mods/ra/fluent/rules.ftl | 5 ++++- mods/ra/rules/map-generators.yaml | 18 +++++++++++++++++- 4 files changed, 42 insertions(+), 4 deletions(-) diff --git a/mods/cnc/fluent/rules.ftl b/mods/cnc/fluent/rules.ftl index 3c70be8614..12c9dad710 100644 --- a/mods/cnc/fluent/rules.ftl +++ b/mods/cnc/fluent/rules.ftl @@ -799,7 +799,10 @@ label-cnc-map-generator-choice-terrain-type-puddles = .description = Open spaces with small ponds label-cnc-map-generator-choice-terrain-type-gardens = .label = Gardens - .description = Featureful terrain with ponds, cliffs, and forests + .description = Densely-packed terrain with ponds, cliffs, and forests +label-cnc-map-generator-choice-terrain-type-plots = + .label = Plots + .description = Loosely-packed terrain with ponds, cliffs, and forests label-cnc-map-generator-choice-terrain-type-plains = .label = Plains .description = Open spaces with sparse trees and cliffs diff --git a/mods/cnc/rules/map-generators.yaml b/mods/cnc/rules/map-generators.yaml index e3bcf18a6c..f9bb878f94 100644 --- a/mods/cnc/rules/map-generators.yaml +++ b/mods/cnc/rules/map-generators.yaml @@ -94,7 +94,7 @@ MultiChoiceOption@TerrainType: Label: label-cnc-map-generator-option-terrain-type Priority: 2 - Default: Gardens,Rocky + Default: Plots Choice@Lakes: Label: label-cnc-map-generator-choice-terrain-type-lakes Settings: @@ -112,6 +112,22 @@ EnforceSymmetry: 2 RoadSpacing: 3 RoadShrink: 4 + Choice@Plots: + Label: label-cnc-map-generator-choice-terrain-type-plots + Settings: + TerrainFeatureSize: 10240 + ForestFeatureSize: 10240 + ResourceFeatureSize: 10240 + Water: 100 + Forests: 300 + ForestCutout: 5 + EnforceSymmetry: 2 + Mountains: 400 + MinimumTerrainContourSpacing: 8 + MinimumCliffLength: 8 + Roughness: 125 + RoadShrink: 4 + CivilianBuildings: 100 Choice@Plains: Label: label-cnc-map-generator-choice-terrain-type-plains Settings: diff --git a/mods/ra/fluent/rules.ftl b/mods/ra/fluent/rules.ftl index f5948d8e94..a508cde5ec 100644 --- a/mods/ra/fluent/rules.ftl +++ b/mods/ra/fluent/rules.ftl @@ -966,7 +966,10 @@ label-ra-map-generator-choice-terrain-type-puddles = .description = Open spaces with small ponds label-ra-map-generator-choice-terrain-type-gardens = .label = Gardens - .description = Featureful terrain with ponds, cliffs, and forests + .description = Densely-packed terrain with ponds, cliffs, and forests +label-ra-map-generator-choice-terrain-type-plots = + .label = Plots + .description = Loosely-packed terrain with ponds, cliffs, and forests label-ra-map-generator-choice-terrain-type-plains = .label = Plains .description = Open spaces with sparse trees and cliffs diff --git a/mods/ra/rules/map-generators.yaml b/mods/ra/rules/map-generators.yaml index 179d0389c6..046416c7ea 100644 --- a/mods/ra/rules/map-generators.yaml +++ b/mods/ra/rules/map-generators.yaml @@ -100,7 +100,7 @@ MultiChoiceOption@TerrainType: Label: label-ra-map-generator-option-terrain-type Priority: 2 - Default: Gardens + Default: Plots Choice@Lakes: Label: label-ra-map-generator-choice-terrain-type-lakes Settings: @@ -117,6 +117,22 @@ EnforceSymmetry: 2 RoadSpacing: 3 RoadShrink: 4 + Choice@Plots: + Label: label-ra-map-generator-choice-terrain-type-plots + Settings: + TerrainFeatureSize: 10240 + ForestFeatureSize: 10240 + ResourceFeatureSize: 10240 + Water: 100 + Forests: 300 + ForestCutout: 5 + EnforceSymmetry: 2 + Mountains: 400 + MinimumTerrainContourSpacing: 8 + MinimumCliffLength: 8 + Roughness: 125 + RoadShrink: 4 + CivilianBuildings: 100 Choice@Plains: Label: label-ra-map-generator-choice-terrain-type-plains Settings: