<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="attachableFrontloader">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
			<en>T229</en>
		</name>
        <specs>
            <neededPower>60</neededPower>
            <combination filterCategory="frontLoaderTools" />
        </specs>
        <functions>
            <function>$l10n_function_frontloader</function>
        </functions>
        <image>store_T229.dds</image>
        <price>6800</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>METALFACH</brand>
        <category>frontLoaders</category>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_frontloader</typeDesc>
        <filename>T229.i3d</filename>
        <size width="2.5" length="5"/>
        <components>
            <component centerOfMass="0 0.15 0.425" solverIterationCount="16" mass="550" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="FRONTLOADER" />
    </base>
	
    <dynamicallyLoadedParts>	
        <dynamicallyLoadedPart node="1|1" linkNode="0>0|2|0|10|0"  filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>

    <attacherJoints>
        <attacherJoint jointType="frontloader" node="0>0|0|0|0|0" nodeVisual="0>0|2|1|0|0" allowsJointLimitMovement="false" allowsLowering="false" rotLimitSpring="7500 7500 7500" rotLimitDamping="1 1 1" transLimitSpring="7500 7500 7500" transLimitDamping="1 1 1" >
            <schema position="1 0" rotation="0" invertX="false"/>
            <objectChange node="0>0|2|1|0|2|0" rotationActive="0 0 0" rotationInactive="0 0 -143.667"/>
            <objectChange node="0>0|2|1|0|2|0|1|0" rotationActive="0 0 0" rotationInactive="0 0 -35.057"/>
            <objectChange node="0>0|2|1|0|2|0|2|0" rotationActive="0 0 0" rotationInactive="0 0 -28.49"/>
        </attacherJoint>
    </attacherJoints>
	
	<connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>0|2|0|12"  length="0.4" diameter="0.02" straighteningFactor="0.1" dampingFactor="1">
			<objectChange node="0>0|2|0|11" visibilityActive="false" visibilityInactive="true"/>
		</hose>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>0|2|0|13"  length="0.4" diameter="0.02" straighteningFactor="0.1" dampingFactor="1"/>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>0|2|0|14"  length="0.4" diameter="0.02" straighteningFactor="0.1" dampingFactor="1"/>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="0>0|2|0|15"  length="0.4" diameter="0.02" straighteningFactor="0.1" dampingFactor="1"/>
		
		<hose inputAttacherJointIndices="1" type="electric"  node="0>0|2|0|16"  length="1.2" diameter="0.01" straighteningFactor="1" dampingFactor="0.4">
			<objectChange node="0>0|2|0|10|1" visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="0>0|2|0|10|0" visibilityActive="false" visibilityInactive="true"/>
		</hose>
		<target attacherJointIndices="1" type="hydraulicIn" node="0>0|2|8|0">
            <objectChange node="0>0|2|8|2" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|2|8|3" visibilityActive="true" visibilityInactive="false"/>
		</target>
        <target attacherJointIndices="1" type="hydraulicOut" node="0>0|2|8|1">
            <objectChange node="0>0|2|8|2" visibilityActive="false" visibilityInactive="true"/>
            <objectChange node="0>0|2|8|3" visibilityActive="true" visibilityInactive="false"/>
		</target>
    </connectionHoses>

	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0|6" hardAttach="true" jointType="attachableFrontloaderT229">
                <objectChange node="0>0|2|0|0"   visibilityActive="true"  visibilityInactive="false"/>
                <objectChange node="0>0|2|0|1"     visibilityActive="true"  visibilityInactive="false"/>	
			</inputAttacherJoint>
        </inputAttacherJoints>
        <support animationName="moveSupport"/>
    </attachable>

    <animations>
        <animation name="moveSupport">
            <part node="0>0|2|3|0" startTime="0" endTime="0.5" startRot="0 0 0" endRot="-88 0 0"/>
            <part node="0>0|2|3|1" startTime="0" endTime="0.5" startRot="0 0 0" endRot="-113.237 0 0"/>	
        </animation>	
    </animations>

    <cylindered>
        <movingTools>
            <movingTool node="0>0|0" delayedNode="0>0|2">
				<controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseSpeedFactor="1.2" iconName="FRONTLOADER_ARM_ROTATE" />
				<attacherJoint jointIndices="1"/>
                <rotation rotSpeed="20" rotAcceleration="155" rotMax="0" rotMin="-85" startRot="0" detachingRotMinLimit="-15" />
				<dependentPart node="0>0|0|0"/>
                <dependentMovingTool node="0>0|0|0|0" minRotLimits="10 -15" maxRotLimits="150 80" />
            </movingTool>
            <movingTool node="0>0|0|0|0" delayedNode="0>0|2|1|0">
				<controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseSpeedFactor="0.6" iconName="FRONTLOADER_ARM_ROTATE_TOOL" />
				<attacherJoint jointIndices="1"/>
				<rotation rotSpeed="50" rotAcceleration="300" rotMax="150" rotMin="-50" startRot="0" syncMaxRotLimits="true"/>
            </movingTool>
            <movingTool node="0>0|2">
                <dependentPart node="0>0|2|2"/>
                <dependentPart node="0>0|2|4"/>
                <dependentPart node="0>0|2|1"/>
            </movingTool>
			<movingTool node="0>0|2|1|0">
                <dependentPart node="0>0|2|5"/>
            </movingTool>
        </movingTools>
		
        <movingParts>
            <movingPart node="0>0|2|4" localReferencePoint="0>0|2|4|0" referencePoint="0>0|5" referenceFrame="0>0|2|6" maxUpdateDistance="100">
                <dependentPart node="0>0|2|4|0" />
                <dependentPart node="0>0|2|4|1" />
            </movingPart>
            <movingPart node="0>0|2|4|0" referencePoint="0>0|5" referenceFrame="0>0|2" maxUpdateDistance="100"/>
            <movingPart node="0>0|2|4|1" referencePoint="0>0|2|5|2" referenceFrame="0>0|2|5|2" playSound="true" maxUpdateDistance="100">
                <translatingPart node="0>0|2|4|1|0"/>
            </movingPart>
            <movingPart node="0>0|2|2" referencePoint="0>0|3" referenceFrame="0>0|3" playSound="true" maxUpdateDistance="100">
                <translatingPart node="0>0|2|2|0"/>
            </movingPart>
            <movingPart node="0>0|2|5" localReferencePoint="0>0|2|5|0" referencePoint="0>0|2|1|0|1" referenceFrame="0>0|2|7" maxUpdateDistance="100">
                <dependentPart node="0>0|2|5|0" />
                <dependentPart node="0>0|2|4|1" />
            </movingPart>
            <movingPart node="0>0|2|5|0" referencePoint="0>0|2|1|0|1" referenceFrame="0>0|2|1|0|1" maxUpdateDistance="100"/>
            <movingPart node="0>0|0|0" referenceFrame="0>" maxUpdateDistance="100">
                <attacherJoint jointIndices="1" />
            </movingPart>
            <movingPart node="0>0|2|1" referenceFrame="0>" maxUpdateDistance="100">
                <attacherJoint jointIndices="1" />
                <dependentPart node="0>0|2|5" />
                <dependentPart node="0>0|2|2" />
                <dependentPart node="0>0|2|4" />
            </movingPart>
			
			<movingPart node="0>0|2|4|1|0|0" referencePoint="0>0|2|4|1|6" referenceFrame="0>0|2|4|1|6" maxUpdateDistance="100"/>
        </movingParts>
	
      <sounds>
            <actionSound template="hydraulicOpen06"   pitchScale="1.5" volumeScale="1.2" linkNode="0>0|2|2"   actionNames="TRANSLATING_POS TRANSLATING_NEG" nodes="0>0|2|2" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicOpen02"    pitchScale="0.7" volumeScale="1.2" linkNode="0>0|2|2"   actionNames="TRANSLATING_POS" nodes="0>0|2|2" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicClose03"   pitchScale="2.5" volumeScale="0.4" linkNode="0>0|2|4|1" actionNames="TRANSLATING_POS TRANSLATING_NEG" nodes="0>0|2|4|1" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="hydraulicClose01" pitchScale="1.1" volumeScale="0.8" linkNode="0>0|2|4|1" actionNames="TRANSLATING_POS TRANSLATING_NEG" nodes="0>0|2|4|1" fadeIn="0.1" fadeOut="0.05"/>
            <actionSound template="metalLowVar2"  pitchScale="1.0" volumeScale="3"   linkNode="0>0|0"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="0>0|0"/>
            <actionSound template="cylinderPunch" pitchScale="1.5" volumeScale="0.4" linkNode="0>0|0"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="0>0|0"/>
            <actionSound template="metalClose"    pitchScale="2.5" volumeScale="0.2" linkNode="0>0|0"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="0>0|0"/>
            <actionSound template="clackVar6"     pitchScale="1.0" volumeScale="1.0" linkNode="0>0|0"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="0>0|0"/>

            <actionSound template="metalLowVar2"  pitchScale="1.3" volumeScale="2.0"   linkNode="0>0|0" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="0>0|0"/>
            <actionSound template="cylinderPunch" pitchScale="1.8" volumeScale="0.2" linkNode="0>0|0"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="0>0|0"/>
            <actionSound template="metalClose"    pitchScale="2.8" volumeScale="0.1" linkNode="0>0|0"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="0>0|0"/>
            <actionSound template="clackVar6"     pitchScale="1.8" volumeScale="0.5" linkNode="0>0|0"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="0>0|0"/>
			
            <actionSound template="metalLowVar2"  pitchScale="1.0" volumeScale="2"   linkNode="0>0|0|0|0"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="0>0|0|0|0"/>
            <actionSound template="cylinderPunch" pitchScale="1.5" volumeScale="0.4" linkNode="0>0|0|0|0"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="0>0|0|0|0"/>
            <actionSound template="metalClose"    pitchScale="2.5" volumeScale="0.2" linkNode="0>0|0|0|0"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="0>0|0|0|0"/>
            <actionSound template="clackVar6"     pitchScale="1.0" volumeScale="0.7" linkNode="0>0|0|0|0"   actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="0>0|0|0|0"/>

            <actionSound template="metalLowVar2"  pitchScale="1.3" volumeScale="1.0"   linkNode="0>0|0|0|0" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="0>0|0|0|0"/>
            <actionSound template="cylinderPunch" pitchScale="1.8" volumeScale="0.2" linkNode="0>0|0|0|0"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="0>0|0|0|0"/>
            <actionSound template="metalClose"    pitchScale="2.8" volumeScale="0.1" linkNode="0>0|0|0|0"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="0>0|0|0|0"/>
            <actionSound template="clackVar6"     pitchScale="1.8" volumeScale="0.4" linkNode="0>0|0|0|0"   actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="0>0|0|0|0"/>
        </sounds>
    </cylindered>
	
	<designConfigurations title="$l10n_configuration_konfig">
		<designConfiguration name="$l10n_configuration_valueYes" price="0">
			<objectChange node="0>0|1|0"  visibilityActive="true" visibilityInactive="false"/>

		</designConfiguration>
		<designConfiguration name="$l10n_configuration_valueNo" price="0">
			<objectChange node="0>0|1|0"  visibilityActive="false" visibilityInactive="true"/>
		</designConfiguration>
    </designConfigurations>
	
	<ai>
        <agentAttachment width="1.3" height="2" length="2.5" lengthOffset="1"/>
    </ai>
	
	<baseColorConfigurations title="T229" useDefaultColors="true" price="70">
        <baseColorConfiguration materialTemplateName="MASSEYFERGUSON_RED" isDefault="true" price="0"/>
        <material materialSlotName="MainMat"/>
    </baseColorConfigurations> 
	<designColorConfigurations title="T229_2" useDefaultColors="true" price="0">
        <material materialSlotName="MainMat1" materialTemplateUseColorOnly="true"/>
        <designColorConfiguration name="main" price="100" materialTemplateName="KUHN_BLACK3"/>
    </designColorConfigurations>	


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

</vehicle>
