Channel alle belegt

  • Hallo Community,


    ich baue eine Map auf der man 6 verschiedene Bäume sehen kann nun will ich aber noch andere Früchte. Ich habe die Channels auf 13 erweitert. Ich verstehe nur nicht wie ich die denisty Map channel usw. erweitern muss, dass es zu keinen Überschneidungen kommt.


    <FoliageMultiLayer densityMapId="31" numChannels="13" numTypeIndexChannels="4" useVertexBufferPool="true">
    <FoliageSubLayer name="betterave" densityMapTypeIndex="13" densityMapChannelOffset="4" numDensityMapChannels="3" materialId="10024" cellSize="8" viewDistance="80" 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="1.25" heightVariance="0.2" horizontalPositionVariance="0.5" growthNumStates="5" growthStateTime="900000"/>
    <FoliageSubLayer name="wheat" densityMapTypeIndex="1" densityMapChannelOffset="4" numDensityMapChannels="3" materialId="270" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" distanceMapIds="32;33;34;35;36" distanceMapUnitSizes="128;128;128;128;128" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1.2" width="1.5" height="1" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" growthNumStates="5" growthStateTime="900000"/>
    <FoliageSubLayer name="wheat_cut_short" densityMapTypeIndex="1" densityMapChannelOffset="7" numDensityMapChannels="1" materialId="88" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1.2" width="1.5" height="0.13" widthVariance="0" heightVariance="0.04" horizontalPositionVariance="0.5"/>
    <FoliageSubLayer name="wheat_windrow" densityMapTypeIndex="1" densityMapChannelOffset="10" numDensityMapChannels="2" materialId="248" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" distanceMapIds="36" distanceMapUnitSizes="128" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="0.8" width="1.8" height="0.5" widthVariance="0" heightVariance="0.1" horizontalPositionVariance="1.5" blockShapeId="3" useShapeNormals="true"/>
    <FoliageSubLayer name="grass" densityMapTypeIndex="2" densityMapChannelOffset="4" numDensityMapChannels="3" materialId="600" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" distanceMapIds="32;42;43;44;45" distanceMapUnitSizes="128;128;128;128;128" separateAvailabilityChannel="false" atlasSize="2" plantThreshold="0.5" numBlocksPerUnit="1.2" width="1.5" height="1.1" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" growthNumStates="5" growthStateTime="1.8e+006"/>
    <FoliageSubLayer name="grass_cut_long" densityMapTypeIndex="2" densityMapChannelOffset="8" numDensityMapChannels="2" materialId="137" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" distanceMapIds="45" distanceMapUnitSizes="128" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="0.8" width="1.8" height="0.5" widthVariance="0" heightVariance="0.1" horizontalPositionVariance="1.5" blockShapeId="3" useShapeNormals="true"/>
    <FoliageSubLayer name="grass_windrow" densityMapTypeIndex="2" densityMapChannelOffset="10" numDensityMapChannels="2" materialId="90" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" distanceMapIds="44" distanceMapUnitSizes="128" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="0.8" width="1.8" height="1.25" widthVariance="0" heightVariance="0.1" horizontalPositionVariance="0.5" blockShapeId="3" useShapeNormals="true"/>
    <FoliageSubLayer name="rape" densityMapTypeIndex="3" densityMapChannelOffset="4" numDensityMapChannels="3" materialId="602" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" distanceMapIds="32;49;50;51;52" distanceMapUnitSizes="128;128;128;128;128" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1.2" width="1.5" height="1.25" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" growthNumStates="5" growthStateTime="900000"/>
    <FoliageSubLayer name="rape_cut_short" densityMapTypeIndex="3" densityMapChannelOffset="7" numDensityMapChannels="1" materialId="343" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1.2" width="1.5" height="0.25" widthVariance="0" heightVariance="0.04" horizontalPositionVariance="0.5"/>
    <FoliageSubLayer name="barley" densityMapTypeIndex="4" densityMapChannelOffset="4" numDensityMapChannels="3" materialId="140" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" distanceMapIds="32;55;56;57;58" distanceMapUnitSizes="128;128;128;128;128" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1.2" width="1.5" height="1.25" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.5" growthNumStates="5" growthStateTime="900000"/>
    <FoliageSubLayer name="barley_cut_short" densityMapTypeIndex="4" densityMapChannelOffset="7" numDensityMapChannels="1" materialId="169" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1.2" width="1.5" height="0.13" widthVariance="0" heightVariance="0.04" horizontalPositionVariance="0.5"/>
    <FoliageSubLayer name="barley_windrow" densityMapTypeIndex="4" densityMapChannelOffset="10" numDensityMapChannels="2" materialId="116" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" distanceMapIds="58" distanceMapUnitSizes="128" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="0.8" width="1.8" height="0.5" widthVariance="0" heightVariance="0.1" horizontalPositionVariance="1.5" blockShapeId="3" useShapeNormals="true"/>
    <FoliageSubLayer name="maize" densityMapTypeIndex="5" densityMapChannelOffset="4" numDensityMapChannels="3" materialId="250" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" distanceMapIds="32;62;63;64;65" distanceMapUnitSizes="128;128;128;128;128" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="0.6" width="4" height="2.5" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.025" growthNumStates="5" growthStateTime="900000"/>
    <FoliageSubLayer name="maize_cut_short" densityMapTypeIndex="5" densityMapChannelOffset="7" numDensityMapChannels="1" materialId="55" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="1" width="1.2" height="0.4" widthVariance="0" heightVariance="0.04" horizontalPositionVariance="0.5"/>
    <FoliageSubLayer name="dryGrass" densityMapTypeIndex="6" densityMapChannelOffset="4" numDensityMapChannels="3" materialId="600" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="0" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="0.01" width="2" height="2" widthVariance="0" heightVariance="0.2" horizontalPositionVariance="0.3"/>
    <FoliageSubLayer name="dryGrass_cut_long" densityMapTypeIndex="6" densityMapChannelOffset="8" numDensityMapChannels="2" materialId="368" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" distanceMapIds="68" distanceMapUnitSizes="128" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="0.8" width="1.8" height="0.5" widthVariance="0" heightVariance="0.1" horizontalPositionVariance="1.5" blockShapeId="3" useShapeNormals="true"/>
    <FoliageSubLayer name="dryGrass_windrow" densityMapTypeIndex="6" densityMapChannelOffset="10" numDensityMapChannels="2" materialId="128" cellSize="8" viewDistance="75" terrainOffset="0" objectMask="65520" distanceMapIds="68" distanceMapUnitSizes="128" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="0.8" width="1.8" height="1.25" widthVariance="0" heightVariance="0.1" horizontalPositionVariance="0.5" blockShapeId="3" useShapeNormals="true"/>
    <FoliageSubLayer name="forest1" densityMapTypeIndex="7" densityMapChannelOffset="4" numDensityMapChannels="3" materialId="48" cellSize="8" viewDistance="290" terrainOffset="-1" objectMask="65520" distanceColors="0.537255 0.439216 0.286275;0.239216 0.309804 0.137255;0.239216 0.309804 0.137255;0.239216 0.309804 0.137255;0.239216 0.309804 0.137255" separateAvailabilityChannel="false" atlasSize="1" plantThreshold="0.5" numBlocksPerUnit="0.2" width="16" height="16" widthVariance="0" heightVariance="0.5" horizontalPositionVariance="0.5" growthNumStates="5" growthStateTime="2.9e+006"/>

  • Dir ist klar, dass man nichts lesen kann, oder? :D


    Deinen ganzen Text solltest du mal als in einem Quellcode schreiben:
    [lua][lua][ / lua][/lua] ohne Leerzeichen und zwischen dein beiden Blöcken [] xxx [/] etwas eingeben ;)

  • Da du die ja nicht ernten willst brauchst du die ja auch wohl kaum mit der Sämaschine im Spiel säen können. Also brauchst du die nur nach folgendem Prinzip einfügen, dann hast du auch keine Probleme mit Channels.


    XML
    <FoliageMultiLayer densityMapId="75" numChannels="1" numTypeIndexChannels="0">
    <FoliageSubLayer name="normalGrass" numDensityMapChannels="1" materialId="451" cellSize="8" viewDistance="30" terrainOffset="0" objectMask="65520" atlasSize="8" plantThreshold="0.5" numBlocksPerUnit="1.5" width="1.4" height="0.7" widthVariance="1" heightVariance="1" horizontalPositionVariance="1.5"/>
    </FoliageMultiLayer>


    ps: Ich hab meine Map nur auf dem anderen Rechner, kann dir also jetzt grad kein besseres Beispiel geben.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!