stijnwop / manureSystem

Manure System modification for Farming Simulator 2022
GNU General Public License v3.0
97 stars 58 forks source link

Fillarms in Mods do not Work #170

Closed mrdeez2 closed 11 months ago

mrdeez2 commented 11 months ago

Hello my Problem is,

Fillarms don't work in mods

<manureSystem hasConnectors="true" hasPumpMotor="true" hasFillArm="true"/> 

    <manureSystemFillArm node="0>4|3|0|0|1" needsDockingCollision="true">
        <collision position="0.417 0 0" rotation="0 0 0"/>
    </manureSystemFillArm>

    <!--manureSystemFillArm createNode="false" linkNode="0>4|3|0|0|4" position="0.81199998 0 1.38171518" rotation="0 -90 0" /-->

    <manureSystemPumpMotor isStandalone="false" litersPerSecond="350" toReachMaxEfficiencyTime="1000">
        <sounds>
            <pump template="SLURRY_02">
                <pitch indoor="0.85" outdoor="0.75"/>
            </pump>
        </sounds>
    </manureSystemPumpMotor>

     <manureSystemConnectors>
            <connector type="DOCK" stationaryConnectorId="1" inRangeDistance="0.15">
            <sharedSet node="0>8|12" id="4" placeholderNode="0>8|13">
                <connector type="funnel_10inch" color="SHARED_BLACK1">
                  <pipe>true</pipe>
                  <flangeRound>false</flangeRound>
                  <flangeQuad>true</flangeQuad>
                </connector>
            </sharedSet>
            <trigger position="0 0.4 0" roation="0 0 0" linkNode="0>8|12"/>
        </connector>
        <connector type="DOCK" stationaryConnectorId="1" inRangeDistance="0.15">
            <sharedSet node="0>8|14" id="4" placeholderNode="0>8|15">
                <connector type="funnel_8inch" color="SHARED_BLACK1">
                  <pipe>true</pipe>
                  <flangeRound>false</flangeRound>
                  <flangeQuad>true</flangeQuad>
                </connector>
            </sharedSet>
            <trigger position="0 0.4 0" roation="0 0 0" linkNode="0>8|14"/>
        </connector>

         <connector type="COUPLING">
            <sharedSet createNode="true" linkNode="0>8|16" placeholderNode="0>8|17" id="1">
                <connector type="CONNECTOR_1"/>
                <valve type="8INCH_BRASS"/>
                <handle type="handle_new"/>
            </sharedSet>
        </connector>
        <connector type="COUPLING">
            <sharedSet createNode="true" linkNode="0>8|18" placeholderNode="0>8|19" id="1">
                <connector type="CONNECTOR_1"/>
                <valve type="8INCH_BRASS"/>
                <handle type="handle_new"/>
            </sharedSet>
        </connector>
        <connector type="COUPLING">
            <sharedSet createNode="true" linkNode="0>4|1|0|3" placeholderNode="0>4|1|0|4" id="1">
                <connector type="CONNECTOR_1"/>
                <valve type="8INCH_BRASS"/>
                <handle type="handle_new"/>
            </sharedSet>
        </connector>

    </manureSystemConnectors>

The collisions can be seen in the game via F5 but have no function

Working with a hose, on the other hand, works

stijnwop commented 11 months ago

Could you provide the full modDesc and XML please?

mrdeez2 commented 11 months ago
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="69">
    <author>VertexDezign</author>
    <version>1.0.0.0</version>
    <title>
        <en>Schoema TST Pack</en>
        <de>Schöma Zubringer Pack</de>
    </title>
    <description> 
        <en><![CDATA[ This pack contains machines around a massive slurrytanker from the company Schöma from northern Germany. Due to the tapered tank, a very low center of gravity and a super road holding can be realized.
In addition to the normal semitrailer TSA, the pack also includes the associated dollyaxle US and the combination of both machines TAH.
The tankers offer many different overloading options with one hose connection on each side, a pivoting connection at the rear and two suction funnels.
In addition, there is a side suction arm and a free rotating overloading arm to fill directly into a container.
With many other configurations of tires, fenders, reflectors, and logos, the machines are individually adapted to each customer.

Schöma TAH
- Configurable Fillarms
- Price: 102000$
- Capacity: 26000L

Schöma TSA
- Configurable Fillarms
- Price: 75000$
- Capacity: 26000L

Schöma US
- Price: 9000$
]]></en>
        <de><![CDATA[Dieses Pack enthält Maschinen rund um den massiven Güllezubringer der Firma Schöma aus Norddeutschland. Durch den verjüngten Tank lässt sich ein sehr tiefer Schwerpunkt und eine super Straßenlage realisieren.
Neben dem normalen Tankauflieger TSA liegt dem Pack auch der zugehörige Dolly US und die Kombination beider Maschinen TAH bei.
Die Zubringer bieten mit je einem Schlauchanschluss pro Seite, einem schwenkbaren Anschluss hinten und zwei Saugtrichtern viele verschiedene überlademöglichkeiten.
Hinzu kommt ein seitlicher Saugarm und ein frei Schwenkbarer Überladearm um direkt in einen Container füllen zu können.
Mit vielen weiteren Konfigurationen bei Reifen, Kotflügeln, Reflektoren, und Logos passen sich die Maschinen für jeden Kunden individuell an.

Schöma TAH Tankanhänger
- konfigurierbarer Saug- und Überladearm
- Preis: 102000€
- Kapazität: 26000L

Schöma TSA Tanksattelauflieger
- konfigurierbarer Saug- und Überladearm
- Preis: 75000€
- Kapazität: 26000L

Schöma US Dolly
- Preis: 9000€
]]></de>
    </description>
    <iconFilename>icon_schoemaTSA.dds</iconFilename>
    <multiplayer supported="true"/>

    <brands>
        <brand name="SCHOEMA" title="Schöma" image="shared/brands/brand_schoema.dds"/>
        <brand name="AEOLUS" title="Aeolus" image="shared/brands/brand_aeolus.dds"/>
    </brands>

    <brandColors>
        <color name="SCHOEMA_BLACK" value="0.02 0.02 0.02 0"/>
        <color name="SCHOEMA_GREEN1" value="0.0554 0.1879 0.0253 0"/>
        <color name="SCHOEMA_GREEN2" value="0.2384 0.4678 0.0176 1"/>
    </brandColors>

    <storeItems>
        <storeItem xmlFilename="vehicles/schoema/TAH/schoemaTAH.xml"/>
        <storeItem xmlFilename="vehicles/schoema/TSA/schoemaTSA.xml"/>
        <storeItem xmlFilename="vehicles/schoema/US/schoemaUS.xml"/>
    </storeItems>

    <specializations>
    <specialization name="manureSystemRegistry" className="ManureSystemRegistry" filename="ManureSystemRegistry.lua"/>
</specializations>

<vehicleTypes>
    <type name="myNewBarrel" parent="manureTrailer" filename="$dataS/scripts/vehicles/Vehicle.lua">
        <specialization name="manureSystemRegistry"/>
    </type>
</vehicleTypes>

    <l10n>
        <text name="configuration_fenders">
            <en>Fender</en>
            <de>Kotflügel</de>
        </text>
        <text name="configuration_valueDefaultNarrow">
            <en>Default Narrow</en>
            <de>Standard Schmal</de>
        </text>
        <text name="configuration_valueDefaultWide">
            <en>Default Wide</en>
            <de>Standard Breit</de>
        </text>
        <text name="configuration_agri">
            <en>Agricultural</en>
            <de>Agrar</de>
        </text>
        <text name="configuration_agriNarrow">
            <en>Agricultural Narrow</en>
            <de>Agrar Schmal</de>
        </text>
        <text name="configuration_agriWide">
            <en>Agricultural Wide</en>
            <de>Agrar Breit</de>
        </text>
        <text name="configuration_road">
            <en>Road</en>
            <de>Straße</de>
        </text>
        <text name="configuration_roadNarrow">
            <en>Road Narrow</en>
            <de>Straße Schmal</de>
        </text>
        <text name="configuration_roadWide">
            <en>Road Wide</en>
            <de>Straße Breit</de>
        </text>
        <text name="configuration_decals">
            <en>Logo</en>
            <de>Logo</de>
        </text>
        <text name="configuration_decalsOld">
            <en>Old</en>
            <de>Alt</de>
        </text>
        <text name="configuration_decalsNew">
            <en>New</en>
            <de>Neu</de>
        </text>
        <text name="configuration_fillArmBoth">
            <en>Both Fillarms</en>
            <de>Saugarm und Überladearm</de>
        </text>
        <text name="configuration_fillArmTop">
            <en>Fillarm Top</en>
            <de>Überladearm</de>
        </text>
        <text name="configuration_fillArmSide">
            <en>Fillarm Side</en>
            <de>Saugarm</de>
        </text>
        <text name="configuration_heavyDuty">
            <en>Heavy Duty</en>
        </text>
        <text name="configuration_hoseParking">
            <en>Hose Transport</en>
            <de>Schlauchablage</de>
        </text>
        <text name="configuration_reflectors">
            <en>Reflectors</en>
            <de>Reflektoren</de>
        </text>
        <text name="configuration_withOut">
            <en>None</en>
            <de>Ohne</de>
        </text>
        <text name="configuration_fillArms">
            <en>Fill Arm</en>
            <de>Saug- o. Überladearm</de>
        </text>
    </l10n>
</modDesc>
<?xml version='1.0' encoding='utf-8'?>
<vehicle type="myNewBarrel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs22/1.2.0.0/vehicle.xsd">
    <storeData>
        <name>TAH</name>
        <specs>
            <neededPower>200</neededPower>
        </specs>
        <functions>
            <function>$l10n_function_tank</function>
        </functions>
        <image>vehicles/schoema/TAH/store_schoemaTAH.png</image>
        <price>102000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>SCHOEMA</brand>
        <category>slurryTanks</category>
        <shopTranslationOffset>0 0.048 0</shopTranslationOffset>
        <shopRotationOffset>0.18 -0.001 0</shopRotationOffset>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_manureBarrel</typeDesc>
        <filename>vehicles/schoema/TAH/schoemaTAH.i3d</filename>
        <size width="3" length="12" lengthOffset="0"/>
        <components maxMass="34000">
            <component centerOfMass="0 0.2 -1" solverIterationCount="10" mass="5300"/>
            <component centerOfMass="0 -0.75 0" solverIterationCount="10" mass="2500"/>
            <joint component1="1" component2="2" node="componentJoint" rotLimit="15 120 0" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT"/>
        <mapHotspot type="TRAILER"/>
    </base>

    <configurationSets>
        <configurationSet name="$l10n_configuration_valueDefault">
            <configuration name="fillVolume"   index="1" />
            <configuration name="fillUnit"     index="1" />
        </configurationSet>
        <configurationSet name="$l10n_configuration_extension" isDefault="true">
            <configuration name="fillVolume"   index="2" />
            <configuration name="fillUnit"     index="2" />
        </configurationSet>
         <configurationSet name="$l10n_configuration_extension" isDefault="true">
            <configuration name="fillVolume"   index="3" />
            <configuration name="fillUnit"     index="3" />
        </configurationSet>
    </configurationSets>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailerLow" rootNode="schoemaTAH_dolly_component2" attacherHeight="0.75"/>
        </inputAttacherJoints>
        <steeringAxleAngleScale startSpeed="1" endSpeed="90"/>
        <brakeForce force="0.55" maxForce="2.1" maxForceMass="34000"/>
        <airConsumer usage="0.5"/>
        <support animationName="rotateSupport" delayedOnAttach="false"/>
    </attachable>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn" node="hydraulicIn01" adapterNode="hydraulicIn01Detached" length="1.5" diameter="0.015">
            <objectChange node="hydraulicIn01Detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut01" adapterNode="hydraulicOut01Detached" length="1.5" diameter="0.015">
            <objectChange node="hydraulicOut01Detached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="airDoubleRed" node="airDoubleRed" adapterNode="airRedDetached" length="1.6" diameter="0.011">
            <objectChange node="airRedDetached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="airDoubleYellow" node="airDoubleYellow" adapterNode="airYellowDetached" length="1.6" diameter="0.011">
            <objectChange node="airYellowDetached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="electric" node="electric" adapterNode="electricDetached" length="1.5" diameter="0.005">
            <objectChange node="electricDetached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" brand="MICHELIN" price="0" saveId="MICHELIN_DEFAULT">
                <wheels>
                    <wheel filename="shared/wheels/michelin/cargoXBib/560_60R22_5.xml" isLeft="true">
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.4" repr="wheelFrontLeft" forcePointRatio="0.33" initialCompression="15" suspTravel="0.10" spring="80" damper="50"/>
                    </wheel>
                    <wheel filename="shared/wheels/michelin/cargoXBib/560_60R22_5.xml" isLeft="false">
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.4" repr="wheelFrontRight" forcePointRatio="0.33" initialCompression="15" suspTravel="0.10" spring="80" damper="50"/>
                    </wheel>
                    <wheel filename="shared/wheels/michelin/cargoXBib/560_60R22_5.xml" isLeft="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.4" repr="wheelMiddleLeft" forcePointRatio="0.33" initialCompression="15" suspTravel="0.10" spring="80" damper="50"/>
                        <wheelChock parkingNode="wheelChock01"/>
                        <wheelChock parkingNode="wheelChock02" isInverted="true"/>
                    </wheel>
                    <wheel filename="shared/wheels/michelin/cargoXBib/560_60R22_5.xml" isLeft="false">
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.4" repr="wheelMiddleRight" forcePointRatio="0.33" initialCompression="15" suspTravel="0.10" spring="80" damper="50"/>
                    </wheel>
                    <wheel filename="shared/wheels/michelin/cargoXBib/560_60R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.5" repr="wheelBackLeftRepr" driveNode="wheelBackLeft" forcePointRatio="0.33" initialCompression="10" suspTravel="0.10" spring="80" damper="50"/>
                        <steeringAxle scale="-0.75" rotMax="6.5" rotMin="-6.5"/>
                        <steering node="steeringBar" nodeMinTransX="0.075" nodeMaxTransX="-0.075"/>
                    </wheel>
                    <wheel filename="shared/wheels/michelin/cargoXBib/560_60R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.5" repr="wheelBackRightRepr" driveNode="wheelBackRight" forcePointRatio="0.33" initialCompression="10" suspTravel="0.10" spring="80" damper="50"/>
                        <steeringAxle scale="-0.75" rotMax="6.5" rotMin="-6.5"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" brand="MICHELIN" price="400" saveId="MICHELIN_BROAD">
                <wheels>
                    <wheel filename="shared/wheels/michelin/cargoXBib/710_45R22_5.xml" isLeft="true">
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.4" repr="wheelFrontLeft" forcePointRatio="0.5" initialCompression="15" suspTravel="0.10" spring="80" damper="50"/>
                    </wheel>
                    <wheel filename="shared/wheels/michelin/cargoXBib/710_45R22_5.xml" isLeft="false">
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.4" repr="wheelFrontRight" forcePointRatio="0.5" initialCompression="15" suspTravel="0.10" spring="80" damper="50"/>
                    </wheel>
                    <wheel filename="shared/wheels/michelin/cargoXBib/710_45R22_5.xml" isLeft="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.4" repr="wheelMiddleLeft" forcePointRatio="0.5" initialCompression="15" suspTravel="0.10" spring="80" damper="50"/>
                        <wheelChock parkingNode="wheelChock01"/>
                        <wheelChock parkingNode="wheelChock02" isInverted="true"/>
                    </wheel>
                    <wheel filename="shared/wheels/michelin/cargoXBib/710_45R22_5.xml" isLeft="false">
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.4" repr="wheelMiddleRight" forcePointRatio="0.5" initialCompression="15" suspTravel="0.10" spring="80" damper="50"/>
                    </wheel>
                    <wheel filename="shared/wheels/michelin/cargoXBib/710_45R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.5" repr="wheelBackLeftRepr" driveNode="wheelBackLeft" forcePointRatio="0.5" initialCompression="10" suspTravel="0.10" spring="80" damper="50"/>
                        <steeringAxle scale="-0.75" rotMax="7.5" rotMin="-7.5"/>
                        <steering node="steeringBar" nodeMinTransX="0.075" nodeMaxTransX="-0.075"/>
                    </wheel>
                    <wheel filename="shared/wheels/michelin/cargoXBib/710_45R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.5" repr="wheelBackRightRepr" driveNode="wheelBackRight" forcePointRatio="0.5" initialCompression="10" suspTravel="0.10" spring="80" damper="50"/>
                        <steeringAxle scale="-0.75" rotMax="7.5" rotMin="-7.5"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" brand="BKT" price="400" saveId="BKT_DEFAULT">
                <wheels baseConfig="MICHELIN_DEFAULT">
                    <wheel filename="shared/wheels/bkt/560_60R22_5.xml"/>
                    <wheel filename="shared/wheels/bkt/560_60R22_5.xml"/>
                    <wheel filename="shared/wheels/bkt/560_60R22_5.xml">
                        <wheelChock parkingNode="wheelChock01"/>
                        <wheelChock parkingNode="wheelChock02" isInverted="true"/>
                    </wheel>
                    <wheel filename="shared/wheels/bkt/560_60R22_5.xml"/>
                    <wheel filename="shared/wheels/bkt/560_60R22_5.xml"/>
                    <wheel filename="shared/wheels/bkt/560_60R22_5.xml"/>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueDefault" brand="CONTINENTAL" price="100" saveId="CONTINENTAL_DEFAULT">
                <wheels>
                    <wheel filename="shared/wheels/continental/445_65R22_5.xml" isLeft="true">
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.4" repr="wheelFrontLeft" forcePointRatio="0.5" initialCompression="15" suspTravel="0.10" spring="80" damper="50"/>
                    </wheel>
                    <wheel filename="shared/wheels/continental/445_65R22_5.xml" isLeft="false">
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.4" repr="wheelFrontRight" forcePointRatio="0.5" initialCompression="15" suspTravel="0.10" spring="80" damper="50"/>
                    </wheel>
                    <wheel filename="shared/wheels/continental/445_65R22_5.xml" isLeft="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.4" repr="wheelMiddleLeft" forcePointRatio="0.5" initialCompression="15" suspTravel="0.10" spring="80" damper="50"/>
                        <wheelChock parkingNode="wheelChock01"/>
                        <wheelChock parkingNode="wheelChock02" isInverted="true"/>
                    </wheel>
                    <wheel filename="shared/wheels/continental/445_65R22_5.xml" isLeft="false">
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.4" repr="wheelMiddleRight" forcePointRatio="0.5" initialCompression="15" suspTravel="0.10" spring="80" damper="50"/>
                    </wheel>
                    <wheel filename="shared/wheels/continental/445_65R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="1" restLoad="1.5" repr="wheelBackLeftRepr" driveNode="wheelBackLeft" forcePointRatio="0.5" initialCompression="10" suspTravel="0.10" spring="80" damper="50"/>
                        <steeringAxle scale="-0.75" rotMax="15" rotMin="-15"/>
                        <steering node="steeringBar" nodeMinTransX="0.075" nodeMaxTransX="-0.075"/>
                    </wheel>
                    <wheel filename="shared/wheels/continental/445_65R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics tipOcclusionAreaGroupId="2" restLoad="1.5" repr="wheelBackRightRepr" driveNode="wheelBackRight" forcePointRatio="0.5" initialCompression="10" suspTravel="0.10" spring="80" damper="50"/>
                        <steeringAxle scale="-0.75" rotMax="15" rotMin="-15"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueDefault" brand="AEOLUS" price="200" saveId="LIZARD_DEFAULT">
                <wheels baseConfig="MICHELIN_DEFAULT">
                    <wheel filename="shared/wheels/aeo/560_60R22_5.xml"/>
                    <wheel filename="shared/wheels/aeo/560_60R22_5.xml"/>
                    <wheel filename="shared/wheels/aeo/560_60R22_5.xml">
                        <wheelChock parkingNode="wheelChock01"/>
                        <wheelChock parkingNode="wheelChock02" isInverted="true"/>
                    </wheel>
                    <wheel filename="shared/wheels/aeo/560_60R22_5.xml"/>
                    <wheel filename="shared/wheels/aeo/560_60R22_5.xml">
                        <steeringAxle scale="-0.75" rotMax="11.33" rotMin="-11.33"/>
                    </wheel>
                    <wheel filename="shared/wheels/aeo/560_60R22_5.xml">
                        <steeringAxle scale="-0.75" rotMax="11.33" rotMin="-11.33"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueWheelBroad" brand="AEOLUS" price="400" saveId="LIZARD_BROAD">
                <wheels baseConfig="MICHELIN_BROAD">
                    <wheel filename="shared/wheels/aeo/600_50R22_5.xml"/>
                    <wheel filename="shared/wheels/aeo/600_50R22_5.xml"/>
                    <wheel filename="shared/wheels/aeo/600_50R22_5.xml">
                        <wheelChock parkingNode="wheelChock01"/>
                        <wheelChock parkingNode="wheelChock02" isInverted="true"/>
                    </wheel>
                    <wheel filename="shared/wheels/aeo/600_50R22_5.xml"/>
                    <wheel filename="shared/wheels/aeo/600_50R22_5.xml">
                        <steeringAxle scale="-0.75" rotMax="10" rotMin="-10"/>
                    </wheel>
                    <wheel filename="shared/wheels/aeo/600_50R22_5.xml">
                        <steeringAxle scale="-0.75" rotMax="10" rotMin="-10"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <rimColor>SHARED_GREY3</rimColor>
        <hubs>
            <hub linkNode="wheelFrontLeft" filename="shared/wheels/bpw/bpw_hub.xml" isLeft="true"/>
            <hub linkNode="wheelFrontRight" filename="shared/wheels/bpw/bpw_hub.xml" isLeft="false"/>
            <hub linkNode="wheelMiddleLeft" filename="shared/wheels/bpw/bpw_hub.xml" isLeft="true"/>
            <hub linkNode="wheelMiddleRight" filename="shared/wheels/bpw/bpw_hub.xml" isLeft="false"/>
            <hub linkNode="wheelBackLeft" filename="shared/wheels/bpw/bpw_hub.xml" isLeft="true"/>
            <hub linkNode="wheelBackRight" filename="shared/wheels/bpw/bpw_hub.xml" isLeft="false"/>
        </hubs>
    </wheels>

    <rimColorConfigurations useDefaultColors="false">
        <rimColorConfiguration name="$l10n_ui_colorSilver" color="SHARED_WHITE1" material="18" price="0"/>
        <rimColorConfiguration name="$l10n_ui_colorChrome" color="SHARED_WHITE2" material="3" price="0"/>
        <rimColorConfiguration name="$l10n_ui_colorWhite" color="SHARED_WHITE2" material="0" price="0"/>
        <rimColorConfiguration name="$l10n_ui_colorBlack" color="SHARED_DA_METAL_BLACK" material="0" price="0"/>
    </rimColorConfigurations>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="0" linkNode="wheelChockSupport01" filename="$data/shared/assets/wheelChocks/wheelChockSupport01.i3d"/>
        <dynamicallyLoadedPart node="0" linkNode="wheelChockSupport02" filename="$data/shared/assets/wheelChocks/wheelChockSupport01.i3d"/>
    </dynamicallyLoadedParts>

    <powerTakeOffs>
        <input inputAttacherJointIndices="1" inputNode="ptoInputNode" detachNode="ptoDetachNode" aboveAttacher="true" filename="$data/shared/assets/powerTakeOffs/walterscheidW.xml"/>
    </powerTakeOffs>

    <lights>
        <sharedLight linkNode="backLightLeft" filename="$data/shared/assets/lights/lizard/rearLight32_left.xml"/>
        <sharedLight linkNode="backLightRight" filename="$data/shared/assets/lights/lizard/rearLight32_right.xml"/>
        <sharedLight linkNode="backLightLeftUp" filename="$data/shared/assets/lights/lizard/rearLight10_left.xml"/>
        <sharedLight linkNode="backLightRightUp" filename="$data/shared/assets/lights/lizard/rearLight10_right.xml"/>
        <sharedLight linkNode="workingLightFrontLeft" filename="shared/assets/lights/workingLight14.xml">
            <rotationNode name="rotationNode1" rotation="35 0 0"/>
        </sharedLight>
        <sharedLight linkNode="workingLightFrontRight" filename="shared/assets/lights/workingLight14.xml">
            <rotationNode name="rotationNode1" rotation="35 0 0"/>
        </sharedLight>
        <sharedLight linkNode="workingLightBackLeft" filename="shared/assets/lights/workingLight14.xml">
            <rotationNode name="rotationNode1" rotation="35 0 0"/>
        </sharedLight>
        <sharedLight linkNode="workingLightBackRight" filename="shared/assets/lights/workingLight14.xml">
            <rotationNode name="rotationNode1" rotation="35 0 0"/>
        </sharedLight>
        <sharedLight linkNode="sideMarkerLeft" filename="$data/shared/assets/lights/lizard/sideMarker01_left.xml"/>
        <sharedLight linkNode="sideMarkerRight" filename="$data/shared/assets/lights/lizard/sideMarker01_right.xml"/>
        <sharedLight linkNode="numberPlateLightLeft" filename="$data/shared/assets/lights/lizard/plateNumberLight03.xml"/>
        <sharedLight linkNode="numberPlateLightRight" filename="$data/shared/assets/lights/lizard/plateNumberLight03.xml"/>
        <sharedLight linkNode="reflectorFrontLeft" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
        <sharedLight linkNode="reflectorFrontRight" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
        <sharedLight linkNode="reflectorBackLeft" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
        <sharedLight linkNode="reflectorBackRight" filename="$data/shared/assets/reflectors/lizard/yellowRectangle_01.xml"/>
        <defaultLights>
            <defaultLight shaderNode="schoemaIlluminated" lightTypes="0"/>
        </defaultLights>
        <realLights>
            <high>
                <light node="backLightsHigh" lightTypes="0"/>
                <light node="numberPlateLight" lightTypes="0"/>
                <light node="workLightBackHigh" lightTypes="1"/>
                <light node="workLightLeft" lightTypes="1"/>
                <light node="workLightRight" lightTypes="1"/>
                <brakeLight node="backLightsHigh"/>
                <turnLightLeft node="turnLightLeft"/>
                <turnLightRight node="turnLightRight"/>
                <reverseLight node="reverseLightsHigh"/>
            </high>
        </realLights>
    </lights>

    <animations>
        <animation name="rotateSupport">
            <part node="supportArm" startTime="0" endTime="0.4" startRot="39 0 0" endRot="-4 0 0"/>
            <part node="supportFoot" startTime="0" endTime="0.32" startRot="-35 0 0" endRot="4 0 0"/>
            <sound template="defaultHydraulicSound" startTime="0.01" endTime="0.29" volumeScale="1.0" pitchScale="0.9"/>
            <sound template="metalLowVar2" startTime="0.37" direction="1" volumeScale="1.5" pitchScale="1" linkNode="supportArm"/>
            <sound template="metalLowVar2" startTime="0.05" direction="-1" volumeScale="1.6" pitchScale="1.5" linkNode="supportArm"/>
        </animation>
        <animation name="rotateRearConnector">
            <part node="rearConnectorRot" startTime="0.25" endTime="4" startRot="0 0 0" endRot="0 188 0"/>
            <part node="rearConnectorLock" startTime="0" endTime="0.12" startRot="0 58.73 0" endRot="35 58.73 0"/>
            <part node="rearConnectorLock" startTime="0.3" endTime="0.9" startRot="35 58.73 0" endRot="-2 58.73 0"/>
            <part node="rearConnectorLock" startTime="3" endTime="3.4" startRot="-2 58.73 0" endRot="42 58.73 0"/>
            <part node="rearConnectorLock" startTime="3.6" endTime="4" startRot="42 58.73 0" endRot="20 58.73 0"/>
        </animation>
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="fillArmRotZ" playSound="true">
                <controls axis="AXIS_CRANE_ARM" invertAxis="true" mouseSpeedFactor="0.4" iconName="CRANE_ARM1_ROTATE_Y"/>
                <rotation rotSpeed="20" rotAcceleration="250" rotMax="130" rotMin="-130" rotationAxis="2" rotSendNumBits="11"/>
                <dependentMovingTool node="fillArmRotX">
                    <rotationBasedLimits>
                        <limit rotation="-130" rotMax="15" rotMin="-25"/>
                        <limit rotation="-40" rotMax="15" rotMin="-25"/>
                        <limit rotation="-20" rotMax="10" rotMin="-25"/>
                        <limit rotation="-1.75" rotMax="-1" rotMin="-25"/>
                        <limit rotation="-1.15" rotMax="-0.75" rotMin="-25"/>
                        <limit rotation="-0.5" rotMax="0.75" rotMin="-25"/>
                        <limit rotation="0.5" rotMax="0.75" rotMin="-25"/>
                        <limit rotation="1.15" rotMax="-0.75" rotMin="-25"/>
                        <limit rotation="1.75" rotMax="-1" rotMin="-25"/>
                        <limit rotation="20" rotMax="10" rotMin="-25"/>
                        <limit rotation="40" rotMax="15" rotMin="-25"/>
                        <limit rotation="130" rotMax="15" rotMin="-25"/>
                    </rotationBasedLimits>
                </dependentMovingTool>
            </movingTool>
            <movingTool node="fillArmRotX" playSound="true">
                <controls axis="AXIS_CRANE_ARM2" invertAxis="false" mouseSpeedFactor="0.4" iconName="CRANE_ARM1_ROTATE_X"/>
                <rotation rotSpeed="15" rotAcceleration="50" rotMax="35" rotMin="-15" rotationAxis="1" rotSendNumBits="11" syncMinRotLimits="true" syncMaxRotLimits="true"/>
                <dependentPart node="fillArmCylinder"/>
            </movingTool>
            <movingTool node="fillArmSideRot" playSound="true">
                <controls axis="AXIS_CRANE_TOOL2" invertAxis="false" mouseSpeedFactor="0.4" iconName="CRANE_ARM2_ROTATE_X"/>
                <rotation rotSpeed="35" rotAcceleration="250" rotMin="0" rotMax="135" rotationAxis="2" rotSendNumBits="11" syncMinRotLimits="true" syncMaxRotLimits="true"/>
            </movingTool>
            <movingTool node="rearConnectorRot" playSound="true">
                <controls axis="AXIS_CRANE_TOOL" invertAxis="true" mouseSpeedFactor="0.5" iconName="CRANE_ARM1_ROTATE_Y"/>
                <animation animSpeed="0.5" animAcceleration="200" animName="rotateRearConnector"/>
            </movingTool>
            <movingTool node="supportArm" playSound="true">
                <dependentPart node="supportCylinder"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="supportCylinder" referencePoint="supportCylinderRef" referenceFrame="supportCylinderRef">
                <translatingPart node="supportCylinderPunch"/>
            </movingPart>
            <movingPart node="fillArmCylinder" referencePoint="fillArmCylinderRef" referenceFrame="fillArmCylinderRef">
                <translatingPart node="fillArmCylinderPunch"/>
            </movingPart>
            <movingPart node="nonRotating" referencePoint="nonRotatingRef" referenceFrame="nonRotatingRefFrame" limitedAxis="2" isActiveDirty="true" maxUpdateDistance="200"/>
            <movingPart node="steeringBarLeft" referencePoint="steeringBarLeftRef" referenceFrame="steeringBarLeftRef" isActiveDirty="true" maxUpdateDistance="50"/>
            <movingPart node="steeringBarRight" referencePoint="steeringBarRightRef" referenceFrame="steeringBarRightRef" isActiveDirty="true" maxUpdateDistance="50"/>
        </movingParts>
        <sounds>
            <actionSound template="hydraulicLayerTone" pitchScale="0.6" volumeScale="0.9" linkNode="fillArmRotZ" actionNames="TOOL_MOVE_POS TOOL_MOVE_NEG" nodes="fillArmRotZ" fadeIn="0.1" fadeOut="0.1"/>
            <actionSound template="clackVar6" pitchScale="0.75" volumeScale="0.6" linkNode="fillArmRotZ" actionNames="TOOL_MOVE_END_POS_LIMIT TOOL_MOVE_END_NEG_LIMIT" nodes="fillArmRotZ"/>
            <actionSound template="cylinderPunch" pitchScale="0.75" volumeScale="0.6" linkNode="fillArmRotZ" actionNames="TOOL_MOVE_END_POS_LIMIT TOOL_MOVE_END_NEG_LIMIT" nodes="fillArmRotZ"/>
            <actionSound template="hydraulicLayerTone" pitchScale="0.55" volumeScale="0.7" linkNode="fillArmRotX" actionNames="TOOL_MOVE_POS" nodes="fillArmRotX" fadeIn="0.1" fadeOut="0.1"/>
            <actionSound template="hydraulicLayerTone" pitchScale="0.5" volumeScale="1" linkNode="fillArmRotX" actionNames="TOOL_MOVE_NEG" nodes="fillArmRotX" fadeIn="0.1" fadeOut="0.1"/>
            <actionSound template="clackVar6" pitchScale="0.75" volumeScale="0.6" linkNode="fillArmRotX" actionNames="TOOL_MOVE_END_POS_LIMIT TOOL_MOVE_END_NEG_LIMIT" nodes="fillArmRotX"/>
            <actionSound template="cylinderPunch" pitchScale="0.75" volumeScale="0.6" linkNode="fillArmRotX" actionNames="TOOL_MOVE_END_POS_LIMIT TOOL_MOVE_END_NEG_LIMIT" nodes="fillArmRotX"/>
            <actionSound template="hydraulicLayerTone" pitchScale="0.55" volumeScale="0.7" linkNode="fillArmSideRot" actionNames="TOOL_MOVE_POS" nodes="fillArmSideRot" fadeIn="0.1" fadeOut="0.1"/>
            <actionSound template="hydraulicLayerTone" pitchScale="0.5" volumeScale="1" linkNode="fillArmSideRot" actionNames="TOOL_MOVE_NEG" nodes="fillArmSideRot" fadeIn="0.1" fadeOut="0.1"/>
            <actionSound template="clackVar6" pitchScale="0.75" volumeScale="0.4" linkNode="fillArmSideRot" actionNames="TOOL_MOVE_END_POS_LIMIT TOOL_MOVE_END_NEG_LIMIT" nodes="fillArmSideRot"/>
            <actionSound template="cylinderPunch" pitchScale="0.75" volumeScale="0.6" linkNode="fillArmSideRot" actionNames="TOOL_MOVE_END_POS_LIMIT TOOL_MOVE_END_NEG_LIMIT" nodes="fillArmSideRot"/>
            <actionSound template="clackVar6" pitchScale="0.75" volumeScale="0.4" linkNode="rearConnectorRot" actionNames="TOOL_MOVE_END_POS_LIMIT TOOL_MOVE_END_NEG_LIMIT" nodes="rearConnectorRot"/>
            <actionSound template="metalLowVar2" pitchScale="0.75" volumeScale="0.9" linkNode="rearConnectorRot" actionNames="TOOL_MOVE_END_POS_LIMIT TOOL_MOVE_END_NEG_LIMIT" nodes="rearConnectorRot"/>
        </sounds>
    </cylindered>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="SLURRYTANK" capacity="26000" allowAILoading="true" aiLoadingNode="aiLoadingNode">
                        <exactFillRootNode node="exactFillRootNode"/>
                        <measurementNodes>
                            <measurementNode node="slurryMeasurement"/>
                        </measurementNodes>
                    </fillUnit>
                    <fillTrigger consumePtoPower="true"/>
                </fillUnits>
            </fillUnitConfiguration>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit shopDisplayUnit="CUBICMETER" fillTypeCategories="SLURRYTANK" capacity="30000" allowAILoading="true">
                        <exactFillRootNode node="exactFillRootNode"/>

                        <measurementNodes>
                             <measurementNode node="slurryMeasurement"/>
                        </measurementNodes>
                    </fillUnit>
                    <fillTrigger consumePtoPower="true"/>
                </fillUnits>
            </fillUnitConfiguration>
                <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit shopDisplayUnit="CUBICMETER" fillTypeCategories="SLURRYTANK" capacity="20500" allowAILoading="true">
                        <exactFillRootNode node="exactFillRootNode"/>

                        <measurementNodes>
                            <measurementNode node="slurryMeasurement"/>
                        </measurementNodes>
                    </fillUnit>
                    <fillTrigger consumePtoPower="true"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
        <sounds>
            <fill template="SLURRY_01" linkNode="pumpLinkNode"/>
        </sounds>
    </fillUnit>

    <fillTriggerVehicle triggerNode="fillTrigger" fillUnitIndex="1" litersPerSecond="1500"/>

    <dischargeable>
        <dischargeNode node="dischargeNode" emptySpeed="2500" fillUnitIndex="1" unloadInfoIndex="3" allowAIDischarge="true">
            <info width="1.0" length="0.5" zOffset="0.4"/>
            <trigger node="dischargeTrigger"/>
            <dischargeSound template="SLURRY_01"/>
        </dischargeNode>
    </dischargeable>

     <manureSystem hasConnectors="true" hasPumpMotor="true" hasFillArm="true"/> 

    <manureSystemFillArm node="0>4|3|0|0|1" needsDockingCollision="true">
        <collision position="0.417 0 0" rotation="0 0 0"/>
    </manureSystemFillArm>

    <!--manureSystemFillArm createNode="false" linkNode="0>4|3|0|0|4" position="0.81199998 0 1.38171518" rotation="0 -90 0" /-->

    <manureSystemPumpMotor isStandalone="false" litersPerSecond="350" toReachMaxEfficiencyTime="1000">
        <sounds>
            <pump template="SLURRY_02">
                <pitch indoor="0.85" outdoor="0.75"/>
            </pump>
        </sounds>
    </manureSystemPumpMotor>

     <manureSystemConnectors>
            <connector type="DOCK" stationaryConnectorId="1" inRangeDistance="0.15">
            <sharedSet node="0>8|12" id="4" placeholderNode="0>8|13">
                <connector type="funnel_10inch" color="SHARED_BLACK1">
                  <pipe>true</pipe>
                  <flangeRound>false</flangeRound>
                  <flangeQuad>true</flangeQuad>
                </connector>
            </sharedSet>
            <trigger position="0 0.4 0" roation="0 0 0" linkNode="0>8|12"/>
        </connector>
        <connector type="DOCK" stationaryConnectorId="1" inRangeDistance="0.15">
            <sharedSet node="0>8|14" id="4" placeholderNode="0>8|15">
                <connector type="funnel_8inch" color="SHARED_BLACK1">
                  <pipe>true</pipe>
                  <flangeRound>false</flangeRound>
                  <flangeQuad>true</flangeQuad>
                </connector>
            </sharedSet>
            <trigger position="0 0.4 0" roation="0 0 0" linkNode="0>8|14"/>
        </connector>

         <connector type="COUPLING">
            <sharedSet createNode="true" linkNode="0>8|16" placeholderNode="0>8|17" id="1">
                <connector type="CONNECTOR_1"/>
                <valve type="8INCH_BRASS"/>
                <handle type="handle_new"/>
            </sharedSet>
        </connector>
        <connector type="COUPLING">
            <sharedSet createNode="true" linkNode="0>8|18" placeholderNode="0>8|19" id="1">
                <connector type="CONNECTOR_1"/>
                <valve type="8INCH_BRASS"/>
                <handle type="handle_new"/>
            </sharedSet>
        </connector>
        <connector type="COUPLING">
            <sharedSet createNode="true" linkNode="0>4|1|0|3" placeholderNode="0>4|1|0|4" id="1">
                <connector type="CONNECTOR_1"/>
                <valve type="8INCH_BRASS"/>
                <handle type="handle_new"/>
            </sharedSet>
        </connector>

         <connector type="COUPLING" node="0>8|23" isParkPlace="true" direction="left" inRangeDistance="3">
      <parkPlaces>
        <parkPlace length="3" startTransOffset="0 0 0" startRotOffset="3 0 0" endTransOffset="0 0 0" endRotOffset="0 0 0"/>
        <parkPlace length="5" startTransOffset="0 0 0" startRotOffset="3 0 0" endTransOffset="0 0 0" endRotOffset="0 0 0"/>
      </parkPlaces>
    </connector>
    <connector type="COUPLING" node="0>8|22" isParkPlace="true" direction="right" inRangeDistance="3">
      <parkPlaces>
        <parkPlace length="3" startTransOffset="0 0 0" startRotOffset="3 0 0" endTransOffset="0 0 0" endRotOffset="0 0 0"/>
        <parkPlace length="5" startTransOffset="0 0 0" startRotOffset="3 0 0" endTransOffset="0 0 0" endRotOffset="0 0 0"/>
      </parkPlaces>
    </connector>
    <connector type="COUPLING" node="0>8|20" isParkPlace="true" direction="left" inRangeDistance="3">
      <parkPlaces>
        <parkPlace length="3" startTansOffset="0 -0.02 0" endTransOffset="0 0 0" startRotOffset="-3 0 0" endRotOffset="0 0 0"/>
        <parkPlace length="5" startTansOffset="0 -0.02 0" endTransOffset="0 0 0" startRotOffset="-3 0 0" endRotOffset="0 0 0"/>
      </parkPlaces>
    </connector>
    <connector type="COUPLING" node="0>8|21" isParkPlace="true" direction="left" inRangeDistance="3">
      <parkPlaces>
        <parkPlace length="3" startTansOffset="0 -0.02 0" endTransOffset="0 0 0" startRotOffset="-3 0 0" endRotOffset="0 0 0"/>
        <parkPlace length="5" startTansOffset="0 -0.02 0" endTransOffset="0 0 0" startRotOffset="-3 0 0" endRotOffset="0 0 0"/>
      </parkPlaces>
    </connector>

    </manureSystemConnectors>

    <designConfigurations title="$l10n_configuration_fillArms">
        <designConfiguration name="$l10n_configuration_withOut" price="0">
            <objectChange node="fillArmTop" visibilityActive="false"/>
            <objectChange node="skinnedHosesFillArmTop" visibilityActive="false"/>
            <objectChange node="skinnedMeshFillArmTop" visibilityActive="false"/>
            <objectChange node="fillArmSide" visibilityActive="false"/>
            <objectChange node="skinnedHosesFillArmSide" visibilityActive="false"/>
            <objectChange node="fillArmTopCollision01" compoundChildActive="false"/>
            <objectChange node="fillArmTopCollision02" compoundChildActive="false"/>
            <objectChange node="colFillArmSide01" compoundChildActive="false"/>
            <objectChange node="colFillArmSide02" compoundChildActive="false"/>
            <objectChange node="colFillArmSide03" compoundChildActive="false"/>
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_fillArmTop" price="0">
            <objectChange node="fillArmTop" visibilityActive="true"/>
            <objectChange node="skinnedHosesFillArmTop" visibilityActive="true"/>
            <objectChange node="skinnedMeshFillArmTop" visibilityActive="true"/>
            <objectChange node="fillArmSide" visibilityActive="false"/>
            <objectChange node="skinnedHosesFillArmSide" visibilityActive="false"/>
            <objectChange node="fillArmTopCollision01" compoundChildActive="true"/>
            <objectChange node="fillArmTopCollision02" compoundChildActive="true"/>
            <objectChange node="colFillArmSide01" compoundChildActive="false"/>
            <objectChange node="colFillArmSide02" compoundChildActive="false"/>
            <objectChange node="colFillArmSide03" compoundChildActive="false"/>
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_fillArmSide" price="0">
            <objectChange node="fillArmTop" visibilityActive="false"/>
            <objectChange node="skinnedHosesFillArmTop" visibilityActive="false"/>
            <objectChange node="skinnedMeshFillArmTop" visibilityActive="false"/>
            <objectChange node="fillArmSide" visibilityActive="true"/>
            <objectChange node="skinnedHosesFillArmSide" visibilityActive="true"/>
            <objectChange node="fillArmTopCollision01" compoundChildActive="false"/>
            <objectChange node="fillArmTopCollision02" compoundChildActive="false"/>
            <objectChange node="colFillArmSide01" compoundChildActive="true"/>
            <objectChange node="colFillArmSide02" compoundChildActive="true"/>
            <objectChange node="colFillArmSide03" compoundChildActive="true"/>
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_fillArmBoth" price="0">
            <objectChange node="fillArmTop" visibilityActive="true"/>
            <objectChange node="skinnedHosesFillArmTop" visibilityActive="true"/>
            <objectChange node="skinnedMeshFillArmTop" visibilityActive="true"/>
            <objectChange node="fillArmSide" visibilityActive="true"/>
            <objectChange node="skinnedHosesFillArmSide" visibilityActive="true"/>
            <objectChange node="fillArmTopCollision01" compoundChildActive="true"/>
            <objectChange node="fillArmTopCollision02" compoundChildActive="true"/>
            <objectChange node="colFillArmSide01" compoundChildActive="true"/>
            <objectChange node="colFillArmSide02" compoundChildActive="true"/>
            <objectChange node="colFillArmSide03" compoundChildActive="true"/>
        </designConfiguration>
    </designConfigurations>

    <design2Configurations title="$l10n_configuration_fenders">
        <design2Configuration name="$l10n_configuration_valueDefault" price="850">
            <objectChange node="fendersDefaultMedium" visibilityActive="true" visibilityInactive="false"/>
                <objectChange node="fendersDefaultMediumUS" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="fendersDefaultWarningSigns" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="hoseParking02" visibilityActive="true" visibilityInactive="false"/>
        </design2Configuration>
        <design2Configuration name="$l10n_configuration_valueDefaultNarrow" price="850">
            <objectChange node="fendersDefaultNarrow" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="fendersDefaultNarrowUS" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="fendersDefaultWarningSigns" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="hoseParking02" visibilityActive="true" visibilityInactive="false"/>
        </design2Configuration>
        <design2Configuration name="$l10n_configuration_valueDefaultWide" price="850">
            <objectChange node="fendersDefaultWide" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="fendersDefaultWideUS" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="fendersDefaultWarningSigns" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="hoseParking02" visibilityActive="true" visibilityInactive="false"/>
        </design2Configuration>
        <design2Configuration name="$l10n_configuration_road" price="0">
            <objectChange node="fendersRoadMedium" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="fendersRoadMediumUS" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="hoseParking01" visibilityActive="true" visibilityInactive="false"/>
        </design2Configuration>
        <design2Configuration name="$l10n_configuration_roadNarrow" price="0">
            <objectChange node="fendersRoadNarrow" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="fendersRoadNarrowUS" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="hoseParking01" visibilityActive="true" visibilityInactive="false"/>
        </design2Configuration>
        <design2Configuration name="$l10n_configuration_roadWide" price="0">
            <objectChange node="fendersRoadWide" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="fendersRoadWideUS" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="hoseParking01" visibilityActive="true" visibilityInactive="false"/>
        </design2Configuration>
        <design2Configuration name="$l10n_configuration_agri" price="1250">
            <objectChange node="fendersHeavyDutyMedium" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="fendersHeavyDutyMediumUS" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="hoseParking01" visibilityActive="true" visibilityInactive="false"/>
        </design2Configuration>
        <design2Configuration name="$l10n_configuration_agriNarrow" price="1250">
            <objectChange node="fendersHeavyDutyNarrow" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="fendersHeavyDutyNarrowUS" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="hoseParking01" visibilityActive="true" visibilityInactive="false"/>
        </design2Configuration>
        <design2Configuration name="$l10n_configuration_agriWide" price="1250">
            <objectChange node="fendersHeavyDutyWide" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="fendersHeavyDutyWideUS" visibilityActive="true" visibilityInactive="false"/>
            <objectChange node="hoseParking01" visibilityActive="true" visibilityInactive="false"/>
        </design2Configuration>
    </design2Configurations>

    <design3Configurations title="$l10n_configuration_reflectors">
        <design3Configuration name="$l10n_configuration_valueNo" price="0"/>
        <design3Configuration name="$l10n_configuration_reflectors" price="125">
            <objectChange node="reflectors" visibilityActive="true" visibilityInactive="false"/>
        </design3Configuration>
    </design3Configurations>

    <licensePlates>
        <licensePlate node="licensePlate" position="BACK" preferedType="ELONGATED" placementArea="0.06 0.26 0.06 0.26"/>
    </licensePlates>

    <ai>
        <allowTurnBackward value="false"/>
        <turningRadiusLimitation radius="8"/>
        <agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2" width="2.9" height="3.8" length="4.5" lengthOffset="1.5"/>
        <agentAttachment jointNode="componentJoint" rotCenterWheelIndices="3 4 5 6" width="2.9" height="3.8" length="9.5" lengthOffset="2.15"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-1.25" maxX="1.25" minZ="-4.7" maxZ="1.2" yOffset="0.6"/>
    </foliageBending>

    <design4Configurations title="$l10n_configuration_decals">
        <design4Configuration name="$l10n_configuration_decalsNew" price="200">
            <objectChange node="decalsNew" visibilityActive="true" visibilityInactive="false"/>
        </design4Configuration>
        <design4Configuration name="$l10n_configuration_decalsOld" price="0">
            <objectChange node="decalsOld" visibilityActive="true" visibilityInactive="false"/>
        </design4Configuration>
    </design4Configurations>

    <design5Configurations>
        <design5Configuration price="0" name="$l10n_ui_colorBlack">
            <material name="schoema_tanker_mat" shaderParameter="colorMat3" color="SCHOEMA_BLACK"/>
            <material name="schoema_decals_mat" shaderParameter="colorMat0" color="SHARED_WHITE1"/>
            <material name="schoema_decals_mat" shaderParameter="colorMat1" color="SCHOEMA_GREEN2"/>
        </design5Configuration>
        <design5Configuration price="1500" name="$l10n_ui_colorGreen">
            <material name="schoema_tanker_mat" shaderParameter="colorMat3" color="SCHOEMA_GREEN1"/>
            <material name="schoema_decals_mat" shaderParameter="colorMat0" color="SCHOEMA_BLACK"/>
            <material name="schoema_decals_mat" shaderParameter="colorMat1" color="SCHOEMA_BLACK"/>
        </design5Configuration>
    </design5Configurations>

    <baseMaterial>
        <material name="schoema_tanker_mat" baseNode="schoemaTAH_vis">
            <shaderParameter name="colorMat3" value="SCHOEMA_BLACK" material="0"/>
            <shaderParameter name="colorMat4" value="SCHOEMA_BLACK" material="0"/>
        </material>
        <material name="schoema_decals_mat" baseNode="decalsNew">
            <shaderParameter name="colorMat0" value="SHARED_WHITE1"/>
            <shaderParameter name="colorMat1" value="SCHOEMA_GREEN2"/>
        </material>
    </baseMaterial>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="1" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="schoemaTAH_main_component1" node="0>" />
        <i3dMapping id="schoemaTAH_vis" node="0>0" />
        <i3dMapping id="skinnedMeshFillArmTop" node="0>2|1" />
        <i3dMapping id="skinnedHosesFillArmSide" node="0>2|2" />
        <i3dMapping id="skinnedHosesFillArmTop" node="0>2|3" />
        <i3dMapping id="wheelMiddleLeft" node="0>3|0" />
        <i3dMapping id="wheelMiddleRight" node="0>3|1" />
        <i3dMapping id="steeringBar" node="0>3|2" />
        <i3dMapping id="steeringBarLeftRef" node="0>3|2|0" />
        <i3dMapping id="steeringBarRightRef" node="0>3|2|1" />
        <i3dMapping id="wheelBackLeftRepr" node="0>3|3" />
        <i3dMapping id="wheelBackLeft" node="0>3|3|0" />
        <i3dMapping id="steeringBarLeft" node="0>3|3|1" />
        <i3dMapping id="wheelBackRightRepr" node="0>3|4" />
        <i3dMapping id="wheelBackRight" node="0>3|4|0" />
        <i3dMapping id="steeringBarRight" node="0>3|4|1" />
        <i3dMapping id="componentJoint" node="0>4|0" />
        <i3dMapping id="rearConnectorRot" node="0>4|1|0" />
        <i3dMapping id="rearConnectorLock" node="0>4|1|1" />
        <i3dMapping id="fillArmTop" node="0>4|2" />
        <i3dMapping id="fillArmRotZ" node="0>4|2|0|0" />
        <i3dMapping id="fillArmRotX" node="0>4|2|0|0|0" />
        <i3dMapping id="fillArmCylinderRef" node="0>4|2|0|0|0|0" />
        <i3dMapping id="fillArmTopCollision02" node="0>4|2|0|0|0|3" />
        <i3dMapping id="fillArmCylinder" node="0>4|2|0|0|1" />
        <i3dMapping id="fillArmCylinderPunch" node="0>4|2|0|0|1|0" />
        <i3dMapping id="fillArmTopCollision01" node="0>4|2|0|0|3" />
        <i3dMapping id="fillArmSide" node="0>4|3" />
        <i3dMapping id="fillArmSideRot" node="0>4|3|0|0" />
        <i3dMapping id="colFillArmSide01" node="0>4|3|0|0|3" />
        <i3dMapping id="colFillArmSide02" node="0>4|3|0|0|4" />
        <i3dMapping id="colFillArmSide03" node="0>4|3|3" />
        <i3dMapping id="nonRotatingRefFrame" node="0>4|4" />
        <i3dMapping id="nonRotating" node="0>4|4|0" />
        <i3dMapping id="backLightLeft" node="0>5|0|0" />
        <i3dMapping id="backLightRight" node="0>5|0|1" />
        <i3dMapping id="numberPlateLightLeft" node="0>5|0|2" />
        <i3dMapping id="numberPlateLightRight" node="0>5|0|3" />
        <i3dMapping id="sideMarkerRight" node="0>5|0|4" />
        <i3dMapping id="sideMarkerLeft" node="0>5|0|5" />
        <i3dMapping id="workingLightBackLeft" node="0>5|0|6" />
        <i3dMapping id="workingLightBackRight" node="0>5|0|7" />
        <i3dMapping id="workingLightFrontLeft" node="0>5|0|8" />
        <i3dMapping id="workingLightFrontRight" node="0>5|0|9" />
        <i3dMapping id="backLightLeftUp" node="0>5|0|10" />
        <i3dMapping id="backLightRightUp" node="0>5|0|11" />
        <i3dMapping id="reflectorBackLeft" node="0>5|0|12" />
        <i3dMapping id="reflectorBackRight" node="0>5|0|13" />
        <i3dMapping id="reflectorFrontLeft" node="0>5|0|14" />
        <i3dMapping id="reflectorFrontRight" node="0>5|0|15" />
        <i3dMapping id="schoemaIlluminated" node="0>5|1|0" />
        <i3dMapping id="backLightsHigh" node="0>5|2|0" />
        <i3dMapping id="reverseLightsHigh" node="0>5|2|1" />
        <i3dMapping id="turnLightLeft" node="0>5|2|2" />
        <i3dMapping id="turnLightRight" node="0>5|2|3" />
        <i3dMapping id="workLightBackHigh" node="0>5|2|4" />
        <i3dMapping id="numberPlateLight" node="0>5|2|5" />
        <i3dMapping id="workLightLeft" node="0>5|2|6" />
        <i3dMapping id="workLightRight" node="0>5|2|7" />
        <i3dMapping id="dischargeNode" node="0>6|0" />
        <i3dMapping id="dischargeTrigger" node="0>6|2" />
        <i3dMapping id="fillTrigger" node="0>6|3" />
        <i3dMapping id="exactFillRootNode" node="0>6|4" />
        <i3dMapping id="slurryMeasurement" node="0>6|5" />
        <i3dMapping id="aiLoadingNode" node="0>7|0" />
        <i3dMapping id="reflectors" node="0>8|2" />
        <i3dMapping id="decalsNew" node="0>8|3|0" />
        <i3dMapping id="decalsOld" node="0>8|3|1" />
        <i3dMapping id="licensePlate" node="0>8|4" />
        <i3dMapping id="hoseParking01" node="0>8|5|0" />
        <i3dMapping id="hoseParking02" node="0>8|5|1" />
        <i3dMapping id="pumpLinkNode" node="0>8|9" />
        <i3dMapping id="fendersDefaultMedium" node="0>8|10|0" />
        <i3dMapping id="fendersDefaultNarrow" node="0>8|10|1" />
        <i3dMapping id="fendersDefaultWarningSigns" node="0>8|10|2" />
        <i3dMapping id="fendersDefaultWide" node="0>8|10|3" />
        <i3dMapping id="fendersHeavyDutyMedium" node="0>8|10|4" />
        <i3dMapping id="fendersHeavyDutyNarrow" node="0>8|10|5" />
        <i3dMapping id="fendersHeavyDutyWide" node="0>8|10|6" />
        <i3dMapping id="fendersRoadMedium" node="0>8|10|7" />
        <i3dMapping id="fendersRoadNarrow" node="0>8|10|8" />
        <i3dMapping id="fendersRoadWide" node="0>8|10|9" />
        <i3dMapping id="schoemaTAH_dolly_component2" node="1>" />
        <i3dMapping id="schoemaUS_vis" node="1>0" />
        <i3dMapping id="attacherJoint" node="1>0|0|0" />
        <i3dMapping id="airDoubleRed" node="1>0|0|1|0|0" />
        <i3dMapping id="airDoubleYellow" node="1>0|0|1|0|1" />
        <i3dMapping id="hydraulicIn01" node="1>0|0|1|0|2" />
        <i3dMapping id="hydraulicOut01" node="1>0|0|1|0|3" />
        <i3dMapping id="electric" node="1>0|0|1|0|4" />
        <i3dMapping id="airRedDetached" node="1>0|0|1|1|0" />
        <i3dMapping id="airYellowDetached" node="1>0|0|1|1|1" />
        <i3dMapping id="hydraulicIn01Detached" node="1>0|0|1|1|2" />
        <i3dMapping id="hydraulicOut01Detached" node="1>0|0|1|1|3" />
        <i3dMapping id="electricDetached" node="1>0|0|1|1|4" />
        <i3dMapping id="ptoInputNode" node="1>0|0|2" />
        <i3dMapping id="ptoDetachNode" node="1>0|0|3" />
        <i3dMapping id="fendersDefaultNarrowUS" node="1>0|1|0" />
        <i3dMapping id="fendersDefaultWideUS" node="1>0|1|1" />
        <i3dMapping id="fendersHeavyDutyMediumUS" node="1>0|1|2" />
        <i3dMapping id="fendersHeavyDutyNarrowUS" node="1>0|1|3" />
        <i3dMapping id="fendersHeavyDutyWideUS" node="1>0|1|4" />
        <i3dMapping id="fendersRoadMediumUS" node="1>0|1|5" />
        <i3dMapping id="fendersRoadNarrowUS" node="1>0|1|6" />
        <i3dMapping id="fendersRoadWideUS" node="1>0|1|7" />
        <i3dMapping id="fendersDefaultMediumUS" node="1>0|1|8" />
        <i3dMapping id="wheelFrontLeft" node="1>0|2|0" />
        <i3dMapping id="wheelFrontRight" node="1>0|2|1" />
        <i3dMapping id="supportArm" node="1>0|3|0|0" />
        <i3dMapping id="supportFoot" node="1>0|3|0|0|0" />
        <i3dMapping id="supportCylinderRef" node="1>0|3|0|0|1" />
        <i3dMapping id="supportCylinder" node="1>0|3|0|1" />
        <i3dMapping id="supportCylinderPunch" node="1>0|3|0|1|1" />
        <i3dMapping id="nonRotatingRef" node="1>0|3|1" />
        <i3dMapping id="wheelChock01" node="1>0|4|1" />
        <i3dMapping id="wheelChock02" node="1>0|4|2" />
        <i3dMapping id="wheelChockSupport01" node="1>0|4|3" />
        <i3dMapping id="wheelChockSupport02" node="1>0|4|4" />
    </i3dMappings>
</vehicle>
stijnwop commented 11 months ago

Your fillarm is missing the type definition By default it's just a fillarm that does not support docking..

Add:

    <manureSystemFillArm type="DOCK" node="0>4|3|0|0|1" needsDockingCollision="true">
mrdeez2 commented 11 months ago

Thank you its working

AgrarKadabra commented 11 months ago

Thanks alot @stijnwop, I was also missing the type definition on the fillArm. When trying to fill up via the fillArm, I was getting the error "The pump fill type is not supported!"

I know you are already working on updating the documentation, but as a small hint, setting the fillArms type is missing in the docs :) https://github.com/stijnwop/manureSystem/blob/master/docs/VEHICLES.md#adding-fillarm-node

Interestingly, now my fillArm works, but a normal hose connection doesn't. I can connect the hose, but when trying to pump, nothing happens. XML for hose connection is:

<manureSystemConnectors>
        <connector type="COUPLING" node="ms_connectorNode"/>
</manureSystemConnectors>

And: Thanks for your fantastic work and for bringing MS to FS22 :)

stijnwop commented 11 months ago

You have the pump setup too in your xml?

AgrarKadabra commented 11 months ago

Yes, here is the full ms config:

    <manureSystem hasConnectors="true" hasPumpMotor="true" hasFillArm="true" hasFillArmReceiver="true" />

    <manureSystemPumpMotor isStandalone="true" litersPerSecond="246" toReachMaxEfficiencyTime="1000">
    </manureSystemPumpMotor>

    <manureSystemFillArm type="DOCK" createNode="true" linkNode="exactFillRootNode" position="0 0.2 0" rotation="-90 0 0" fillYOffset="-0.5" needsDockingCollision="false" />

    <manureSystemFillArmReceiver fillVolumeIndex="1"/>

    <manureSystemConnectors>
        <connector type="COUPLING" node="ms_connectorNode"/>
    </manureSystemConnectors>

And fillUnit config looks like:

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit shopDisplayUnit="CUBICMETER" fillTypeCategories="slurryTank" capacity="21000" >
                        <exactFillRootNode node="exactFillRootNode" />
                    </fillUnit>
                    <fillTrigger consumePtoPower="true" litersPerSecond="1050"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

Again, I get the "The pump fill type is not supported!" warning, so I did some quick lua debugging of ManureSystemPumpMotor:getTurnOnPumpNotAllowedWarning() and saw, that the target and source fillUnits might not be set correctly (Although both sides are connected via hose). Any idea why this would be the case? Debug-Log output:

DEBUG::[isPumpingIn] targetFillUnitIndex = nil
DEBUG::[isPumpingIn] targetFillType = nil
DEBUG::[isPumpingIn] sourceFillUnitIndex = 1
DEBUG::[isPumpingIn] sourceFillType = nil
DEBUG::[isPumpingIn] sourceObject:getFillUnitAllowsFillType = false
    --    switched pump direction    --
DEBUG::[isPumpingOut] sourceFillUnitIndex = 1
DEBUG::[isPumpingOut] sourceFillType = 76
DEBUG::[isPumpingOut] targetFillUnitIndex = nil
DEBUG::[isPumpingOut] targetFillType = nil
DEBUG::[isPumpingOut] targetObject:getFillUnitAllowsFillType = false

Note: Both, slurryTank (Kotte TSA) and ManureBarrel (Zunhammer tv585 (holmer manureBarrel module)) are half filled with liquid manure

JoPi1998 commented 11 months ago

The pump motor shouldn't be set up as a standalone, if you have fill units you want to pump from/to.

AgrarKadabra commented 11 months ago

Thanks JoPi, I fixed the pump config an removed isStandalone. This did not fix my issue directly, but when testing around I remembered I added a folding function to the barrel, to setup the fillArm (like with the saddletrack fillArm).

Long story short: Pumping only works, if the object is unfolded (obviously). So the warning text was misleading to me, but who thinks of unfolding a manureBarrel :D