stijnwop / manualAttach

Manual Attach modification for Farming Simulator 2022
GNU General Public License v3.0
108 stars 29 forks source link

customHose type #168

Open VenoushCZ opened 1 year ago

VenoushCZ commented 1 year ago

Hi! Is there a way how to make MA work when there are customHose present?

for e.g.:

<connectionHoses>
    <customHose node="cnhMultiCoupler" type="cnhMultiCoupler" attacherJointIndices="1"/>
    <customHose node="electricConnector" type="cnhElectricConnector" attacherJointIndices="1"/>
    <target attacherJointIndices="2" type="electric" node="electricBack" socket="electric"/>
    <localHose>
        <hose type="hydraulicIn" node="localHose01Start" length="0.8" diameter="0.012" straighteningFactor="2" isWorldSpaceHose="false" isTwoPointHose="true" adapterType="NONE"/>
        <target type="hydraulicIn" node="localHose01End"/>
    </localHose>
    <localHose>
        <hose type="hydraulicIn" node="localHose02Start" length="0.8" diameter="0.012" straighteningFactor="2" isWorldSpaceHose="false" isTwoPointHose="true" adapterType="NONE"/>
        <target type="hydraulicIn" node="localHose02End"/>
    </localHose>
    <localHose>
        <hose type="hydraulicIn" node="localHose03Start" length="0.8" diameter="0.012" straighteningFactor="2" isWorldSpaceHose="false" isTwoPointHose="true" adapterType="NONE"/>
        <target type="hydraulicIn" node="localHose03End"/>
    </localHose>
    <localHose>
        <hose type="hydraulicIn" node="localHose04Start" length="0.8" diameter="0.024" straighteningFactor="2" isWorldSpaceHose="false" isTwoPointHose="true" adapterType="NONE"/>
        <target type="hydraulicIn" node="localHose04End"/>
    </localHose>
</connectionHoses>

The cutter works fine but the MA ignores the existing hoses. If I turn of MA then hoses connect visually OK.