<File fileId="10079" filename="textures/foliage/foliage_sorghum_diffuse.png" relativePath="true"/>
<File fileId="10080" filename="textures/foliage/foliage_sorghum_cut_short_diffuse.png" relativePath="true"/>


<Material name="sorghumMaterial" materialId="10049" ambientColor="1 1 1" customShaderId="34">
      <Texture fileId="10079"/>
      <CustomParameter name="alphaBoostStartEndMax" value="0 40 2 4"/>
    </Material>
    <Material name="sorghumCutShortMaterial" materialId="10050" ambientColor="1 1 1" customShaderId="36">
      <Texture fileId="10080"/>
    </Material>
	
	<FoliageSubLayer name="sorghum" densityMapTypeIndex="8" densityMapChannelOffset="4" numDensityMapChannels="3" materialId="10049" cellSize="8" viewDistance="150" terrainOffset="0" objectMask="65520" distanceColors="0.537255 0.439216 0.286275;0.184314 0.294118 0.137255;0.184314 0.294118 0.137255;0.729412 0.67451 0.00392157;0.513726 0.356863 0.109804" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1" width="1.5" height="3" heightVariance="0.2" horizontalPositionVariance="0.005" growthNumStates="5" growthStateTime="900000"/>
    <FoliageSubLayer name="sorghum_cut_short" densityMapTypeIndex="8" densityMapChannelOffset="7" numDensityMapChannels="1" materialId="10050" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceColors="0.537255 0.447059 0.286275" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1" width="2" height="0.7" heightVariance="0.04" horizontalPositionVariance="0.005"/>



directions:
You put the file fileId at the last of the fileID and the <files>

Material  at the end just before th <materials>
same wirh foligesublayer at the end of the foligesublayer and above this    </FoliageMultiLayer>

Yoou have to replace the debsityMapTypeIndex=" " to the number after the last fruit.
 


The  numChannels=" "  Needs to be change that number could be 12,13,14, or 15 depends on how many fruits has been added as you can see I have 16 and with 15 fruits. If you need to have more than 15 fruits you need to contact someone in forum of ls-uk to help. 

<FoliageMultiLayer densityMapId="27" numChannels="16" numTypeIndexChannels="4" useVertexBufferPool="true">

Should look like this

 <File fileId="1" filename="textures/water_normal.png" relativePath="true"/>
	<File fileId="10079" filename="textures/foliage/foliage_sorghum_diffuse.png" relativePath="true"/>
    <File fileId="10080" filename="textures/foliage/foliage_sorghum_cut_short_diffuse.png" relativePath="true"/>
  </Files>

Should look like this

<Material name="M_0023_FireBrick1" materialId="1002" diffuseColor="0.67451 0.121569 0.121569 1" ambientColor="1 1 1">
    </Material>
	<Material name="sorghumMaterial" materialId="10049" ambientColor="1 1 1" customShaderId="34">
      <Texture fileId="10079"/>
      <CustomParameter name="alphaBoostStartEndMax" value="0 40 2 4"/>
    </Material>
    <Material name="sorghumCutShortMaterial" materialId="10050" ambientColor="1 1 1" customShaderId="36">
      <Texture fileId="10080"/>
    </Material>
  </Materials>

Should look like this 

<FoliageSubLayer name="sorghum" densityMapTypeIndex="8" densityMapChannelOffset="4" numDensityMapChannels="3" materialId="10049" cellSize="8" viewDistance="150" terrainOffset="0" objectMask="65520" distanceColors="0.537255 0.439216 0.286275;0.184314 0.294118 0.137255;0.184314 0.294118 0.137255;0.729412 0.67451 0.00392157;0.513726 0.356863 0.109804" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1" width="1.5" height="3" heightVariance="0.2" horizontalPositionVariance="0.005" growthNumStates="5" growthStateTime="900000"/>
    <FoliageSubLayer name="sorghum_cut_short" densityMapTypeIndex="8" densityMapChannelOffset="7" numDensityMapChannels="1" materialId="10050" cellSize="8" viewDistance="80" terrainOffset="0" objectMask="65520" distanceColors="0.537255 0.447059 0.286275" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1" width="2" height="0.7" heightVariance="0.04" horizontalPositionVariance="0.005"/>
</FoliageMultiLayer>

  