Skip to content

Commit

Permalink
Use new biomes for random maps,
Browse files Browse the repository at this point in the history
Patch by: @wowgetoffyourcellphone

git-svn-id: https://svn.wildfiregames.com/public/ps/trunk@25562 3db68df2-c116-0410-a063-a993310a9797
  • Loading branch information
Stan authored and Stan committed May 25, 2021
1 parent 5a72572 commit 73ccac3
Show file tree
Hide file tree
Showing 20 changed files with 790 additions and 506 deletions.
64 changes: 32 additions & 32 deletions binaries/data/mods/public/maps/random/rmbiome/defaultbiome.json
@@ -1,61 +1,61 @@
{
"Environment": {
"AmbientColor": { "r": 0.447059, "g": 0.509804, "b": 0.54902 }
"AmbientColor": { "r": 0.364706, "g": 0.376471, "b": 0.419608 }
},
"Terrains": {
"mainTerrain": [
"temp_grass_long_b"
"temperate_grass_02"
],
"forestFloor1": "temp_forestfloor_pine",
"forestFloor2": "temp_plants_bog",
"tier1Terrain": "temp_grass_d",
"tier2Terrain": "temp_grass_c",
"tier3Terrain": "temp_grass_clovers_2",
"tier4Terrain": "temp_grass_plants",
"forestFloor1": "temperate_forestfloor_01",
"forestFloor2": "temperate_forestfloor_02",
"tier1Terrain": "temperate_grass_dirt_02",
"tier2Terrain": "temperate_grass_03",
"tier3Terrain": "temperate_grass_04",
"tier4Terrain": "temperate_grass_01",
"cliff": [
"temp_cliff_a",
"temp_cliff_b"
"temperate_cliff_01",
"temperate_cliff_02"
],
"hill": [
"temp_dirt_gravel",
"temp_dirt_gravel_b"
"temperate_rocks_dirt_01",
"temperate_grass_dirt_03"
],
"dirt": [
"temp_dirt_gravel",
"temp_dirt_gravel_b"
"temperate_mud_01",
"temperate_grass_mud_01"
],
"road": "temp_road",
"roadWild": "temp_road_overgrown",
"shoreBlend": "temp_mud_plants",
"shore": "sand_grass_25",
"water": "medit_sand_wet"
"road": "temperate_paving_03",
"roadWild": "temperate_paving_01",
"shoreBlend": "temperate_grass_dirt_01",
"shore": "temperate_rocks_dirt_01",
"water": "temperate_rocks_dirt_01"
},
"Gaia": {
"tree1": "gaia/tree/oak",
"tree2": "gaia/tree/oak_large",
"tree3": "gaia/fruit/apple",
"tree4": "gaia/tree/pine",
"tree5": "gaia/tree/aleppo_pine",
"tree2": "gaia/tree/oak_holly",
"tree3": "gaia/tree/oak_hungarian",
"tree4": "gaia/tree/pine_black",
"tree5": "gaia/tree/pine_maritime",
"fruitBush": "gaia/fruit/berry_01",
"chicken": "gaia/fauna_chicken",
"fish": "gaia/fish/generic",
"mainHuntableAnimal": "gaia/fauna_deer",
"secondaryHuntableAnimal": "gaia/fauna_sheep",
"stoneLarge": "gaia/rock/mediterranean_large",
"stoneSmall": "gaia/rock/mediterranean_small",
"metalLarge": "gaia/ore/mediterranean_large",
"metalSmall": "gaia/ore/mediterranean_small"
"stoneLarge": "gaia/rock/temperate_large",
"stoneSmall": "gaia/rock/temperate_cut",
"metalLarge": "gaia/ore/temperate_01",
"metalSmall": "gaia/ore/temperate_02"
},
"Decoratives": {
"grass": "actor|props/flora/grass_soft_large_tall.xml",
"grassShort": "actor|props/flora/grass_soft_large.xml",
"reeds": "actor|props/flora/reeds_pond_lush_a.xml",
"lillies": "actor|props/flora/pond_lillies_large.xml",
"rockLarge": "actor|geology/stone_granite_large.xml",
"rockMedium": "actor|geology/stone_granite_med.xml",
"reeds": "actor|props/flora/cattails.xml",
"lillies": "actor|props/flora/water_lillies.xml",
"rockLarge": "actor|geology/stone_granite_med.xml",
"rockMedium": "actor|geology/stone_granite_small.xml",
"bushMedium": "actor|props/flora/bush_medit_me.xml",
"bushSmall": "actor|props/flora/bush_medit_sm.xml",
"tree": "actor|flora/trees/oak.xml"
"tree": "actor|flora/trees/elm_dead.xml"
},
"ResourceCounts": {
"trees": {
Expand Down
28 changes: 28 additions & 0 deletions binaries/data/mods/public/maps/random/rmbiome/generic/aegean.js
@@ -0,0 +1,28 @@
function setupBiome_aegean()
{
[g_Gaia.tree1, g_Gaia.tree2] = pickRandom([[
"gaia/tree/cypress_wild",
"gaia/tree/pine_maritime_short",
"gaia/tree/cretan_date_palm_tall"
]]);

g_Gaia.tree3 = pickRandom([
"gaia/fruit/olive",
"gaia/tree/juniper_prickly",
"gaia/tree/date_palm",
"gaia/tree/cretan_date_palm_short",
"gaia/tree/medit_fan_palm"
]);

[g_Gaia.tree4, g_Gaia.tree5] = pickRandom([[
"gaia/tree/poplar_lombardy",
"gaia/tree/carob",
"gaia/tree/medit_fan_palm",
"gaia/tree/cretan_date_palm_tall"
]]);

g_Gaia.fruitBush = pickRandom([
"gaia/fruit/berry_01",
"gaia/fruit/grapes"
]);
}
89 changes: 89 additions & 0 deletions binaries/data/mods/public/maps/random/rmbiome/generic/aegean.json
@@ -0,0 +1,89 @@
{
"Description": {
"Title": "Aegean-Anatolian",
"Description": "Start in a region blessed with the Mediterranean climate, a warm and inviting land. The cypresses are in a perpetual struggle with the dominant fan palms while deer graze in their shadows, blissfully unaware."
},
"Environment": {
"SunColor": { "r": 1.023, "g": 0.923, "b": 0.714 },
"SunElevation": 0.90,
"SunRotation": -0.909,
"AmbientColor": { "r": 0.34902, "g": 0.34902, "b": 0.34902 },
"Water": {
"WaterBody": {
"Color": { "r": 0.024, "g": 0.212, "b": 0.024 },
"Tint": { "r": 0.133, "g": 0.725, "b": 0.855 },
"Murkiness": 0.8,
"Waviness": 3
}
},
"Fog": {
"FogThickness": 0.25,
"FogFactor": 0.003
},
"Postproc": {
"PostprocEffect": "hdr",
"Brightness": -0.015,
"Saturation": 0.85,
"Contrast": 0.98,
"Bloom": 0.16
}
},
"Terrains": {
"mainTerrain": [
"aegean_grass_02",
"aegean_grass_dirt_01",
"aegean_grass_01"
],
"forestFloor1": "aegean_forestfloor_01",
"forestFloor2": "aegean_grass_01",
"cliff": [
"aegean_cliff_01",
"aegean_cliff_02"
],
"tier1Terrain": "aegean_grass_dirt_01",
"tier2Terrain": "aegean_grass_01",
"tier3Terrain": "aegean_grass_03",
"tier4Terrain": "aegean_grass_02",
"hill": [
"aegean_mountain_01",
"aegean_dirt_rocks_01"
],
"dirt": [
"aegean_dirt_01",
"aegean_rocks_grass_01"
],
"road": "aegean_paving_02",
"roadWild": "aegean_rocks_grass_01",
"shoreBlend": "aegean_sand_01",
"shore": "aegean_sand_02_wet",
"water": "aegean_ocean_coral_01"
},
"Gaia": {
"chicken": "gaia/fauna_chicken",
"mainHuntableAnimal": "gaia/fauna_deer",
"fish": "gaia/fish/generic",
"secondaryHuntableAnimal": "gaia/fauna_sheep",
"stoneLarge": "gaia/rock/mediterranean_large",
"stoneSmall": "gaia/rock/mediterranean_small",
"metalLarge": "gaia/ore/aegean_anatolian_02",
"metalSmall": "gaia/ore/aegean_anatolian_01"
},
"Decoratives": {
"grass": "gaia/tree/bush_temperate",
"grassShort": "actor|props/flora/bush_medit_sm.xml",
"reeds": "actor|props/flora/reeds_pond_lush_b.xml",
"lillies": "actor|props/flora/water_lillies.xml",
"rockLarge": "actor|geology/stone_granite_large.xml",
"rockMedium": "actor|geology/stone_granite_med.xml",
"bushMedium": "gaia/tree/bush_temperate",
"bushSmall": "actor|props/flora/bush_medit_sm.xml",
"tree": "actor|flora/trees/cypress_mediterranean_wild.xml"
},
"ResourceCounts": {
"trees": {
"min": 500,
"max": 2000,
"forestProbability": 0.6
}
}
}
98 changes: 57 additions & 41 deletions binaries/data/mods/public/maps/random/rmbiome/generic/alpine.json
Expand Up @@ -4,83 +4,99 @@
"Description": "A region in the high snowy mountains. Biting winds sweep through the abundant conifer forests, making even the more resilient deer and mountain goats shiver."
},
"Environment": {
"SkySet": "cloudless",
"SunColor": { "r": 1.00866, "g": 1.0295, "b": 1.06284 },
"SunElevation": 0.589049,
"SunRotation": -0.742871,
"AmbientColor": { "r": 0.219608, "g": 0.294118, "b": 0.403922 },
"Water": {
"WaterBody": {
"Color": { "r": 0.0, "g": 0.047, "b": 0.286 },
"Tint": { "r": 0.471, "g": 0.776, "b": 0.863 },
"Murkiness": 0.82,
"Type": "clap",
"Color": { "r": 0.0784314, "g": 0.247059, "b": 0.419608 },
"Tint": { "r": 0.471, "g": 1, "b": 0.501961 },
"Murkiness": 0.88,
"Waviness": 2
}
},
"Fog": {
"FogThickness": 0.26,
"FogFactor": 0.004
"FogThickness": 0.00195313,
"FogFactor": 0.00305664,
"FogColor": { "r": 0.8, "g": 0.8, "b": 0.9 }
},
"Postproc": {
"PostprocEffect": "hdr",
"Saturation": 0.96,
"Contrast": 1.03,
"Bloom": 0.176
"Brightness": 0.0341797,
"Saturation": 0.98,
"Contrast": 1,
"Bloom": 0.14
}
},
"Terrains": {
"mainTerrain": [
"alpine_dirt_grass_50"
"steppe_grass_02"
],
"forestFloor1": "alpine_forrestfloor",
"forestFloor2": "alpine_forrestfloor",
"forestFloor1": "alpine_forestfloor_01",
"forestFloor2": "alpine_forestfloor_01",
"cliff": [
"alpine_cliff_a",
"alpine_cliff_b",
"alpine_cliff_c"
"alpine_rock_01",
"alpine_rock_02"
],
"tier1Terrain": [
"steppe_grass_dirt_02"
],
"tier1Terrain": "alpine_dirt",
"tier2Terrain": [
"alpine_grass_snow_50",
"alpine_dirt_snow",
"alpine_dirt_snow"
"alpine_forestfloor_02"
],
"tier3Terrain": [
"alpine_snow_a",
"alpine_snow_b"
"steppe_rocks_dirt_01"
],
"tier4Terrain": "aegean_grass_dirt_03",
"hill": [
"alpine_rock_01",
"alpine_rock_02"
],
"tier4Terrain": "new_alpine_grass_a",
"hill": "alpine_cliff_snow",
"dirt": [
"alpine_dirt",
"alpine_grass_d"
"alpine_snow_01",
"alpine_snow_02"
],
"road": "new_alpine_citytile",
"roadWild": "new_alpine_citytile",
"shoreBlend": "alpine_shore_rocks",
"shore": "alpine_shore_rocks_grass_50",
"water": "alpine_shore_rocks"
"road": "alpine_paving_stones_02",
"roadWild": "alpine_paving_stones_02",
"shoreBlend": "alpine_rocks_dirt_01",
"shore": "alpine_rocks_dirt_01",
"water": "alpine_rocks_dirt_01"
},
"Gaia": {
"tree1": "gaia/tree/pine",
"tree2": "gaia/tree/pine",
"tree3": "gaia/tree/pine",
"tree4": "gaia/tree/pine",
"tree5": "gaia/tree/pine",
"tree1": "gaia/tree/pine",
"tree2": "gaia/tree/fir",
"tree3": "gaia/tree/oak_hungarian_autumn",
"tree4": "gaia/tree/fir_sapling",
"tree5": "gaia/tree/elm",
"fruitBush": "gaia/fruit/berry_01",
"chicken": "gaia/fauna_chicken",
"mainHuntableAnimal": "gaia/fauna_goat",
"fish": "gaia/fish/tuna",
"secondaryHuntableAnimal": "gaia/fauna_deer",
"stoneLarge": "gaia/rock/alpine_large",
"stoneSmall": "gaia/rock/alpine_small",
"metalLarge": "gaia/ore/alpine_large",
"metalSmall": "gaia/ore/alpine_small"
"stoneLarge": "gaia/rock/temperate_large_02",
"stoneSmall": "gaia/rock/temperate_large_03",
"metalLarge": "gaia/ore/temperate_02",
"metalSmall": "gaia/ore/temperate_01"
},
"Decoratives": {
"grass": "actor|props/flora/grass_soft_small_tall.xml",
"grassShort": "actor|props/flora/grass_soft_large.xml",
"reeds": "actor|props/flora/reeds_pond_dry.xml",
"reeds": "actor|props/flora/cattails.xml",
"lillies": "actor|geology/stone_granite_large.xml",
"rockLarge": "actor|geology/stone_granite_large.xml",
"rockMedium": "actor|geology/stone_granite_med.xml",
"bushMedium": "actor|props/flora/bush_desert_a.xml",
"bushSmall": "actor|props/flora/bush_desert_a.xml",
"bushMedium": "gaia/tree/bush_temperate",
"bushSmall": "actor|flora/trees/lavender_bush_01.xml",
"tree": "actor|flora/trees/pine.xml"
},
"ResourceCounts": {
"trees": {
"min": 1000,
"max": 2000,
"forestProbability": 0.85
}
}
}

0 comments on commit 73ccac3

Please sign in to comment.