TobiasF92 / FS22_interactiveControl

Interactive Control for Farming Simulator 22
36 stars 10 forks source link

Folding Baler #64

Open RadonKeso opened 4 months ago

RadonKeso commented 4 months ago

trying to add folding function to a baler but i can't get it to work:

<foldable>
        <foldingConfigurations>
            <foldingConfiguration>
                <foldingParts startMoveDirection="1">  <!--  turnOnFoldMinLimit="0.0" turnOnFoldMaxLimit="0.02" -->
                    <foldingPart animationName="folding" speedScale="1"/>
                </foldingParts>
            </foldingConfiguration>
        </foldingConfigurations>
    </foldable>

<animation name="folding">
            <part node="optionalBaleChute1" startTime="0" endTime="4"   startRot="-5.57 0 0"   endRot="84 0 0"/>
            <part node="optionalBaleChute2" startTime="0" endTime="4"   startRot="-5.57 0 0"   endRot="84 0 0"/>
            <part node="jointMain"          startTime="0" endTime="4"   startRot="-84.556 0 0" endRot="-55 0 0"/>
            <part node="jointChassis"       startTime="0" endTime="4"   startRot="-90 0 0"     endRot="-138 0 0"/>
</animation>

<interactiveControl negText="$l10n_actionIC_foldBackDoor" posText="$l10n_actionIC_unfoldBackDoor" >
<clickPoint node="triggerRearChute1" size="0.05" type="OUTDOOR" alignToCamera="false" iconType="ATTACHERJOINT_LOWER"/>

<function name="FOLDING_TOGGLE"/>
</interactiveControl>