xxx73
New member
Hi
I'm going to add several new resources to the biomes, and I like to make new subbiomes. To do that I'm trying to understand a few things.
1. Is there a limit to how many subbiomes one biome can have?
2. Each biomes is setup like this in biomes.xml;
First weather and then subbiomes, most if this I understand.
But at the bottom below the subbiomes come somethings called layers and decorations that is not connected to any subbiome (using snow as example).
In a subbiome I understand layers and decorations, but this is not connected to a subbiome so what is this?
<!-- Block layers: Snow -->
<layers>
<layer depth="1" blockname="terrSnow"/> <layer depth="3" blockname="terrDirt"/>
<layer depth="*" blockname="terrStone">
<resource blockname="terrOreIron" prob="0.6500" rwgGenerationType="all"/>
<resource blockname="terrGravel" prob="0.7830" rwgGenerationType="all"/>
</layer>
<layer depth="3" blockname="terrBedrock"/>
</layers>
<!-- Decorations Main: Snow -->
<decorations>
<decoration type="prefab" name="deco_iron_vein" checkresource="-7" onslopes="true" prob=".00657" rotatemax="3"/>
<decoration type="block" blockname="rockResource" prob=".00033" rotatemax="3"/>
<decoration type="block" blockname="rockResource02" prob=".00033" rotatemax="3"/>
<decoration type="prefab" name="rock_form02" prob=".0005" rotatemax="7"/>
<decoration type="prefab" name="rock_form01" prob=".0005" rotatemax="7"/>
<decoration type="block" blockname="cntForestRandomLootHelper" prob="0.00025"/>
<decoration type="block" blockname="rock05" prob=".005"/>
<decoration type="block" blockname="rock06" prob=".005"/>
<decoration type="block" blockname="rock07" prob=".005"/>
<decoration type="block" blockname="cntBirdnest" prob="0.001"/>
<decoration type="block" blockname="treeWinterEverGreen" prob="0.003" rotatemax="7"/>
<decoration type="block" blockname="treeWinterPine13m" prob="0.003" rotatemax="7"/>
<decoration type="block" blockname="treeWinterPine19m" prob="0.003" rotatemax="7"/>
<decoration type="block" blockname="treeWinterPine28m" prob="0.003" rotatemax="7"/>
<decoration type="block" blockname="treeSnowyDeadBush" prob="0.005" rotatemax="7"/>
<decoration type="block" blockname="treeSnowyGrassDiagonal" prob=".1"/>
<decoration type="block" blockname="treeStump" prob=".0002" rotatemax="7"/>
</decorations>
What is this and how does it work?
Is this some kind of "default biome" that get created if no other subbiome gets chosen?
If that's the case, how often does this "default biome" get created?
If I reduce probability of all subbiomes, will I get more of this "deafult biome"?
3. Some of the resources I'm adding is suppose to be rare, but I like to give them separate subbiomes. Only problem is that if adding a rare resource with gravel it all will collapse. To avoid cave collapse, can I add stones in that subiome?
I'm going to add several new resources to the biomes, and I like to make new subbiomes. To do that I'm trying to understand a few things.
1. Is there a limit to how many subbiomes one biome can have?
2. Each biomes is setup like this in biomes.xml;
First weather and then subbiomes, most if this I understand.
But at the bottom below the subbiomes come somethings called layers and decorations that is not connected to any subbiome (using snow as example).
In a subbiome I understand layers and decorations, but this is not connected to a subbiome so what is this?
<!-- Block layers: Snow -->
<layers>
<layer depth="1" blockname="terrSnow"/> <layer depth="3" blockname="terrDirt"/>
<layer depth="*" blockname="terrStone">
<resource blockname="terrOreIron" prob="0.6500" rwgGenerationType="all"/>
<resource blockname="terrGravel" prob="0.7830" rwgGenerationType="all"/>
</layer>
<layer depth="3" blockname="terrBedrock"/>
</layers>
<!-- Decorations Main: Snow -->
<decorations>
<decoration type="prefab" name="deco_iron_vein" checkresource="-7" onslopes="true" prob=".00657" rotatemax="3"/>
<decoration type="block" blockname="rockResource" prob=".00033" rotatemax="3"/>
<decoration type="block" blockname="rockResource02" prob=".00033" rotatemax="3"/>
<decoration type="prefab" name="rock_form02" prob=".0005" rotatemax="7"/>
<decoration type="prefab" name="rock_form01" prob=".0005" rotatemax="7"/>
<decoration type="block" blockname="cntForestRandomLootHelper" prob="0.00025"/>
<decoration type="block" blockname="rock05" prob=".005"/>
<decoration type="block" blockname="rock06" prob=".005"/>
<decoration type="block" blockname="rock07" prob=".005"/>
<decoration type="block" blockname="cntBirdnest" prob="0.001"/>
<decoration type="block" blockname="treeWinterEverGreen" prob="0.003" rotatemax="7"/>
<decoration type="block" blockname="treeWinterPine13m" prob="0.003" rotatemax="7"/>
<decoration type="block" blockname="treeWinterPine19m" prob="0.003" rotatemax="7"/>
<decoration type="block" blockname="treeWinterPine28m" prob="0.003" rotatemax="7"/>
<decoration type="block" blockname="treeSnowyDeadBush" prob="0.005" rotatemax="7"/>
<decoration type="block" blockname="treeSnowyGrassDiagonal" prob=".1"/>
<decoration type="block" blockname="treeStump" prob=".0002" rotatemax="7"/>
</decorations>
What is this and how does it work?
Is this some kind of "default biome" that get created if no other subbiome gets chosen?
If that's the case, how often does this "default biome" get created?
If I reduce probability of all subbiomes, will I get more of this "deafult biome"?
3. Some of the resources I'm adding is suppose to be rare, but I like to give them separate subbiomes. Only problem is that if adding a rare resource with gravel it all will collapse. To avoid cave collapse, can I add stones in that subiome?
Last edited by a moderator: