Help with potato planter leaving harvested texture

Your forum for all discussions around Modding.
User avatar
leifege640
Posts: 466
Joined: Tue Apr 15, 2014 4:14 pm
Location: Northern California

Help with potato planter leaving harvested texture

Post by leifege640 » Wed Mar 28, 2018 3:55 pm

Hello folks,

I am making a map and I have just added several new crops using the tutorial shipped with the Additional Map Types mod V1.0.0.8. The issue that I have found is that when I plant potatoes it leaves a the haulm (or the harvested) textures behind. It doesn't stop the growth of the potatoes, and the issue doesn't repeat itself with the sugar beets or the sugar cane (the only other crops on my map that have haulm).

Here is a picture:Image

Now here is how the crops are set up in the map.i3d:

Code: Select all

<FoliageMultiLayer densityMapId="41" numChannels="12" numTypeIndexChannels="5" compressionChannels="5">
          <FoliageSubLayer name="wheat" densityMapTypeIndex="1" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="323" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";42;43;44;45;45;45;46;47" distanceMapLayers="1;1;1;1;1;1;1;1;1" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.5" numBlocksPerUnitMin="1" numBlocksPerUnitMax="1.8" width=";0.25;0.5;0.9;1.9;1.9;1.9;0.9;1.1" height=";0.25;0.5;0.9;1.3;1.3;1.3;0.9;1" texCoords=";0 0 1 1" widthVariance="0.1" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" blockShapeId=";1;2;3;4;4;4;5;6;"/>
          <FoliageSubLayer name="grass" densityMapTypeIndex="2" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="277" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" atlasSize="1;1;1;3" atlasOffsets="0 0;0 0;0.25 0" numBlocksPerUnitDefault="1" numBlocksPerUnitMin="0.8" numBlocksPerUnitMax="1.5" width=";0.25;0.5;0.65" height=";0.25;0.4;0.65" texCoords=";0 0 1 1" widthVariance="0;0;0.2;0.3" heightVariance="0;0;0.1;0.3" horizontalPositionVariance="0.75" numStates="4" blockShapeId=";7;8;9"/>
          <FoliageSubLayer name="rape" densityMapTypeIndex="3" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="312" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";53;54;55;56;56;56;57;58" distanceMapLayers="1;1;1;1;1;1;1;1;1" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.2" numBlocksPerUnitMin="0.9" numBlocksPerUnitMax="1.4" width=";0.25;0.6;1.4;1.6;1.6;1.6;1.2;1.6" height=";0.25;0.6;1.4;1.6;1.6;1.6;1.2;1.6" texCoords=";0 0 1 1" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" blockShapeId=";10;11;12;13;13;13;14;15;"/>
          <FoliageSubLayer name="barley" densityMapTypeIndex="4" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="323" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";60;61;62;63;63;63;64;65" distanceMapLayers="1;1;1;1;1;1;1;1;1" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.5" numBlocksPerUnitMin="1" numBlocksPerUnitMax="1.8" width=";0.25;0.5;0.9;1.9;1.9;1.9;0.9;1" height=";0.25;0.5;0.9;1.3;1.3;1.3;0.9;1" texCoords=";0 0 1 1" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" blockShapeId=";16;17;18;19;19;19;20;21;"/>
          <FoliageSubLayer name="maize" densityMapTypeIndex="5" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="547" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";66;67;68;69;69;69;70;71" distanceMapLayers="1;1;1;1;1;1;1;1;1" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.3" numBlocksPerUnitMin="1.3" numBlocksPerUnitMax="1.3" width=";0.875;1.5;2.9;2.9;2.9;2.9;2.7;2.9" height=";0.875;1.5;2.9;2.9;2.9;2.9;2.7;2.9" texCoords=";0 0 1 1" widthVariance="0.2" heightVariance="0.3" horizontalPositionVariance="0.25" numStates="9" blockShapeId=";22;23;24;25;25;25;26;27;"/>
          <FoliageSubLayer name="dryGrass" densityMapTypeIndex="6" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="458" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" atlasSize="1;1;1;3" atlasOffsets="0 0;0 0;0.25 0" numBlocksPerUnitDefault="1" numBlocksPerUnitMin="1" numBlocksPerUnitMax="1" width=";0.25;0.5;0.65" height=";0.25;0.5;0.65" texCoords=";0 0 1 1" widthVariance="0;0;0.2;0.3" heightVariance="0;0;0.1;0.3" horizontalPositionVariance="0.75" numStates="4" blockShapeId=";7;8;9"/>
          <FoliageSubLayer name="potato" densityMapTypeIndex="7" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="260" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";73;74;75;76;77" distanceMapLayers="1;1;1;1;1;1;1;1;1;1" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.33" numBlocksPerUnitMin="1.33" numBlocksPerUnitMax="1.33" width=";0.2;0.4;0.7;1;0.5;;;;0.5" height=";0.2;0.4;0.7;1;0.5;;;;0.5" texCoords=";0 0 1 1" widthVariance="0.15" heightVariance="0.15" horizontalPositionVariance="0.12" numStates="10" blockShapeId=";28;29;30;31;32;;;;33;"/>
          <FoliageSubLayer name="potato_haulm" densityMapTypeIndex="7" densityMapChannelOffset="5" numDensityMapChannels="1" materialId="154" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.4" numBlocksPerUnitMin="1.4" numBlocksPerUnitMax="1.4" width="1.5" height="1" widthVariance="0" heightVariance="0" horizontalPositionVariance="0.1" blockShapeId="34"/>
          <FoliageSubLayer name="sugarBeet" densityMapTypeIndex="8" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="417" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";81;82;83;84;84;84;85" distanceMapLayers="1;1;1;1;1;1;1;1;1;1" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="2" numBlocksPerUnitMin="1.5" numBlocksPerUnitMax="2" width=";0.15;0.25;0.3;0.4;0.4;0.4;0.4;;0.4" height=";0.15;0.25;0.3;0.4;0.4;0.4;0.4;;0.4" texCoords=";0 0 1 1" widthVariance="0" heightVariance="0.07" horizontalPositionVariance="0.08" numStates="10" blockShapeId=";35;36;37;38;38;38;39;;40;"/>
          <FoliageSubLayer name="sugarBeet_haulm" densityMapTypeIndex="8" densityMapChannelOffset="8" numDensityMapChannels="1" materialId="307" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.2" numBlocksPerUnitMin="1.2" numBlocksPerUnitMax="1.2" width="1.5" height="1" widthVariance="0" heightVariance="0" horizontalPositionVariance="0.1" blockShapeId="34"/>
          <FoliageSubLayer name="sunflower" densityMapTypeIndex="9" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="18" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";88;89;90;91;91;91;92;93" distanceMapLayers="1;1;1;1;1;1;1;1;1" atlasSize="1;1;1;5;1" atlasOffsets="0 0;0 0;0 0;0.125 0;0 0" numBlocksPerUnitDefault="1.3" numBlocksPerUnitMin="1.3" numBlocksPerUnitMax="1.3" width=";0.75;1.3;1.85;2" height=";0.75;1.3;1.85;2" texCoords=";0 0 1 1" widthVariance="0.2" heightVariance="0.3" horizontalPositionVariance="0.25" numStates="9" blockShapeId=";41;42;43;44;44;44;45;46;"/>
          <FoliageSubLayer name="soybean" densityMapTypeIndex="10" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="66" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";95;96;97;98;98;98;99;100" distanceMapLayers="1;1;1;1;1;1;1;1;1" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.2" numBlocksPerUnitMin="1" numBlocksPerUnitMax="1.5" width=";0.3;0.8;1.2" height=";0.3;0.8;1.2" texCoords=";0 0 1 1" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" blockShapeId=";47;48;49;50;50;50;51;52;"/>
          <FoliageSubLayer name="oilseedRadish" densityMapTypeIndex="11" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="337" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";102" distanceMapLayers="1;1" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.2" numBlocksPerUnitMin="1" numBlocksPerUnitMax="1.4" width="0.25" height=";0.25" texCoords=";0 0 1 1" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="2" blockShapeId=";53"/>
          <FoliageSubLayer name="poplar" densityMapTypeIndex="12" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="255" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="2" numBlocksPerUnitMin="1.5" numBlocksPerUnitMax="2" width=";0.6;1.4;3;3.7;3.2" height=";0.6;1.4;3;3.7;3.2" texCoords=";0 0 1 1" widthVariance="0.2" heightVariance="0.2" horizontalPositionVariance="0.15" numStates="6" blockShapeId=";54;55;56;57;58"/>
          <FoliageSubLayer name="sugarCane" densityMapTypeIndex="13" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="486" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";105;106;107;108;108;108;109;110" distanceMapLayers="0;0;0;0;0;0;0;0;0" atlasSize="1;1;1;1;3" atlasOffsets="1 0;1 0;1 0;1 0;0.25 0" numBlocksPerUnitDefault="1.33" numBlocksPerUnitMin="1.33" numBlocksPerUnitMax="1.33" width=";1;1.6;3;4.5" height=";1;1.6;3;4.5" texCoords=";0 0 1 1" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.12" numStates="10" blockShapeId=";59;60;61;62;62;62;62;63;64;"/>
          <FoliageSubLayer name="sugarCane_haulm" densityMapTypeIndex="13" densityMapChannelOffset="8" numDensityMapChannels="1" materialId="475" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.4" numBlocksPerUnitMin="1.4" numBlocksPerUnitMax="1.4" width="1.5" height="1" widthVariance="0" heightVariance="0" horizontalPositionVariance="0.1" blockShapeId="34"/>
          <FoliageSubLayer name="oat" densityMapTypeIndex="14" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="575" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";113;114;115;116;116;116;117;118" distanceMapLayers="1;1;1;1;1;1;1;1;1" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.5" numBlocksPerUnitMin="1" numBlocksPerUnitMax="1.8" width=";0.25;0.5;0.9;1.9;1.9;1.9;0.9;1" height=";0.25;0.5;0.9;1.3;1.3;1.3;0.9;1" texCoords=";0 0 1 1" widthVariance="0.1" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" blockShapeId=";16;17;18;19;19;19;20;21;"/>
          <FoliageSubLayer name="rye" densityMapTypeIndex="15" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="575" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";113;114;115;116;116;116;117;118" distanceMapLayers="1;1;1;1;1;1;1;1;1" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.5" numBlocksPerUnitMin="1" numBlocksPerUnitMax="1.8" width=";0.25;0.5;0.9;1.9;1.9;1.9;0.9;1.1" height=";0.25;0.5;0.9;1.3;1.3;1.3;0.9;1" texCoords=";0 0 1 1" widthVariance="0.1" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" blockShapeId=";1;2;3;4;4;4;5;6;"/>
          <FoliageSubLayer name="spelt" densityMapTypeIndex="16" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="576" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";120;121;122;123;123;123;124;125" distanceMapLayers="1;1;1;1;1;1;1;1;1" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.5" numBlocksPerUnitMin="1" numBlocksPerUnitMax="1.8" width=";0.25;0.5;0.9;1.9;1.9;1.9;0.9;1" height=";0.25;0.5;0.9;1.3;1.3;1.3;0.9;1" texCoords=";0 0 1 0.99" widthVariance="0.1" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" blockShapeId=";16;17;18;19;19;19;20;21;"/>
          <FoliageSubLayer name="triticale" densityMapTypeIndex="17" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="576" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";127;128;129;130;130;130;131;132" distanceMapLayers="1;1;1;1;1;1;1;1;1" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.5" numBlocksPerUnitMin="1" numBlocksPerUnitMax="1.8" width=";0.25;0.5;0.9;1.9;1.9;1.9;0.9;1" height=";0.25;0.5;0.9;1.3;1.3;1.3;0.9;1" texCoords=";0 0 1 0.99" widthVariance="0.1" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" blockShapeId=";1;2;3;4;4;4;5;6;"/>
          <FoliageSubLayer name="millet" densityMapTypeIndex="18" densityMapChannelOffset="5" numDensityMapChannels="5" materialId="577" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" distanceMapIds=";133;134;135;136;136;136;137;138" distanceMapLayers="1;1;1;1;1;1;1;1;1" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.5" numBlocksPerUnitMin="1" numBlocksPerUnitMax="1.8" width=";0.25;0.5;0.9;1.9;1.9;1.9;0.9;1.1" height=";0.25;0.5;0.9;1.3;1.3;1.3;0.9;1" texCoords=";0 0 1 0.99" widthVariance="0.1" heightVariance="0.2" horizontalPositionVariance="0.5" numStates="9" blockShapeId=";16;17;18;19;19;19;20;21;"/>
        </FoliageMultiLayer>

Nothing is showing up in the log for the Giants Editor and the game.

Any ideas on how to fix this issue? Let me know if I need to provide more info.

Thanks in advance.

Leif
PC player of FS19, FS17, FS15, and FS13
Don't criticize the farmer with your mouth full.
Computer Specs in spoiler.
Intel i3-6100 3.7GHz CPU
Gigabyte Radeon RX 470 w/ 4GB of GDDR5 VRAM
8GB of DDR4 RAM
Windows 10
275GB SSD + 1TB HHD
How to post your log:viewtopic.php?f=827&t=88665

masseyharris
Posts: 257
Joined: Tue Nov 15, 2011 10:34 pm

Re: Help with potato planter leaving harvested texture

Post by masseyharris » Wed Mar 28, 2018 10:22 pm

leifege640 wrote:
Wed Mar 28, 2018 3:55 pm
<FoliageSubLayer name="potato_haulm" densityMapTypeIndex="7" densityMapChannelOffset="5" numDensityMapChannels="1" materialId="154" cellSize="8" viewDistance="80" objectMask="16711935" decalLayer="0" atlasSize="1" atlasOffsets="1 0" numBlocksPerUnitDefault="1.4" numBlocksPerUnitMin="1.4" numBlocksPerUnitMax="1.4" width="1.5" height="1" widthVariance="0" heightVariance="0" horizontalPositionVariance="0.1" blockShapeId="34"/>
I'm not 100% sure, but I've checked the same lines in my map, and I think your potato haulm line (quoted above) needs to say

densityMapChannelOffset="8" (you currently have this at "5")

User avatar
leifege640
Posts: 466
Joined: Tue Apr 15, 2014 4:14 pm
Location: Northern California

Re: Help with potato planter leaving harvested texture

Post by leifege640 » Wed Mar 28, 2018 11:17 pm

Thanks a million. That fixed it. At least it was a simple mistake as a wrong number and not something more complex that would take ages to chase down and correct.

I guess sometimes in order to fix a simple mistake, you need to get a few more pairs of eyes on the issue.

Moderators: This topic can now be closed.
PC player of FS19, FS17, FS15, and FS13
Don't criticize the farmer with your mouth full.
Computer Specs in spoiler.
Intel i3-6100 3.7GHz CPU
Gigabyte Radeon RX 470 w/ 4GB of GDDR5 VRAM
8GB of DDR4 RAM
Windows 10
275GB SSD + 1TB HHD
How to post your log:viewtopic.php?f=827&t=88665

Locked