by
Larainan
» 14 Mar 2017, 18:10
here is the whole message
Actually it does fulfil its goals because according to cm_forest_maintenance.xml the south and west should only have forests covering 3.2%, 13%, 20%, 13% of the total top forestsoil terrains. And the North and East has 25.5%, 26.5%, 26%, 26%, and 20%. So we can see that their new vision for the forest with the new trees, etc. is on YO to have the West and South mostly barren with a few big trees (sort of like how it is on the MMO with the savannahs).
These values can of course be changed by modifying the density values for each terrain region.
Ex: 442
<terrain id="442"> <!-- ДУБОВАЯ РОЩА С ВЯЗОМ И ШЕЛКОМ -->
<BiomesCount>6</BiomesCount>
<MaxBiomeDensity>0.5</MaxBiomeDensity>
<AgeDeathBorder>220</AgeDeathBorder>
<MaxAge>330</MaxAge>
<Substance name="forestsoil">
<tree density="0.009" mean="0.4" maxBiomeOvergrowth="0.05">oak elm</tree>
<tree density="0.002" mean="0.4" maxBiomeOvergrowth="0">apple</tree>
<tree density="0.012" mean="0.4" maxBiomeOvergrowth="0.5">mulberry</tree>
<!--summ 0.032-->
</Substance>
</terrain>
To set it so that trees don't start dying at age 220 change the value to something higher. To change it so trees don't die for sure change the value of MaxAge from 330 to something higher like 1330. And to make it so that you get more trees in the region you can change the densities of each tree to a higher value (just keep the total value of all densities under or equal to 1).
Also you can change the settings of tree aging in art/forest/cmForestData.cs (client has CS file server has DSO file so if you change remember to delete DSO file on server when you upload the modified one from client. You just need to change the values for the varied positions here:
// cmForestAddTreeType(type, youngTime, matureTime, mediumScale, majorScale, matureScale, isHardwood)
cmForestAddTreeType(%Apple, 40, 50, 1, 1, 1, 0); // apple
cmForestAddTreeType(%Birch, 20, 50, 1, 1, 1, 1); // birch
cmForestAddTreeType(%Elm, 40, 80, 1, 1, 1, 1); // elm
cmForestAddTreeType(%Spruce, 20, 40, 1, 1, 1, 0); // spruce
cmForestAddTreeType(%Pine, 30, 50, 1, 1, 1, 0); // pine
cmForestAddTreeType(%Maple, 30, 48, 1, 1, 1, 1); // maple
cmForestAddTreeType(%Mulberry, 30, 60, 1, 1, 1, 0); // mulberry
cmForestAddTreeType(%Oak, 50, 90, 1, 1, 1, 1); // oak
cmForestAddTreeType(%Willow, 30, 60, 1, 1, 1, 1); // willow
cmForestAddTreeType(%Hazel, 25, 50, 1, 1, 1, 1); //hazel
cmForestAddTreeType(%Juniper, 50, 100, 1, 1, 1, 0); //juniper
cmForestAddTreeType(%Spinny, 55, 110, 1, 1, 1, 0); //spinny
[This set of values is already modified for ~half time to grow]
-Alakar