<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="attachableFrontloader">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>faucheux</name>
		<specs>
            <combination>>90HP</combination>
        </specs>
        <functions>
            <function>$l10n_function_frontloader</function>
        </functions>
        <image>store_StollSuper1.dds</image>
        <price>3000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation> 
        <brand>STOLL</brand>
        <category>frontLoaders</category>
        <vertexBufferMemoryUsage>736772</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>136956</indexBufferMemoryUsage>
        <textureMemoryUsage>6291856</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
	
	<base>
        <typeDesc>$l10n_typeDesc_frontloader</typeDesc>
        <filename>StollSuper1/stollSuper1.i3d</filename>
        <size width="3" length="3" />
        <components>
            <component centerOfMass="0 0 1" solverIterationCount="10" mass="350" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>
	
	<attacherJoints>
        <attacherJoint jointType="frontloader" node="0>3|0|0|0|0" nodeVisual="0>1|2|0|1|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" />
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" linkNode="0>" />
        </sounds>
    </attacherJoints>
	
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0|0" hardAttach="true" jointType="attachableFrontloader" />
        </inputAttacherJoints>
        <support animationName="moveSupport" />
    </attachable>

    <animations>
        <animation name="moveSupport">
			<part node="0>1|7" startTime="0" endTime="0.1" startRot="-130 0 0" endRot="-73 0 0" />
			<part node="0>1|7" startTime="0" endTime="0.07" startTrans="0 -0.677 1.194" endTrans="0 -0.45 1.429" />
			<part node="0>1|7" startTime="0.07" endTime="0.1" startTrans="0 -0.45 1.429" endTrans="0 -0.737 1.341" />
            <part node="0>1|3"   startTime="0" endTime="0.1" startRot="0 0 0" endRot="58 0 0" />
            <part node="0>1|3|0|0|0" startTime="0.05" endTime="0.1" startTrans="0 0 0"  endTrans="0 -0.26 0" />
            <part node="0>1|3|0|1|0" startTime="0.05" endTime="0.1" startTrans="0 0 0"  endTrans="0 -0.26 0" />
			
			<part node="0>1|17|0" startTime="0"    endTime="0.05" visibility="true" />
            <part node="0>1|17|0" startTime="0.05" endTime="0.1"  visibility="false" />
			<part node="0>1|17|1|0" startTime="0"    endTime="0.05" visibility="false" />
            <part node="0>1|17|1|0" startTime="0.05" endTime="0.1"  visibility="true" />
        </animation>
    </animations>
	
	
	<cylindered>
        <movingTools>
            <movingTool node="0>3" delayedNode="0>1">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseSpeedFactor="1.2" iconName="FRONTLOADER_ARM_ROTATE" />
                <attacherJoint jointIndices="1" />
                <rotation rotSpeed="20" rotAcceleration="150" rotMax="4" rotMin="-73" startRot="2" detachingRotMinLimit="-8" />
            </movingTool>
            <movingTool node="0>3|0|0" delayedNode="0>1|2|0">
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseSpeedFactor="0.7" iconName="FRONTLOADER_ARM_ROTATE_TOOL" />
                <attacherJoint jointIndices="1" />
                <rotation rotSpeed="100" rotAcceleration="300" rotMax="108" rotMin="-1" startRot="0" syncMaxRotLimits="true" />
            </movingTool>

            <movingTool node="0>1">
                <dependentPart node="0>1|0" />
                <dependentPart node="0>1|1" />
				<dependentPart node="0>1|2" />
            </movingTool>
			
           <movingTool node="0>1|2|0" delayedNode="0>1|4|0">
                <rotation rotSpeed="100" rotAcceleration="300" rotMax="108" rotMin="-1" startRot="0" syncMaxRotLimits="true" />
                <dependentPart node="0>1|4|0|1"/>
				<dependentPart node="0>1|4|0|3"/>
            </movingTool>
        </movingTools>
		
        <movingParts>
            <movingPart node="0>1|0" referencePoint="0>0|1" referenceFrame="0>1" invertZ="true" playSound="true">
                <translatingPart node="0>1|0|0" />
            </movingPart>
			<movingPart node="0>1|1" referencePoint="0>0|2" referenceFrame="0>1" invertZ="true" playSound="true">
                <translatingPart node="0>1|1|0" />
            </movingPart>
			
			<movingPart node="0>3|0" referenceFrame="0>2">
                <attacherJoint jointIndices="1" />
            </movingPart>
			
            <movingPart node="0>1|4|0|1" referencePoint="0>1|5" referenceFrame="0>1|6" isActiveDirty="true">
                <translatingPart node="0>1|4|0|1|0"/>
            </movingPart>
			
			<movingPart node="0>1|4|0|3" referencePoint="0>1|5" referenceFrame="0>1|6" playSound="true">
                <translatingPart node="0>1|4|0|3|0"/>
            </movingPart>
			
            <movingPart node="0>1|4|0|2" referencePoint="0>1|2|0|0" referenceFrame="0>1|6" isActiveDirty="true" scaleZ="true" />
        </movingParts>
		
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>"/>
        </sounds>
    </cylindered>
	
	<connectionHoses>
        <target attacherJointIndices="1" type="hydraulicIn" node="0>1|16|4" >
			<objectChange node="0>1|16|3" visibilityActive="false" visibilityInactive="true" />
			<objectChange node="0>1|16|2" visibilityActive="true" visibilityInactive="false" />
		</target>
        <target attacherJointIndices="1" type="hydraulicOut" node="0>1|16|5" >
			<objectChange node="0>1|16|0" visibilityActive="false" visibilityInactive="true" />
			<objectChange node="0>1|16|1" visibilityActive="true" visibilityInactive="false" />
		</target>
    </connectionHoses>
	
	<foliageBending>
        <bendingNode minX="-0.55" maxX="0.55" minZ="-0.2" maxZ="2.1" yOffset="-0.2" node="0>1|6" />
    </foliageBending>
	
	<designConfigurations>
        <designConfiguration name="$l10n_configuration_valueDefault" price="0">
        </designConfiguration>
        <designConfiguration name="$l10n_ohneVerschlussstopfen" price="0">
            <objectChange node="0>1|10" visibilityActive="false" />
        </designConfiguration>
		<designConfiguration name="$l10n_ohneSchlauch" price="0">
            <objectChange node="0>1|17" visibilityActive="false" />
        </designConfiguration>
		<designConfiguration name="$l10n_ohneSchlauchVerschlussstopfen" price="0">
            <objectChange node="0>1|17" visibilityActive="false" />
			<objectChange node="0>1|10" visibilityActive="false" />
        </designConfiguration>
    </designConfigurations>
	
	<baseMaterial>
        <material name="stollSuper1" baseNode="0>0">
            <shaderParameter name="colorMat0" value="0.05 0.05 0.05"/>
        </material>
    </baseMaterial>

    <baseMaterialConfigurations price="200" useDefaultColors="true">
        <baseMaterialConfiguration name="$l10n_configuration_valueDefault" color="0.05 0.05 0.05"/>
		<baseMaterialConfiguration name="$l10n_old" color="0.05 0.05 0.05" material="6" price="-200"/>
		<baseMaterialConfiguration name="STOLL" color="STOLL_GREY1" price="200"/>
        <material name="stollSuper1" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>
	
	<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

</vehicle>
