1
0
forked from 0ad/0ad

Map touchup: gulf of bothnia

- Denser forests
- frozen lake biome gets some watery holes in there, just to make it
slightly more mazey.
- Tweak the lighting of the specific biomes to avoid overexposing the
ground textures.

Differential Revision: https://code.wildfiregames.com/D4073
This was SVN commit r25680.
This commit is contained in:
wraitii 2021-06-04 16:50:44 +00:00
parent 76191d43c8
commit eae2538802
4 changed files with 34 additions and 9 deletions

View File

@ -8,7 +8,7 @@ if (g_MapSettings.Biome)
setSelectedBiome();
else
// TODO: Replace ugly default for atlas by a dropdown
setBiome("gulf_of_bothnia/late_spring");
setBiome("gulf_of_bothnia/winter");
const tPrimary = g_Terrains.mainTerrain;
const tForestFloor = g_Terrains.forestFloor1;
@ -124,6 +124,19 @@ for (let gulfLake of gulfLakePositions)
avoidClasses(clPlayer,scaleByMapSize(20, 28)));
}
if (currentBiome() === "gulf_of_bothnia/frozen_lake")
{
createAreas(
new ChainPlacer(
1,
4,
scaleByMapSize(16, 40),
0.3),
new ElevationPainter(-2),
stayClasses(clWater, 2),
scaleByMapSize(10, 40));
}
paintTerrainBasedOnHeight(heightShore, heightLand, Elevation_ExcludeMin_ExcludeMax, tShore);
paintTerrainBasedOnHeight(-Infinity, heightShore, Elevation_ExcludeMin_IncludeMax, tWater);
@ -135,11 +148,11 @@ else
createMountains(tCliff, avoidClasses(clPlayer, 20, clHill, 15, clWater, 0), clHill, scaleByMapSize(1, 4) * numPlayers);
var [forestTrees, stragglerTrees] = getTreeCounts(500, 3000, 0.7);
createForests(
[tPrimary, tForestFloor, tForestFloor, pForest, pForest],
avoidClasses(clPlayer, 20, clForest, 16, clHill, 0, clWater, 2),
clForest,
forestTrees);
createDefaultForests(
[tPrimary, tForestFloor, tForestFloor, pForest, pForest],
avoidClasses(clPlayer, 20, clForest, 16, clHill, 0, clWater, 2),
clForest,
forestTrees);
Engine.SetProgress(60);

View File

@ -5,6 +5,10 @@
},
"Environment": {
"SkySet": "stormy",
"SunColor": { "r": 0.85, "g": 0.87, "b": 0.90 },
"SunElevation": 0.502494,
"SunRotation": -0.626047,
"AmbientColor": { "r": 0.194118, "g": 0.292157, "b": 0.394118 },
"Water": {
"WaterBody": {
"Type": "lake",
@ -61,8 +65,8 @@
"bush": { "min": 0, "max": 0 }
},
"Heights": {
"seaGround": 0,
"shore": 2,
"land": 3
"seaGround": 1,
"shore": 4,
"land": 7
}
}

View File

@ -5,6 +5,10 @@
},
"Environment": {
"SkySet": "stormy",
"SunColor": { "r": 1.032, "g": 0.99, "b": 0.866 },
"SunElevation": 0.846,
"SunRotation": -0.488,
"AmbientColor": { "r": 0.264706, "g": 0.276471, "b": 0.319608 },
"Water": {
"WaterBody": {
"Type": "lake",

View File

@ -5,6 +5,10 @@
},
"Environment": {
"SkySet": "stormy",
"SunColor": { "r": 0.99, "g": 0.98, "b": 0.85 },
"SunElevation": 0.846,
"SunRotation": -0.488,
"AmbientColor": { "r": 0.264706, "g": 0.276471, "b": 0.319608 },
"Water": {
"WaterBody": {
"Type": "lake",