FruitType Entladen nicht möglich Fülle zuerst auf

Eure Foren für alle Diskussionen rund ums Thema Modding.
AndiModding
Posts: 78
Joined: Sun Mar 20, 2022 9:37 am

FruitType Entladen nicht möglich Fülle zuerst auf

Post by AndiModding »

Hallo,
ich habe folgendes Problem.
Ich möchte in meinem Fahrzeug die funktion Salz zu streuen verbauen. Beladen kann ich es mittlerweile schon mit Salz, aber ich kann das Fahrzeug dann nicht anschalten, weil ich es anscheinend nciht befüllt habe. Das steht zumindest in dem Hilfsfenster oben links. Rechts unten wird mir aber angezeigt, dass ich mein Fahrzeug voll aufgefüllt habe.
Hier ein Bild:
https://workupload.com/archive/Z3DUkHzhY4
In der Log heißt es, dass ich einen FillTypeConverter verwenden soll. Ich weis aber nicht wie das funktioniert und hätte eigentlich gedacht, dass es ohne auch funktionieren müsste weil es bei den normalen Salzstreuern auch so funktioniert.
Ich hoffe mir kann jemand helfen.
Viele Grüße
Andi
Haubi
Posts: 1227
Joined: Tue Nov 23, 2021 4:36 pm
Location: JVA Stadelheim

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by Haubi »

Hallo, ein nettes Teil haste da gebaut. *thumbsup* Dein Problem hört sich für mich jetzt nach nem Fehler in der XML vom "Fahrzeug" an. Ich schätze mal der gewählter Vehicle Type kann nicht Salzstreuen. Jeder Standard Vehicle Type verfügt über diverse "specialization". Für Dein Gerät wüsste ich jetzt auf Anhieb nicht was es da im Basegame für ein äquivalent gibt, also Selbstfahrer Salzstreuer. Hier musst Du dann über die modDesc einen Custom Vehicle Type erstellen, der eben Fahren kann und auch Salzsteuer.
User avatar
LS-Lara
Posts: 394
Joined: Sun Aug 04, 2019 4:57 pm

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by LS-Lara »

Was hast Du denn bisher geändert an dem Gerät ?
Müsste ja angepasst werden in Bezug auf vehicle type (bzw. ggfs. specializations), workArea, fillUnit (scheinbar erledigt) und natürlich den ganze Teil für saltSpreader.

Wo kommt die Fehlermeldung mit "FruitType" ?
Der Sinn des Lebens ist:
29.61%

Mein Traktor:
Base:
HP Pavilion 690-03xx
Core i7-8700 @ 3.2GHz
NVIDIA GeForce GTX 1060 6GB
2x Benq GL2450H
Windows 10 Home 64bit
Custom:
2 x 16GB Corsair Vengeance LPX DDR4 C16 XMP 2.0
Samsung NVMe M.2 970 EVO Plus 500GB
Samsung SSD 860 EVO 1TB
Logitech G203 Prodigy
Logitech Wireless F710
AndiModding
Posts: 78
Joined: Sun Mar 20, 2022 9:37 am

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by AndiModding »

Als Vorbild hab ich mir den Phoenix6_6_Pack geholt. Das ist ein Streusalzwagen. Der hat dann zusätzlich noch die specialization saltSpreader. Ohne der würde bei mir dann auch dass fillVolume nicht funktionieren. Der typeDesc ist ein Düngerstreuer. So wie in der Beispiel Mod.
AndiModding
Posts: 78
Joined: Sun Mar 20, 2022 9:37 am

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by AndiModding »

Die Fehlermeldung kommt aus der xml. Ich kann diese auch gerne mal hier teilen
AndiModding
Posts: 78
Joined: Sun Mar 20, 2022 9:37 am

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by AndiModding »

xml:
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="handtool" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software. ... ehicle.xsd">
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

<storeData>
<name><en>PHOENIX Flatbed/Salt Truck</en><de>PHOENIX Pritsche/Salzwagen</de><tr>PHOENIX Açık Kasa/Tuz Kamyonu</tr></name>
<specs>
<power>462</power>
<maxSpeed>80</maxSpeed>
</specs>
<functions>
<function>$l10n_function_Sprayer</function><!--eigentlich Truck-->
</functions>
<image>store_phoenix.dds</image>
<price>60000</price>
<rotation>0</rotation>
<brand>TATRA</brand>
<category>sprayerVehicles</category>
<shopTranslationOffset>0 -0.013 0</shopTranslationOffset>
<shopRotationOffset>0.951 0 0</shopRotationOffset>
<vertexBufferMemoryUsage>3282944</vertexBufferMemoryUsage>
<indexBufferMemoryUsage>854272</indexBufferMemoryUsage>
<textureMemoryUsage>3801088</textureMemoryUsage>
<audioMemoryUsage>475052</audioMemoryUsage>
<instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
<instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
</storeData>
<base>
<typeDesc>$l10n_typeDesc_fertilizerSpreader</typeDesc>
<filename>Salzstreuer.i3d</filename>
<sounds filename="sounds/phoenix.xml"/>
<size width="3.7" length="7.5" height="3.6"/>
<speedLimit value="20"/>
<components>
<component centerOfMass="0 0.012 0.7" solverIterationCount="10" mass="20"/>
</components>
<schemaOverlay attacherJointPosition="0 0" name="VEHICLE" />
<mapHotspot type="TRACTOR" />
</base>


<wheels>
<wheelConfigurations>
<wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="LIZARD" saveId="LIZARD_DEFAULT">
<wheels autoRotateBackSpeed="2.2">
<wheel isLeft="true" hasTireTracks="true" hasParticles="true" >
<physics radius="0.2" width="0.15" rotSpeed="1" restLoad="0.1" mass="0.01" repr="0>1|0|0" useReprDirection="true" forcePointRatio="0.3" initialCompression="10" suspTravel="0.15" spring="8" damper="20" showSteeringAngle="false"/>
</wheel>
<wheel isLeft="false" hasTireTracks="true" hasParticles="true">
<physics radius="0.2" width="0.15" rotSpeed="1" restLoad="0.1" mass="0.01" repr="0>1|0|1" useReprDirection="true" forcePointRatio="0.3" initialCompression="10" suspTravel="0.15" spring="8" damper="20" showSteeringAngle="false"/>
</wheel>

<wheel isLeft="true" hasTireTracks="false" hasParticles="false" >
<physics radius="0.09" width="0.15" rotSpeed="0" restLoad="0.1" mass="0.01" repr="wheel3" useReprDirection="true" forcePointRatio="0.3" initialCompression="10" suspTravel="0.15" spring="8" damper="20" showSteeringAngle="false"/>
</wheel>
<wheel isLeft="false" hasTireTracks="false" hasParticles="false">
<physics radius="0.09" width="0.15" rotSpeed="0" restLoad="0.1" mass="0.01" repr="wheel4" useReprDirection="true" forcePointRatio="0.3" initialCompression="10" suspTravel="0.15" spring="8" damper="20" showSteeringAngle="false"/>
</wheel>
</wheels>
</wheelConfiguration>
</wheelConfigurations>
<ackermannSteeringConfigurations>
<ackermannSteering rotSpeed="70" rotMax="60" rotCenter="0 0"/>
</ackermannSteeringConfigurations>
</wheels>



<enterable isTabbable="true">
<enterReferenceNode node="2"/>
<exitPoint node="exitPoint"/>
<cameras>
<camera node="outdoorCamera1" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="3" transMax="40" translation="0 0 3.5" rotation="-20 180 0">
<raycastNode node="cameraRaycastNode1"/>
<raycastNode node="cameraRaycastNode2"/>
<raycastNode node="cameraRaycastNode3"/>
</camera>
<camera node="indoorCamera1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="false"/>
</cameras>
<characterNode node="playerNode" cameraMinDistance="1.75" spineRotation="270 0 90" useAnimation="true" />
<enterAnimation name="enterAnimation"/>
</enterable>

<pushHandTool>
<raycast node1="raycast01" node2="raycast02" playerNode="playerNode"/>
<wheels front="1 2" back="3 4"/>

<ikChains>
<target ikChain="rightArm" targetNode="playerRightHandTarget" poseId="wideFingers"/>
<target ikChain="leftArm" targetNode="playerLeftHandTarget" poseId="wideFingers"/>
</ikChains>

<customChainLimits>
<customChainLimit chainId="leftArm" nodeIndex="1" minRx="-40" maxRx="40" minRy="-130" maxRy="40" minRz="-70" maxRz="-30" localLimits="true"/>
<customChainLimit chainId="leftArm" nodeIndex="2" minRx="-25" maxRx="25" minRy="-144" maxRy="3" minRz="0" maxRz="0" localLimits="true" />

<customChainLimit chainId="rightArm" nodeIndex="1" minRx="-40" maxRx="40" minRy="-130" maxRy="40" minRz="-70" maxRz="-30" localLimits="true"/>
<customChainLimit chainId="rightArm" nodeIndex="2" minRx="-25" maxRx="25" minRy="-144" maxRy="3" minRz="0" maxRz="0" localLimits="true"/>
</customChainLimits>

<playerConditionalAnimation>
<item id="idle" entryTransitionDuration="0.25" exitTransitionDuration="0.25" >
<clips>
<clip clipName="idleSource" />
</clips>
<conditions>
<conditionGroup>
<condition parameter="absSmoothedForwardVelocity" lower="0.2" />
</conditionGroup>
</conditions>
</item>
<item id="walk" entryTransitionDuration="0.25" exitTransitionDuration="0.25" >
<clips speedScaleType="distance" speedScaleParameter="2">
<clip clipName="walkFwdLoopSource" />
</clips>
<conditions>
<conditionGroup>
<condition parameter="smoothedForwardVelocity" between="0.2, 4"/>
</conditionGroup>
</conditions>
</item>
<item id="walkBack" entryTransitionDuration="0.5" exitTransitionDuration="0.25" >
<clips speedScaleType="distance" speedScaleParameter="2">
<clip clipName="walkBwdLoopSource" />
</clips>
<conditions>
<conditionGroup>
<condition parameter="smoothedForwardVelocity" between="-3, -0.2" />
</conditionGroup>
</conditions>
</item>
</playerConditionalAnimation>
</pushHandTool>

<motorized>
<differentialConfigurations>
<differentialConfiguration>
<differentials>
<differential torqueRatio="0.5" maxSpeedRatio="1.6" wheelIndex1="1" wheelIndex2="2" />
<differential torqueRatio="0.5" maxSpeedRatio="1.6" wheelIndex1="3" wheelIndex2="4" />
<differential torqueRatio="0.5" maxSpeedRatio="1.6" differentialIndex1="1" differentialIndex2="2" />
</differentials>
</differentialConfiguration>
</differentialConfigurations>



<motorConfigurations>
<motorConfiguration hp="5" price="0">
<motor torqueScale="0.077" minRpm="850" maxRpm="2200" maxForwardSpeed="5" maxBackwardSpeed="3.9" brakeForce="0.05" lowBrakeForceScale="0.1" accelerationLimit="1.6">
<torque normRpm="0.45" torque="0.9"/>
<torque normRpm="0.5" torque="0.97"/>
<torque normRpm="0.59" torque="1"/>
<torque normRpm="0.72" torque="1"/>
<torque normRpm="0.86" torque="0.88"/>
<torque normRpm="1" torque="0.72"/>
</motor>
<transmission minForwardGearRatio="80" maxForwardGearRatio="350" minBackwardGearRatio="130" maxBackwardGearRatio="350" name="$l10n_info_transmission_automatic" />
</motorConfiguration>
</motorConfigurations>

<motorStartDuration>1500</motorStartDuration>
</motorized>

<drivable>
<idleTurning allowed="true" direction="1" maxSpeed="10" steeringFactor="100"/>
<sounds>
<waterSplash template="WATER_SPLASH_01" linkNode="0>"/>
</sounds>
</drivable>

<fillUnit>
<fillUnitConfigurations>
<fillUnitConfiguration name="Salt Spreder" price="2500">
<fillUnits>
<fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="440">
<dashboard displayType="ANIMATION" valueType="fillLevel" animName="fuelDisplay" groups="MOTOR_ACTIVE"/>
</fillUnit>
<fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="def" capacity="45">
<dashboard displayType="ANIMATION" valueType="fillLevel" animName="defDisplay" groups="MOTOR_ACTIVE"/>
</fillUnit>
<fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="air" capacity="4000"/>
<unloading width="36" offset="0 0 0"/>
<fillUnit unitTextOverride="$l10n_unit_literShort" fillTypes="roadsalt" capacity="500">
<exactFillRootNode node="exactFillRootNode"/>
</fillUnit>
</fillUnits>
</fillUnitConfiguration>
</fillUnitConfigurations>
</fillUnit>

<fruitTypeCategories>
<fruitTypeCategory name="Salt Spreder" >roadsalt</fruitTypeCategory>
</fruitTypeCategories>


<fruitTypeConverters>
<fruitTypeConverter name="Salt">
<converter from="roadsalt" to="salt" factor="1.0" windrowFactor="1.0" />
</fruitTypeConverter>
</fruitTypeConverters>

<fillVolume>
<fillVolumeConfigurations>
<fillVolumeConfiguration>
<volumes>
<volume node="fillVolume" maxDelta="0.2" maxAllowedHeapAngle="18" fillUnitIndex="4" />
</volumes>
</fillVolumeConfiguration>
<fillVolumeConfiguration>
</fillVolumeConfiguration>
</fillVolumeConfigurations>
</fillVolume>






<suspensions>
<suspension node="cabin" weight="400" minRotation="-5 0 -5" maxRotation="5 0 5" suspensionParametersX="75 17" suspensionParametersZ="75 17" />
<suspension node="seat" weight="150" minTranslation="-0.05 -0.15 0.0" maxTranslation="0.05 0.15 0.0" suspensionParametersX="20 4" suspensionParametersY="5 1" suspensionParametersZ="20 4" />
<suspension useCharacterTorso="true" weight="90" minRotation="0 -5 -5" maxRotation="0 5 5" suspensionParametersY="7 1" suspensionParametersZ="7 1" />
</suspensions>
<ai>
<agent width="2.85" length="7.1" height="3.5" lengthOffset="1.2" frontOffset="3.07"/>
<collisionTrigger node="aiCollisionNode" width="3.2" height="4.0"/>
</ai>
<foliageBending>
<bendingNode minX="-1.32" maxX="1.32" minZ="-3.45" maxZ="3.5" yOffset="0.6" />
</foliageBending>

<workAreas>
<workArea type="saltspreader" functionName="processSaltSpreaderArea" disableBackwards="false" requiresGroundContact="false">
<area startNode="workAreaStart" widthNode="workAreaWidth" heightNode="workAreaHeight"/>
</workArea>
</workAreas>
<saltSpreader fillUnitIndex="4" usage="0.2" usageWorkArea="1">
<effects>
<effectNode effectClass="FertilizerMotionPathEffect" effectType="FERTILIZER" linkNode="sprayEffect">
<motionPathEffect textureFilename="$data/vehicles/bredal/sg/fertilizerEffectLeftArray.dds" numRows="10" rowLength="24" minFade="0.03" isLeft="true" />
</effectNode>
<!--<effectNode effectClass="FertilizerMotionPathEffect" effectType="FERTILIZER" linkNode="0>0|14|0|1|1">
<motionPathEffect textureFilename="$data/vehicles/bredal/sg/fertilizerEffectRightArray.dds" numRows="10" rowLength="24" minFade="0.03" isLeft="false"/>
</effectNode>-->
</effects>
</saltSpreader>

<turnOnVehicle turnOffIfNotAllowed="true">
<sounds>
<work template="DEFAULT_SPREADER" linkNode="0>" volumeScale="0.50"/>
</sounds>
</turnOnVehicle>

<configurationSets>
<configurationSet name="Salt Truck">
<configuration name="fillUnit" index="1"/>
<configuration name="fillVolume" index="1"/>
<configuration name="vehicleType" index="1"/>
<configuration name="tensionBelts" index="1"/>
<configuration name="folding" index="2"/>
<configuration name="design" index="3"/>
</configurationSet>
</configurationSets>
<vehicleTypeConfigurations>
<vehicleTypeConfiguration vehicleType="handTool">
<objectChange node="0>0|13|2" visibilityActive="false"/>
<objectChange node="0>0|15|2" visibilityActive="false"/>
</vehicleTypeConfiguration>
</vehicleTypeConfigurations>

<baseMaterial>
<material name="Saltspreader_mat" baseNode="Frame">
<shaderParameter name="colorMat0" value="AGCO_GREY1"/>
<shaderParameter name="colorMat1" value="AGCO_GREY1"/>
</material>
</baseMaterial>

<baseMaterialConfigurations price="50" useDefaultColors="true" defaultColorIndex="6">
<material name="Saltspreader_mat" shaderParameter="colorMat0"/>
</baseMaterialConfigurations>

<designMaterialConfigurations price="50" useDefaultColors="true" defaultColorIndex="6">
<material name="Saltspreader_mat" shaderParameter="colorMat1" />
</designMaterialConfigurations>
<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
<washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>



<i3dMappings>
<i3dMapping id="components" node="0>0"/>
<i3dMapping id="Frame" node="0>0|0"/>
<i3dMapping id="Wanne" node="0>0|1"/>
<i3dMapping id="Gear" node="0>0|2"/>
<i3dMapping id="Spreader" node="0>0|3"/>
<i3dMapping id="Wheels" node="0>1"/>
<i3dMapping id="transform" node="0>1|0"/>
<i3dMapping id="WheelL" node="0>1|0|0"/>
<i3dMapping id="wheelR" node="0>1|0|1"/>
<i3dMapping id="wheel3" node="0>1|0|2"/>
<i3dMapping id="wheel4" node="0>1|0|3"/>
<i3dMapping id="cameras" node="0>2"/>
<i3dMapping id="outdoorCameraTarget" node="0>2|0"/>
<i3dMapping id="outdoorCamera1" node="0>2|0|0"/>
<i3dMapping id="indoorCamera1" node="0>2|1"/>
<i3dMapping id="cameraRaycastNode1" node="0>2|2"/>
<i3dMapping id="cameraRaycastNode2" node="0>2|3"/>
<i3dMapping id="cameraRaycastNode3" node="0>2|4"/>
<i3dMapping id="shadowFocusBox" node="0>2|5"/>
<i3dMapping id="player" node="0>3"/>
<i3dMapping id="playerNode" node="0>3|0"/>
<i3dMapping id="skeleton" node="0>3|1"/>
<i3dMapping id="raycast01" node="0>3|1"/>
<i3dMapping id="raycast02" node="0>3|2"/>
<i3dMapping id="Griff" node="0>4"/>
<i3dMapping id="playerLeftHandTarget" node="0>4|0"/>
<i3dMapping id="playerRightHandTarget" node="0>4|1"/>
<i3dMapping id="exitPoint" node="0>5"/>
<i3dMapping id="ai" node="0>6"/>
<i3dMapping id="aiCollisionTrigger" node="0>6|0"/>
<i3dMapping id="anim" node="0>7"/>
<i3dMapping id="workAreas" node="0>8"/>
<i3dMapping id="workAreaStart" node="0>8|0"/>
<i3dMapping id="workAreaWidth" node="0>8|1"/>
<i3dMapping id="workAreaHeight" node="0>8|2"/>
<i3dMapping id="dropAreaStart" node="0>8|3"/>
<i3dMapping id="dropAreaWidth" node="0>8|4"/>
<i3dMapping id="dropAreaHeight" node="0>8|5"/>
<i3dMapping id="ground" node="0>8|6"/>
<i3dMapping id="playerBlockCollision" node="0>9"/>
<i3dMapping id="effects" node="0>10"/>
<i3dMapping id="smokeEmitter" node="0>10|0"/>
<i3dMapping id="sprayEffect" node="0>10|1"/>
<i3dMapping id="filling" node="0>11"/>
<i3dMapping id="fillUnit" node="0>11|0"/>
<i3dMapping id="exactFillRootNode" node="0>11|0|0"/>
<i3dMapping id="fillVolume" node="0>11|0|1"/>
<i3dMapping id="unloadinfo" node="0>11|0|2"/>
<i3dMapping id="fillAutoAimTarget1" node="0>11|0|3"/>
</i3dMappings>
</vehicle>
moddesc:
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="79">
<author>Andi Modding</author>
<version>1.0.0.0</version>
<title>
<en>Hand Spreader</en>
<de>Handstreuer</de>
</title>
<description>
<en><![CDATA[
This is a spreader. You can use it to spread fertilizer, lime and salt. At a price of 200$, it is very cheap compared to the larger machines. It is very suitable for cost-effectively de-icing or applying lime to your small yard area.
]]>
</en>
<de><![CDATA[Dies ist ein Handstreuer. Mit ihm kannst du Dünger, Kalk und Salz ausbringen. Für einen Preis von 200€ ist er im Vergleich zu den großen Maschinen sehr günstig. Er ist sehr gut geeignet um seine kleine Hoffläche kostengünstig zu enteisen oder Kalk auszubringen.
]]></de>

</description>


<vehicleTypes>
<type name="handTool" parent="handToolMower" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="sprayer"/>
<specialization name="fillVolume"/>
<specialization name="saltSpreader"/>


<!-- <specialization name="powerConsumer" />
<specialization name="groundReference" />
<specialization name="workArea" />
<specialization name="workParticles" />
<specialization name="foldable" />
<specialization name="cylinderedFoldable" />
<specialization name="turnOnVehicle" />
<specialization name="cover" />
<specialization name="bunkerSiloInteractor"/>
<specialization name="tensionBelts" />
<specialization name="variableWorkWidth" />

<specialization name="fillTriggerVehicle" />-->
</type>
</vehicleTypes>


<iconFilename>icon_saltspreader.dds</iconFilename>

<multiplayer supported="true"/>

<storeItems>
<storeItem xmlFilename="saltspreader.xml"/>
<storeItem xmlFilename="saltspreader real.xml"/>
</storeItems>


</modDesc>
die 2. xml in der moddesc ist für 2 andere Konfigurationen mit Kalk und Dünger
Last edited by AndiModding on Sun Jan 14, 2024 6:28 pm, edited 1 time in total.
AndiModding
Posts: 78
Joined: Sun Mar 20, 2022 9:37 am

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by AndiModding »

Was mich selbst jedoch wundert. Bei der 2. xml kommt der selbe Fehler mit dem FruitTypeConverter. Bei dem funktioniert aber eigentlich alles. Also muss es ja eigentlich an etwas anderem liegen oder?
Haubi
Posts: 1227
Joined: Tue Nov 23, 2021 4:36 pm
Location: JVA Stadelheim

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by Haubi »

Hab mal kurz hineingeschaut, aber so als Text ist das sehr verwirrend. Am besten mal als XML hochladen, da kennt man sich dann auch aus. Der als Basis genommene Mod hat da auf jeden Fall mal ganz komische Sachen drin, die eigentlich so mal keinen Sinn machen. Ein Salzstreuer braucht normal keine "fruitTypeConverters" "fruitTypeCategories" usw. Das wirst du auch im Bredal Salzstreuer z.b. nicht finden. KA wozu das gut sein soll :confusednew: :lol:
AndiModding
Posts: 78
Joined: Sun Mar 20, 2022 9:37 am

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by AndiModding »

Den fruitTypeConverter hab ich selbst dazu weil ich versucht habe den Fehler zu beheben. Das änder aber nichts.
AndiModding
Posts: 78
Joined: Sun Mar 20, 2022 9:37 am

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by AndiModding »

Haubi
Posts: 1227
Joined: Tue Nov 23, 2021 4:36 pm
Location: JVA Stadelheim

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by Haubi »

Hab mal ein wenig geschaut. Was mir so auf die schnelle aufgefallen ist.
Dein vehicleType Name "handtool" ist etwas zu allgemein. Der wird wahrscheinlich öfters benutzt, könnt also Komplikationen machen. Besser wäre "handToolSaltSpreader" oder "handToolSpreader" z.b.

Diese Einträge verstehe ich nicht, die ergeben keinen Sinn, kann komplett weg
configurationSets
fruitTypeCategories
fruitTypeConverters

vehicleTypeConfigurations hast du nur eine vehicleTypeConfiguration, kann also nicht funktionieren. Die zwei Sachen wo da ein oder ausgeblendet werden sollen machst am besten als designConfiguration

Ich werd später mal noch etwas weiterschauen
AndiModding
Posts: 78
Joined: Sun Mar 20, 2022 9:37 am

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by AndiModding »

Ok danke schon mal
Haubi
Posts: 1227
Joined: Tue Nov 23, 2021 4:36 pm
Location: JVA Stadelheim

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by Haubi »

Jetzt hab ich gerade die modDesc noch angeschaut. Beim 2. storeItem hast du ein Leerzeichen im xml Name. Glaub, das mag der LS nicht. Daher schreibt man normal alles zusammen und die Anfangsbuchstaben vom nächsten Wort in groß.
Falsch saltspreader real.xml

Richtig saltSpreaderReal.xml
AndiModding
Posts: 78
Joined: Sun Mar 20, 2022 9:37 am

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by AndiModding »

Hab ich jetzt auch mal geändert. Bisher immer noch der gleiche Fehler. In der FillUnity stimmt dort als fillTypes="roadsalt"?
Hab eigentlich alles so übernommen wie in der Beispiel Mod nur hald angepasst. Desshalb läuft das auch allles unter Düngersträuer. Ich denke, dass ich irgendwo eine Kleinigkeit übersehe.
AndiModding
Posts: 78
Joined: Sun Mar 20, 2022 9:37 am

Re: FruitType Entladen nicht möglich Fülle zuerst auf

Post by AndiModding »

Keine Ahnung warum aber es funktioniert jetzt. Hab noch ein paar kleine Änderungen bei der FillUnit gemacht und die oberen 3 auskommentiert und überall dann fillUnitIndex 1 gemacht und es funktioniert.
Danke für eure Hilfe
Post Reply