<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="attachableFrontloader" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>2s</name>
        <specs>
			<combination xmlFilename="frontLoader/lycha.xml"/>
			<combination xmlFilename="frontLoader/obciagnik.xml"/>
			<combination xmlFilename="frontLoader/widly1.xml"/>
			<combination xmlFilename="frontLoader/widly2.xml"/>
			<combination xmlFilename="frontLoader/widly3.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_frontloader</function>
        </functions>
        <image>store/store_tur.dds</image>
        <price>2500</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation> 
        <brand>LIZARDFRONTLOADER</brand>
        <category>frontLoaders</category>
    </storeData>
	
	<base>
        <typeDesc>$l10n_typeDesc_frontloader</typeDesc>
        <filename>frontLoader/tur.i3d</filename>
        <size width="2.5" length="3" lengthOffset="1.1"/>
        <components>
            <component centerOfMass="0 0 1.5" solverIterationCount="10" mass="290"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="FRONTLOADER"/>
    </base>

	<attacherJoints>
		<attacherJoint jointType="frontloaderT25" node="0>4|8|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|0"   visibilityActive="true"  visibilityInactive="false"/>
                <objectChange node="0>0|2|2" visibilityActive="true"  visibilityInactive="false"/>
                <objectChange node="0>0|2|3" visibilityActive="true"  visibilityInactive="false"/>
                <objectChange node="0>0|8"   visibilityActive="false" visibilityInactive="true"/>
                <objectChange node="0>0|2|7" visibilityActive="false" visibilityInactive="true"/>
                <objectChange node="0>0|2|8" visibilityActive="false" visibilityInactive="true"/>
                <objectChange node="0>0|7|0" visibilityActive="true"  visibilityInactive="false"/>
		</attacherJoint>
		<sounds>
            <attach template="ATTACH_01" linkNode="0>"/>
        </sounds>
    </attacherJoints>

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

    <animations>
        <animation name="moveSupport">
			<part node="0>0|6|0|0|0"    startTime="0.4"  endTime="0.5"  startTrans="0 .299 0"   endTrans="0 -0.10 0"/>
            <part node="0>0|6|0"        startTime="0.2"  endTime="0.3"  startRot="-51 0 0"      endRot="-8 0 0"/>
			<part node="0>0|6"          startTime="0.1"  endTime="0.11" startVisibility="false" endVisibility="true"/>
			<part node="0>0|6|0|0|0|0"  startTime="0.0"  endTime="0.01" startTrans="0 0 0.11"   endTrans="0 0 0"/>
			<sound template="clackVar5" startTime="0.01" direction="0" volumeScale="0.7" pitchScale="2.8" linkNode="0>0|6"/>
            <sound template="clackVar1" startTime="0.07" direction="0" volumeScale="0.7" pitchScale="2"   linkNode="0>0|6"/>
        </animation>
    </animations>

	<cylindered>
        <movingTools>
            <movingTool node="0>4" delayedNode="0>0" playSound="true" >
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseSpeedFactor="0.8" iconName="FRONTLOADER_ARM_ROTATE"/>
                <attacherJoint jointIndices="1"/>
                <rotation rotSpeed="20" rotAcceleration="150" rotMax="7" rotMin="-60" startRot="0" detachingRotMinLimit="-5"/>
                <dependentPart node="0>1|0"/>
            </movingTool>
            <movingTool node="0>4|8" delayedNode="0>0|7" playSound="true" >
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseSpeedFactor="0.5" iconName="FRONTLOADER_ARM_ROTATE_TOOL"/>
                <attacherJoint jointIndices="1"/>
                <rotation rotSpeed="50" rotAcceleration="300" rotMax="108" rotMin="-8" startRot="0" syncMaxRotLimits="true"/>
                <dependentPart node="0>0|0"/>
            </movingTool>
		    <movingTool node="0>0" >
		    	<dependentPart node="0>1" />
	    	</movingTool>
        </movingTools>
        <movingParts>
			<movingPart node="0>1|0" referencePoint="0>0|4" referenceFrame="0>0|4" isActiveDirty="true" maxUpdateDistance="30" >
                <attacherJoint jointIndices="1" />
                <translatingPart node="0>1|0|0"/>
            </movingPart>
	        <movingPart node="0>0|0" referencePoint="0>0|7|1" referenceFrame="0>0|7|1" isActiveDirty="true" maxUpdateDistance="30" >
                <attacherJoint jointIndices="1" />
                <translatingPart node="0>0|0|0"/>
            </movingPart>
        </movingParts>
        <sounds>
            <actionSound template="metalLowVar2"  pitchScale="1.0" volumeScale="3"   linkNode="0>0" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="0>0"/>
            <actionSound template="cylinderPunch" pitchScale="1.5" volumeScale="0.6" linkNode="0>0" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="0>0"/>
            <actionSound template="metalClose"    pitchScale="2.5" volumeScale="0.6" linkNode="0>0" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="0>0"/>
            <actionSound template="clackVar6"     pitchScale="1.0" volumeScale="1.2" linkNode="0>0" actionNames="TOOL_MOVE_END_POS_LIMIT" nodes="0>0"/>

            <actionSound template="metalLowVar2"  pitchScale="1.3" volumeScale="2.0" linkNode="0>0" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="0>0"/>
            <actionSound template="cylinderPunch" pitchScale="1.8" volumeScale="0.6" linkNode="0>0" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="0>0"/>
            <actionSound template="metalClose"    pitchScale="2.8" volumeScale="0.6" linkNode="0>0" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="0>0"/>
            <actionSound template="clackVar6"     pitchScale="1.8" volumeScale="0.8" linkNode="0>0" actionNames="TOOL_MOVE_END_NEG_LIMIT" nodes="0>0"/>
        </sounds>
    </cylindered>
	
	<foliageBending>
        <bendingNode minX="-0.55" maxX="0.55" minZ="-0.2" maxZ="2.1" yOffset="-0.2" node="0>"/>
    </foliageBending>

    <designConfigurations title="$l10n_configuration_decals" price="100">
        <designConfiguration name="$l10n_configuration_valueYes">
            <objectChange node="0>0|5" visibilityActive="true"/>
        </designConfiguration>
        <designConfiguration name="$l10n_configuration_valueNo">
            <objectChange node="0>0|5" visibilityActive="false"/>
        </designConfiguration>
    </designConfigurations>

	<baseMaterial>
        <material name="tur_mat" baseNode="0>0">
			<shaderParameter name="colorMat1" value="0.05 0.05 0.05"/>
        </material>
    </baseMaterial>

	<designMaterialConfigurations price="200" useDefaultColors="false">  
        <designMaterialConfiguration name="$l10n_red1"  color="0.6 0.06 0.03" material="0"/>
        <designMaterialConfiguration name="$l10n_black1" color="0.04 0.04 0.04" material="0"/>
        <designMaterialConfiguration name="$l10n_black2" color="0.02 0.02 0.02" material="0"/>
        <designMaterialConfiguration name="$l10n_blue1"  color="0.02 0.11 0.22" material="0"/>
        <material name="tur_mat" shaderParameter="colorMat1"/>
	</designMaterialConfigurations>
	
	<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90"  washDuration="1" workMultiplier="3" fieldMultiplier="2"/>

	<ai>
        <agentAttachment width="1.3" height="2" length="2.5" lengthOffset="1"/>
    </ai>

</vehicle>
