Community Forum

How to use fruitdensity.grle

Forum Overview >> Farming Simulator 2013

CategoryFarming Simulator 2013
Created19.03.2014 22:01


Thomas Waltl (Unknown) 19.03.2014 22:13
Hello,
By using many fruits, we use fruitsdensity.grle (15 fruits), fruitsdensity2.grle (for next 15 fruits)....
When cultivating or ploughing ther diferent results.
One result is that, the fruit is stil visible in pausemenu-fruitsstatus.
One other result is that, instead of the fruit which was an the field, wheat is shown in the pausmenu.
Sometimes the result is, what it should be. Empty field in the pausemenu showing growthstate and fruitstate
The field in gameplay it self is shown always right.
So I tried to work with setDensityMaskedParallelogram and setDensityParallelogram, but I can't correctly figure out the right way to use them.
So how I can use setDensityMaskedParallelogram? What is setDensityMaksParams, setDensityCompareParams doing?

I hope someone can help me to understand these functions or have another idea for solution.

Thomas Waltl (Unknown) 19.03.2014 22:18
Oh I forgot to say, that I'm able to get the right values for area like x,z,widhtX,widthZ,heightX,heightZ. I tried to do some thinks, so I complete area set with wheat or an other fruit. I tried to set another fruit, which is not shown in fruitstatus like dry grass, but this calls callstacks in log, except this the result is what I want.

But I want to remove it, not only in game and growthstate. The fruit should not shown as planted in the fruitstatus menu, when field was cultivated or ploughed.

PS: Sorry for my bad english.

Martin Meijer (Unknown) 15.04.2014 13:19
I'm having the same problem and i'm testing to get it so far

My opinion that it can be a big problem to solve this

There are 2 fruit_density.grle (and fruit2_density.grle)

My crops:

<FoliageMultiLayer densityMapId="30" numChannels="24" numTypeIndexChannels="5">
<FoliageSubLayer name="graan" densityMapTypeIndex="1" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="146" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;32;33;34;35;35;35;36;37" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.2" width="1.5" height=";0.25;0.5;0.9;1;1;1;0.9;0.13" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.75;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="wheat_windrow" densityMapTypeIndex="1" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="28" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="35" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.2" width="1.3" height="0.4;0.44;0.48;0.52;0.56;0.6;0.64;0.68;0.72;0.76;0.8;0.84;0.88;0.92;0.96" widthVariance="0" heightVariance="0.01" horizontalPositionVariance="0.1" numStates="15" blockShapeId="2" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="grass" densityMapTypeIndex="2" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="293" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds=";9;9;9" distanceMapUnitSizes=";128;128;128" minDistanceColorDifference="0.027451 0.027451 0.027451" atlasSize="4" numBlocksPerUnit="1" width="1.4" height=";0.25;0.5;0.75" texCoords=";0 0 1 0.25;0 0.25 1 0.25;0 0.5 1 0.5" widthVariance="0;0;0.2;0.5" heightVariance="0;0;0.1;0.3" horizontalPositionVariance="0.75" numStates="9" growthNumStates="4" growthStateTime="3.6e+007"/>
<FoliageSubLayer name="grass_windrow" densityMapTypeIndex="2" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="366" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="43" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.2" width="1.3" height="0.4;0.44;0.48;0.52;0.56;0.6;0.64;0.68;0.72;0.76;0.8;0.84;0.88;0.92;0.96" widthVariance="0" heightVariance="0.01" horizontalPositionVariance="0.1" numStates="15" blockShapeId="2" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="rape" densityMapTypeIndex="3" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="88" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;45;46;47;48;48;48;49;50" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.2" width="1.5" height=";0.25;0.6;1.4;1.6;1.6;1.6;1.2;0.13" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.75;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="barley" densityMapTypeIndex="4" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="336" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;52;53;54;55;55;55;56;57" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.2" width="1.5" height=";0.25;0.5;0.9;1;1;1;0.9;0.13" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.75;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="barley_windrow" densityMapTypeIndex="4" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="441" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="55" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.2" width="1.3" height="0.4;0.44;0.48;0.52;0.56;0.6;0.64;0.68;0.72;0.76;0.8;0.84;0.88;0.92;0.96" widthVariance="0" heightVariance="0.1" horizontalPositionVariance="0.05" numStates="15" blockShapeId="2" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="maize" densityMapTypeIndex="5" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="344" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;60;61;62;63;63;63;64;65" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="0.6" width="4" height=";0.875;1.25;2.25;2.5;2.5;2.5;2.25;0.325" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 1;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.025" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="dryGrass" densityMapTypeIndex="6" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="293" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds=";9;9;9" distanceMapUnitSizes=";128;128;128" minDistanceColorDifference="0.027451 0.027451 0.027451" atlasSize="4" numBlocksPerUnit="1" width="1.4" height=";0.25;0.5;0.75" texCoords=";0 0 1 0.25;0 0.25 1 0.25;0 0.5 1 0.5" widthVariance="0;0;0.2;0.5" heightVariance="0;0;0.1;0.3" horizontalPositionVariance="0.75" numStates="9" growthNumStates="4" growthStateTime="3.6e+007"/>
<FoliageSubLayer name="dryGrass_windrow" densityMapTypeIndex="6" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="317" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="67" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.2" width="1.3" height="0.4;0.44;0.48;0.52;0.56;0.6;0.64;0.68;0.72;0.76;0.8;0.84;0.88;0.92;0.96" widthVariance="0" heightVariance="0.1" horizontalPositionVariance="0.5" numStates="15" blockShapeId="2" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="potato" densityMapTypeIndex="7" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="388" cellSize="8" viewDistance="80" terrainOffset="0.03" objectMask="65520" distanceMapIds="69;70;71;72;73;74;;;31;69" distanceMapUnitSizes="128;128;128;128;128;128;;;128;128" atlasSize="2" numBlocksPerUnit="1.33" width=";0.25;0.45;0.5;0.9;0.7;;;;0.25" height=";0.2;0.4;0.7;1;0.5;;;;0.2" texCoords=";0 0 0.125 0.25;0 0.5 0.25 0.5;0.25 0 0.25 0.865234;0.5 0 0.25 0.9707;0.75 0 0.25 0.390625;;;;0.125 0 0.125 0.15" widthVariance="0.15" heightVariance="0.15" horizontalPositionVariance="0.12" numStates="10" growthNumStates="6" growthStateTime="2.4e+007" blockShapeId="6" useShapeNormals="true"/>
<FoliageSubLayer name="potato_haulm" densityMapTypeIndex="7" densityMapChannelOffset="10" numDensityMapChannels="1" materialId="291" cellSize="8" viewDistance="80" terrainOffset="0.07" objectMask="65520" distanceMapIds="76" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.4" width="1.5" height="1" widthVariance="0" heightVariance="0" horizontalPositionVariance="0.1" blockShapeId="7" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="sugarBeet" densityMapTypeIndex="8" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="69" cellSize="8" viewDistance="80" terrainOffset="0.03" objectMask="65520" distanceMapIds="31;78;79;80;81;81;81;82;31;31" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.9" width=";0.44;0.776;0.776;1;1;1;1;;0.23" height=";0.289;0.539;0.6328;1;1;1;0.703125;;0.12" texCoords=";0.0039 0 0.11 0.289;0.0371094 0.4375 0.194 0.539;0.25 0 0.25 0.6328;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.703125;;0.1582 0 0.0585938 0.1328" widthVariance="0" heightVariance="0.07" horizontalPositionVariance="0.12" numStates="10" growthNumStates="8" growthStateTime="2.4e+007" blockShapeId="6" useShapeNormals="true"/>
<FoliageSubLayer name="sugarBeet_haulm" densityMapTypeIndex="8" densityMapChannelOffset="10" numDensityMapChannels="1" materialId="236" cellSize="8" viewDistance="80" terrainOffset="0.07" objectMask="65520" distanceMapIds="84" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.4" width="1.5" height="1" widthVariance="0" heightVariance="0" horizontalPositionVariance="0.1" blockShapeId="7" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="maizeV2" densityMapTypeIndex="9" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="90" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;60;61;62;63;63;63;64;65" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="0.6" width="4" height=";0.875;1.25;2.25;2.5;2.5;2.5;2.25;0.325" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 1;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.025" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="maizeV2_windrow" densityMapTypeIndex="9" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="189" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="35" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.2" width="1.3" height="0.4;0.44;0.48;0.52;0.56;0.6;0.64;0.68;0.72;0.76;0.8;0.84;0.88;0.92;0.96" widthVariance="0" heightVariance="0.01" horizontalPositionVariance="0.1" numStates="15" blockShapeId="2" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="oat" densityMapTypeIndex="10" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="466" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;32;33;34;35;35;35;36;37" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.2" width="1.5" height=";0.25;0.5;0.9;1;1;1;0.9;0.13" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.75;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="oat_windrow" densityMapTypeIndex="10" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="125" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="35" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.2" width="1.3" height="0.4;0.44;0.48;0.52;0.56;0.6;0.64;0.68;0.72;0.76;0.8;0.84;0.88;0.92;0.96" widthVariance="0" heightVariance="0.01" horizontalPositionVariance="0.1" numStates="15" blockShapeId="2" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="rye" densityMapTypeIndex="11" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="190" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;32;33;34;35;35;35;36;37" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.2" width="1.5" height=";0.25;0.5;0.9;1;1;1;0.9;0.13" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.75;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="rye_windrow" densityMapTypeIndex="11" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="143" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="35" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.2" width="1.3" height="0.4;0.44;0.48;0.52;0.56;0.6;0.64;0.68;0.72;0.76;0.8;0.84;0.88;0.92;0.96" widthVariance="0" heightVariance="0.01" horizontalPositionVariance="0.1" numStates="15" blockShapeId="2" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="greenwheat" densityMapTypeIndex="12" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="461" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;32;33;34;35;35;35;36;37" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.2" width="1.5" height=";0.25;0.5;0.9;1;1;1;0.9;0.13" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.75;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="greenwheat_windrow" densityMapTypeIndex="12" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="456" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="35" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.2" width="1.3" height="0.4;0.44;0.48;0.52;0.56;0.6;0.64;0.68;0.72;0.76;0.8;0.84;0.88;0.92;0.96" widthVariance="0" heightVariance="0.01" horizontalPositionVariance="0.1" numStates="15" blockShapeId="2" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="sunflower" densityMapTypeIndex="13" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="362" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;60;61;62;63;63;63;64;65" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="0.6" width="4" height=";0.875;1.25;2.25;2.5;2.5;2.5;2.25;0.325" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 1;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.025" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="soybean" densityMapTypeIndex="14" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="98" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;45;46;47;48;48;48;49;50" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.2" width="1.5" height=";0.25;0.6;1.4;1.6;1.6;1.6;1.2;0.13" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.75;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="mohn" densityMapTypeIndex="15" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="292" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;45;46;47;48;48;48;49;50" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.2" width="1.5" height=";0.25;0.6;1.4;1.6;1.6;1.6;1.2;0.13" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.75;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
</FoliageMultiLayer>
<FoliageMultiLayer densityMapId="97" numChannels="24" numTypeIndexChannels="5">
<FoliageSubLayer name="tomato" densityMapTypeIndex="16" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="419" cellSize="8" viewDistance="80" terrainOffset="0.03" objectMask="65520" distanceMapIds="69;70;71;72;73;74;;;31;69" distanceMapUnitSizes="128;128;128;128;128;128;;;128;128" atlasSize="2" numBlocksPerUnit="1.33" width=";0.25;0.45;0.5;0.9;0.7;;;;0.25" height=";0.2;0.4;0.7;1;0.5;;;;0.2" texCoords=";0 0 0.125 0.25;0 0.5 0.25 0.5;0.25 0 0.25 0.865234;0.5 0 0.25 0.9707;0.75 0 0.25 0.390625;;;;0.125 0 0.125 0.15" widthVariance="0.15" heightVariance="0.15" horizontalPositionVariance="0.12" numStates="10" growthNumStates="6" growthStateTime="2.4e+007" blockShapeId="6" useShapeNormals="true"/>
<FoliageSubLayer name="cucumber" densityMapTypeIndex="17" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="427" cellSize="8" viewDistance="80" terrainOffset="0.03" objectMask="65520" distanceMapIds="69;70;71;72;73;74;;;31;69" distanceMapUnitSizes="128;128;128;128;128;128;;;128;128" atlasSize="2" numBlocksPerUnit="1.33" width=";0.25;0.45;0.5;0.9;0.7;;;;0.25" height=";0.2;0.4;0.7;1;0.5;;;;0.2" texCoords=";0 0 0.125 0.25;0 0.5 0.25 0.5;0.25 0 0.25 0.865234;0.5 0 0.25 0.9707;0.75 0 0.25 0.390625;;;;0.125 0 0.125 0.15" widthVariance="0.15" heightVariance="0.15" horizontalPositionVariance="0.12" numStates="10" growthNumStates="6" growthStateTime="2.4e+007" blockShapeId="6" useShapeNormals="true"/>
<FoliageSubLayer name="millet" densityMapTypeIndex="18" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="94" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;45;46;47;48;48;48;49;50" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.2" width="1.5" height=";0.25;0.6;1.4;1.6;1.6;1.6;1.2;0.13" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.75;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="millet_windrow" densityMapTypeIndex="18" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="35" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="35" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.2" width="1.3" height="0.4;0.44;0.48;0.52;0.56;0.6;0.64;0.68;0.72;0.76;0.8;0.84;0.88;0.92;0.96" widthVariance="0" heightVariance="0.01" horizontalPositionVariance="0.1" numStates="15" blockShapeId="2" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="dinkel" densityMapTypeIndex="19" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="345" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;45;46;47;48;48;48;49;50" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.2" width="1.5" height=";0.25;0.6;1.4;1.6;1.6;1.6;1.2;0.13" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.75;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="dinkel_windrow" densityMapTypeIndex="19" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="151" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="35" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.2" width="1.3" height="0.4;0.44;0.48;0.52;0.56;0.6;0.64;0.68;0.72;0.76;0.8;0.84;0.88;0.92;0.96" widthVariance="0" heightVariance="0.01" horizontalPositionVariance="0.1" numStates="15" blockShapeId="2" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="carrot" densityMapTypeIndex="20" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="97" cellSize="8" viewDistance="80" terrainOffset="0.03" objectMask="65520" distanceMapIds="69;70;71;72;73;74;;;31;69" distanceMapUnitSizes="128;128;128;128;128;128;;;128;128" atlasSize="2" numBlocksPerUnit="1.33" width=";0.25;0.45;0.5;0.9;0.7;;;;0.25" height=";0.2;0.4;0.7;1;0.5;;;;0.2" texCoords=";0 0 0.125 0.25;0 0.5 0.25 0.5;0.25 0 0.25 0.865234;0.5 0 0.25 0.9707;0.75 0 0.25 0.390625;;;;0.125 0 0.125 0.15" widthVariance="0.15" heightVariance="0.15" horizontalPositionVariance="0.12" numStates="10" growthNumStates="6" growthStateTime="2.4e+007" blockShapeId="6" useShapeNormals="true"/>
<FoliageSubLayer name="onion" densityMapTypeIndex="21" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="55" cellSize="8" viewDistance="80" terrainOffset="0.03" objectMask="65520" distanceMapIds="69;70;71;72;73;74;;;31;69" distanceMapUnitSizes="128;128;128;128;128;128;;;128;128" atlasSize="2" numBlocksPerUnit="1.33" width=";0.25;0.45;0.5;0.9;0.7;;;;0.25" height=";0.2;0.4;0.7;1;0.5;;;;0.2" texCoords=";0 0 0.125 0.25;0 0.5 0.25 0.5;0.25 0 0.25 0.865234;0.5 0 0.25 0.9707;0.75 0 0.25 0.390625;;;;0.125 0 0.125 0.15" widthVariance="0.15" heightVariance="0.15" horizontalPositionVariance="0.12" numStates="10" growthNumStates="6" growthStateTime="2.4e+007" blockShapeId="6" useShapeNormals="true"/>
<FoliageSubLayer name="cotton" densityMapTypeIndex="22" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="164" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;45;46;47;48;48;48;49;50" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.2" width="1.5" height=";0.25;0.6;1.4;1.6;1.6;1.6;1.2;0.13" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.75;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="cotton_windrow" densityMapTypeIndex="22" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="156" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="35" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.2" width="1.3" height="0.4;0.44;0.48;0.52;0.56;0.6;0.64;0.68;0.72;0.76;0.8;0.84;0.88;0.92;0.96" widthVariance="0" heightVariance="0.01" horizontalPositionVariance="0.1" numStates="15" blockShapeId="2" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="erbse" densityMapTypeIndex="23" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="467" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;45;46;47;48;48;48;49;50" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.2" width="1.5" height=";0.25;0.6;1.4;1.6;1.6;1.6;1.2;0.13" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.75;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="erbse_windrow" densityMapTypeIndex="23" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="416" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="35" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.2" width="1.3" height="0.4;0.44;0.48;0.52;0.56;0.6;0.64;0.68;0.72;0.76;0.8;0.84;0.88;0.92;0.96" widthVariance="0" heightVariance="0.01" horizontalPositionVariance="0.1" numStates="15" blockShapeId="2" useShapeNormals="false" alignWithTerrain="true"/>
<FoliageSubLayer name="triticale" densityMapTypeIndex="24" densityMapChannelOffset="6" numDensityMapChannels="4" materialId="468" cellSize="8" viewDistance="80" terrainOffset="0.1" objectMask="65520" distanceMapIds="31;45;46;47;48;48;48;49;50" distanceMapUnitSizes="128;128;128;128;128;128;128;128;128" atlasSize="1" numBlocksPerUnit="1.2" width="1.5" height=";0.25;0.6;1.4;1.6;1.6;1.6;1.2;0.13" texCoords=";0 0 0.25 0.25;0 0.5 0.25 0.5;0.25 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.5 0 0.25 1;0.75 0 0.25 0.75;0.5 0 0.25 0.144" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" growthNumStates="8" growthStateTime="2.4e+007"/>
<FoliageSubLayer name="triticale_windrow" densityMapTypeIndex="24" densityMapChannelOffset="10" numDensityMapChannels="4" materialId="417" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceMapIds="35" distanceMapUnitSizes="128" repeatLastDistanceMap="true" atlasSize="1" numBlocksPerUnit="1.2" width="1.3" height="0.4;0.44;0.48;0.52;0.56;0.6;0.64;0.68;0.72;0.76;0.8;0.84;0.88;0.92;0.96" widthVariance="0" heightVariance="0.01" horizontalPositionVariance="0.1" numStates="15" blockShapeId="2" useShapeNormals="false" alignWithTerrain="true"/>
</FoliageMultiLayer>

If i sow wheat and harvest it, there will be little strows left behind. If i whant to sow tomato over the wheat strows... it will sow the tomato but it doesnt delete the wheat strows. And in the pauze menu the color of wheat is still standing overthere instead of the tomato.

This is because wheat is determined to fruit_density.grle and tomato is determined to fruit2_density.grle

It's also that i can't cultivate crops determined to fruit2_density.grle, it will cultivate the land but won't update the pauze menu overview.

I now have tested a lot, but it's no possible to fix this in the map (correct me if i'm wrong), i have the feeling that there must come a script that can handle both fruit and fruit2_density.grle

If i have more information i will post it here!

Cheers

Martin Meijer (Unknown) 15.04.2014 13:20
On this link you have more explenation about your question ;)

http://gdn.giants-software.com/thread.php?categoryId=16&threadId=783

Martin Meijer (Unknown) 15.04.2014 16:22
Conclussion:

There are 2 different "foliageMultiLayers" with different fruit types in it. Lets call it FML01 (foliageMultiLayer 1) and FML02 (foliageMultiLayer 2)

- SowingMachine: If you have sowed a fruit type from FML01 and you whant to sow again but than with a fruit type from FML02 it's not removing the fruit type of FML01. Also in the pause menu the color and growthstate is still standing there of the fruit type from FML01. Or you have harvest a fruit type from FML01 (example wheat) it will let something behind and you're going to sow from FML02 the strows of the wheat will stay overthere (colors and growthstate is not changing to the new fruit type of FML02)
But... if you try to sow over a fruit type of FML01 with a fruit type of FML02 the fruit type of FML02 will also stand overthere, it's not possible to see... but if you let it grow than you have 2 fruit types one of FML01 and one of FML02 at the same land

- Plow and Cultivator can only work well with the fruit types of FML01. If you do this with fruit types of FML02 the ground will being done but it's still standing in the pause menu the color and the growthstate of the fruit type from FML02.

How to solve...?

There must come a script that can check in both fruit_density.grle and fruit2_density.grle to overwrite/delete the old fruits and ads the new fruits (this is already happening, but the old fruit type is not getting removed from one of the fruit_density files)
Alse must the script do the same with plowing and cultivating

I'm going to find out if it's possible to do something like that! If someone can help... please let me know!

Kind regards,
Cheers!

Thomas Waltl (Unknown) 18.04.2014 20:52
So far you are right.
After forwarding search forums and old archives, I found a text, meaning that in LS09 was a script used that allows to work with more fruits in more FML's. Now I am unable to find this script or a map with many fruits (more than 15/16 I think) for LS09. Maybe this script has something to solve the problem.

Otherwise, there could be only one of two ways, that I think to solve the problem. First is to handle the files it self with copy or something like this, or with an external tool wich modifies the grle. The second way I think is that it is possible to seed fruits from second FML02, there must be a way to undo it.
Maybe a combination of both. I haven't completely configured out yet what the methods setDensity... are doing or better sayed what the params will effect.

Unknown 19.04.2014 15:36
So far you are right.
After forwarding search forums and old archives, I found a text, meaning that in LS09 was a script used that allows to work with more fruits in more FML's. Now I am unable to find this script or a map with many fruits (more than 15/16 I think) for LS09. Maybe this script has something to solve the problem.

Otherwise, there could be only one of two ways, that I think to solve the problem. First is to handle the files it self with copy or something like this, or with an external tool wich modifies the grle. The second way I think is that it is possible to seed fruits from second FML02, there must be a way to undo it.
Maybe a combination of both. I haven't completely configured out yet what the methods setDensity... are doing or better sayed what the params will effect.

Thomas Waltl (Unknown) 25.04.2014 23:36
Before sun is shinning again, the new InGameMenuEnhancement V3.0 Mod goes online!

This is solving the issue, when using more then one FML for fruits! Now it's realy possible to cultivate or plough fruits from all FML's. It will show all Fruits and their growth state in Pause/Esc/InGame Menu. It will repair the seedable fruits in sowingmachines. It enhances functionaltiy of cultivators. It removes the restriction of 64 Fruittypes and 64 Filltypes. It doesn't show fruits where no fruits were planted on the map (on some maps there was this problem by maper!)


Note: Log in to post. Create a new account here.