Community Forum

John Deere 959M

Forum Overview >> Scripting

CategoryScripting
Created21.04.2024 00:42


Ry Walters (Gubie94) 21.04.2024 00:42
Greetings All, I new to all of this and trying to figure out how to change the controls of this vehicle basically i want to flip the controls of the cutter head rotation with the tilt forward/backward of the cutter head (towards and away from the machine) i have tried a few times and cant seem to figure it out , thanks


</movingTool>
<!-- Crane arm -->
<movingTool node="cabinRotYDummy" delayedNode="cabinRotY" playSound="true" isConsumingPower="true">
<controls axis="AXIS_CRANE_ARM" groupIndex="1" invertAxis="true" mouseSpeedFactor="0.5" iconName="CRANE_ARM1_ROTATE_X" />
<rotation rotSpeed="40" rotAcceleration="70" rotationAxis="2" />
<componentJoint index="1"/>
<componentJoint index="7"/>
</movingTool>
<movingTool node="mainArmDummy" delayedNode="mainArm" playSound="true" isConsumingPower="true">
<controls axis="AXIS_CRANE_ARM2" groupIndex="1" invertAxis="true" mouseSpeedFactor="0.5" iconName="CRANE_ARM1_ROTATE_X" />
<rotation rotSpeed="30" rotAcceleration="70" rotMax="0" rotMin="-70" startRot="-32" rotationAxis="1" rotSendNumBits="9" />
<componentJoint index="1"/>
</movingTool>
<movingTool node="secondArmDummy" delayedNode="secondArm" playSound="true" isConsumingPower="true">
<controls axis="AXIS_CRANE_ARM3" groupIndex="1" invertAxis="true" mouseSpeedFactor="0.5" iconName="CRANE_ARM2_ROTATE_X" />
<rotation rotSpeed="40" rotAcceleration="80" rotMax="123" rotMin="70" startRot="86.132" rotationAxis="1" rotSendNumBits="10"/>
<componentJoint index="1"/>
</movingTool>
<movingTool node="armRotLinkDummy" delayedNode="armRotLink" playSound="true" isConsumingPower="true">
<controls axis="AXIS_CRANE_TOOL2" groupIndex="1" invertAxis="false" mouseSpeedFactor="0.5" iconName="GRABBER_ROTATE_Y" />
<rotation rotSpeed="40" rotAcceleration="80" rotMax="50" rotMin="-90" startRot="-56" rotationAxis="1"/>
<componentJoint index="1"/>
</movingTool>

<!-- delayed meshes -->
<movingTool node="cabinRotX">
<dependentPart node="hydraulicLevelLeftHyd" />
<dependentPart node="hydraulicLevelRightHyd" />
</movingTool>
<movingTool node="cabinRotZ">
<dependentPart node="hydraulicLevelLeftHyd" />
<dependentPart node="hydraulicLevelRightHyd" />
</movingTool>
<movingTool node="mainArm">
<dependentPart node="hydMainArm" />
</movingTool>
<movingTool node="secondArm">
<dependentPart node="hydSecondArm" />
</movingTool>
<movingTool node="armRotLink">
<dependentPart node="armMover" />
</movingTool>
<movingTool node="cabinRotXRefFrame">
<componentJoint index="1"/>
</movingTool>

<!-- cutter x rotation -->
<movingTool node="cutterBaseColJoint" playSound="true" isConsumingPower="true">
<controls axis="AXIS_CRANE_ARM4" groupIndex="1" invertAxis="true" mouseSpeedFactor="1.0" iconName="GRABBER_ROTATE_Y" />
<rotation rotSpeed="80" rotAcceleration="160" rotationAxis="3" />
<componentJoint index="1" anchorActor="0"/>
</movingTool>

<!-- Claws -->
<movingTool node="clawTopLeftJoint" playSound="true" isConsumingPower="true">
<controls axis="AXIS_CRANE_TOOL" groupIndex="1" invertAxis="true" mouseSpeedFactor="1" iconName="GRABBER_OPEN_CLOSE"/>
<rotation rotSpeed="-160" rotAcceleration="800" rotMax="0" rotMin="-58" rotationAxis="2" startRot="0"/>
<componentJoint index="2" anchorActor="0"/>
<dependentMovingTool node="clawTopRightJoint" speedScale="1" />
<dependentMovingTool node="clawBottomLeftJoint" speedScale="1" />
<dependentMovingTool node="clawBottomRightJoint" speedScale="1" />
</movingTool>
<movingTool node="clawTopRightJoint" playSound="true">
<rotation rotSpeed="160" rotAcceleration="800" rotMax="58" rotMin="0" rotationAxis="2" startRot="0"/>
<componentJoint index="3" anchorActor="0"/>
</movingTool>
<movingTool node="clawBottomLeftJoint" playSound="true">
<rotation rotSpeed="-160" rotAcceleration="800" rotMax="0" rotMin="-70" rotationAxis="2" startRot="0"/>
<componentJoint index="4" anchorActor="0"/>
</movingTool>
<movingTool node="clawBottomRightJoint" playSound="true">
<rotation rotSpeed="160" rotAcceleration="800" rotMax="70" rotMin="0" rotationAxis="2" startRot="0"/>
<componentJoint index="5" anchorActor="0"/>
</movingTool>
</movingTools>
<movingParts>
<movingPart node="hydraulicLevelLeftHyd" referencePoint="hydraulicLevelLeftHydRef" referenceFrame="hydraulicLevelLeftHydRef">
<translatingPart node="hydraulicLevelLeftHydPunch" />
</movingPart>
<movingPart node="hydraulicLevelRightHyd" referencePoint="hydraulicLevelRightHydRef" referenceFrame="hydraulicLevelRightHydRef">
<translatingPart node="hydraulicLevelRightHydPunch" />
</movingPart>
<!-- Hydraulic Arm -->
<movingPart node="hydMainArm" referencePoint="hydMainArmRef" referenceFrame="hydMainArmRef">
<translatingPart node="hydMainArmPunch" />
</movingPart>
<movingPart node="hydSecondArm" referencePoint="hydSecondArmRef" referenceFrame="hydSecondArmRef">
<translatingPart node="hydSecondArmPunch" />
</movingPart>
<movingPart node="armMover" localReferencePoint="armMoverPart" referencePoint="armMoverRef" referenceFrame="armMoverRefFrame">
<dependentPart node="armMoverPart" />
<dependentPart node="tiltHyd" />
</movingPart>
<movingPart node="armMoverPart" referencePoint="armMoverRef" referenceFrame="armMoverRef"/>
<movingPart node="tiltHyd" referencePoint="armMoverPart" referenceFrame="armMoverPart">
<translatingPart node="tiltHydPunch" />
</movingPart>
<!-- Buncher Head -->
<movingPart node="buncherHead" referencePoint="buncherHeadRef" referenceFrame="buncherHeadRef" isActiveDirty="true" limitedAxis="2" maxUpdateDistance="-"/>
<movingPart node="clawBottomLeft" referencePoint="clawBottomLeftRef" referenceFrame="clawBottomLeftRef" isActiveDirty="true" limitedAxis="2" maxUpdateDistance="125"/>
<movingPart node="clawBottomRight" referencePoint="clawBottomRightRef" referenceFrame="clawBottomRightRef" isActiveDirty="true" limitedAxis="2" maxUpdateDistance="125"/>
<movingPart node="clawTopLeft" referencePoint="clawTopLeftRef" referenceFrame="clawTopLeftRef" isActiveDirty="true" limitedAxis="2" maxUpdateDistance="125"/>
<movingPart node="clawTopRight" referencePoint="clawTopRightRef" referenceFrame="clawTopRightRef" isActiveDirty="true" limitedAxis="2" maxUpdateDistance="125"/>
<!-- Buncher Head hydraulics -->
<movingPart node="hydraulicTopClaws" referencePoint="hydraulicTopClawsRef" referenceFrame="hydraulicTopClawsRef" isActiveDirty="true" maxUpdateDistance="125">
<translatingPart node="hydraulicTopClawsPunch" />
</movingPart>
<movingPart node="hydraulicBottomClaws" referencePoint="hydraulicBottomClawsRef" referenceFrame="hydraulicBottomClawsRef" isActiveDirty="true" maxUpdateDistance="125">
<translatingPart node="hydraulicBottomClawsPunch" />
</movingPart>
<movingPart node="staggBottomClaws" referencePoint="staggBottomClawsRef" referenceFrame="staggBottomClawsRef" scaleZ="true" isActiveDirty="true" maxUpdateDistance="125"/>
<movingPart node="staggTopClaws" referencePoint="staggTopClawsRef" referenceFrame="staggTopClawsRef" scaleZ="true" isActiveDirty="true" maxUpdateDistance="125"/>
</movingParts>


Note: Log in to post. Create a new account here.