On this page
Biome And Species Examples
This section contains examples of the contents of the [species].xml and [biome].xml files that are used to define the types of vegetation and their distribution within the simulation.
Species Example
The following is an example of the contents of the file used to create one or more species to be used within biomes, including extra comments to explain certain features:
<?xml version="1.0" encoding="utf-8"?>
<SpeciesList>
<Species name="big_cactus">
<Variations>
<Variation spawnRatio="0.75">
<Size min="5" max="7"/>
<Imposter stiffness="0.9" frames="8" textureIndex="0"/>
</Variation>
<Variation>
<Size min="15" max="30"/>
<Imposter stiffness="0.9" frames="8" textureIndex="1"/>
</Variation>
</Variations>
<Material name="VEGETATION_CACTUS"/>
</Species>
<Species name="conifercool_example">
<Variations>
<Variation spawnRatio="1">
<Size min="15" max="25"/>
<Imposter stiffness="0.0" frames="10" textureIndex="0" relativeOffsetY="-0.075"/>
<MaskColor r="0.30" g="0.00" b="0.30" maxDistSquared=".1"/>
</Variation>
<Variation spawnRatio="1">
<Size min="20" max="25"/>
<Imposter stiffness="0.0" frames="10" textureIndex="1" relativeOffsetY="-0.075"/>
<MaskColor r="0.30" g="0.00" b="0.30" maxDistSquared=".1"/>
</Variation>
<Variation spawnRatio="0.5">
<Size min="30" max="40"/>
<Imposter stiffness="0.0" frames="10" textureIndex="2" relativeOffsetY="-0.1"/>
<MaskColor r="0.30" g="0.00" b="0.30" maxDistSquared=".1"/>
</Variation>
<Variation spawnRatio="0.5">
<Size min="40" max="50"/>
<Imposter stiffness="0.0" frames="10" textureIndex="3" relativeOffsetY="-0.1"/>
<MaskColor r="0.30" g="0.00" b="0.30" maxDistSquared=".1"/>
</Variation>
</Variations>
<Material name="VEGETATION_CONIFERCOOL"/>
</Species>
</SpeciesList>
Biome Example
The following is an example of the contents of the file used to create one or more biome rules using pre-defined species and including extra comments to explain certain features:
<?xml version="1.0" encoding="utf-8"?>
<BiomeRules>
<BiomeRule name="LFLJ_cactus_artificial" speciesInstancesPerHectar="200" onlyArtificialAreas="true">
<SpeciesList>
<Species name="big_cactus" spawnRatio="1">
<Color r="15" g="0.5" b="0.5"/>
</Species>
</SpeciesList>
<EcoRegionList>
<EcoRegion name="Alps conifer and Mixed Forests"/>
</EcoRegionList>
<PotentialNaturalVegetationList>
<PotentialNaturalVegetation name="Cold Evergreen Needleleaf Forest"/>
<PotentialNaturalVegetation name="Cool Evergreen Needleleaf Forest"/>
</PotentialNaturalVegetationList>
</BiomeRule>
<BiomeRule name="LFLJ_cactus" speciesInstancesPerHectar="200">
<SpeciesList>
<Species name="big_cactus" spawnRatio="1">
<Color r="0.3" g="15" b=".2"/>
</Species>
</SpeciesList>
<EcoRegionList>
<EcoRegion name="Alps conifer and Mixed Forests"/>
</EcoRegionList>
</BiomeRule>
<BiomeRule name="LFLJ_cactus_cold" speciesInstancesPerHectar="200">
<SpeciesList>
<Species name="big_cactus" spawnRatio="1"/>
</SpeciesList>
<EcoRegionList>
<EcoRegion name="Alps conifer and Mixed Forests"/>
</EcoRegionList>
<PotentialNaturalVegetationList>
<PotentialNaturalVegetation name="Cold Evergreen Needleleaf Forest"/>
</PotentialNaturalVegetationList>
</BiomeRule>
</BiomeRules>