<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="tractor">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>
		    <en>Skoda 706 tahac CSAD</en>
		</name>
        <specs>
            <power>180</power>
            <maxSpeed>80</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_truck</function>
        </functions>
        <image>icon.dds</image>
        <price>1100</price>
        <dailyUpkeep>50</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIAZ</brand>
        <category>trucks</category>
    </storeData>
    <base>
        <filename>S706_tahac.i3d</filename>
        <size width="5" length="10" lengthOffset="5"/>
		<sounds filename="sounds/liaz7062.xml"/>
        <components>
            <component centerOfMass="0 0.5 -0.5" solverIterationCount="20" mass="7923"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="TRUCK" />
		<mapHotspot type="TRUCK" />
    </base>
	
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels autoRotateBackSpeed="2.5">
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="2.13" repr="0>1" forcePointRatio="0.2" radius="0.54" width="0.33" mass="0.25" initialCompression="45" frictionScale="2.1" suspTravel="0.2" spring="30" damper="50"/>
						<tire isCareWheel="false"/>
                    </wheel>
                    <wheel isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="2.13" repr="0>0" forcePointRatio="0.2" radius="0.54" width="0.33" mass="0.25" initialCompression="45" frictionScale="2.1" suspTravel="0.2" spring="30" damper="50"/>
						<tire isCareWheel="false"/>
                    </wheel>
                    <wheel isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="2.37" repr="0>3" forcePointRatio="0.2" radius="0.54" width="0.5" mass="0.25" initialCompression="45" frictionScale="2.1" suspTravel="0.2" spring="40" damper="50"/>
						<tire isCareWheel="false"/>
                    </wheel>
                    <wheel isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="2.37" repr="0>2" forcePointRatio="0.2" radius="0.54" width="0.5" mass="0.25" initialCompression="45" frictionScale="2.1" suspTravel="0.2" spring="40" damper="50"/>
						<tire isCareWheel="false"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="80" rotMax="42" rotCenterWheel1="3" rotCenterWheel2="4"/>
        </ackermannSteeringConfigurations>
    </wheels>
    <attacherJoints>
        <attacherJoint node="0>12" jointType="trailer" lowerRotLimit="10 80 80" allowsJointLimitMovement="false" upperRotRotationOffset="0">
            <schema position="0 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint node="0>12|0" jointType="trailer" lowerRotLimit="10 80 80" allowsJointLimitMovement="false" upperRotRotationOffset="0">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint node="0>13|0|0" jointType="semitrailer" lowerRotLimit="18 175 18" allowsJointLimitMovement="false" allowsLowering="false" enableCollision="true">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>

    </attacherJoints>
    <lights>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
        </states>
        <realLights>
            <low>
                <light node="0>20|0|0" lightTypes="0" excludedLightTypes="3"/>
                <light node="0>20|0|1" lightTypes="1"/>
            </low>
            <high>
                <light node="0>20|0|1" lightTypes="1"/>
                <light node="0>20|0|0" lightTypes="0" excludedLightTypes="3"/>
                <light node="0>20|1|0" lightTypes="0" excludedLightTypes="3"/>
                <light node="0>20|0|2" lightTypes="0"/>
                <turnLightLeft node="0>20|2|0"/>
                <turnLightLeft node="0>20|2|1"/>
                <turnLightLeft node="0>20|2|2"/>
                <turnLightRight node="0>20|3|0"/>
                <turnLightRight node="0>20|3|1"/>
                <turnLightRight node="0>20|3|2"/>
				<brakeLight node="0>20|1|0"/>
            </high>
        </realLights>
        <defaultLights>
            <defaultLight shaderNode="0>20|4|0" lightTypes="0 3" />
            <defaultLight shaderNode="0>20|4|1" lightTypes="0 3" />
            <defaultLight shaderNode="0>20|4|2" lightTypes="1" />
            <defaultLight shaderNode="0>20|4|3" lightTypes="1" />
            <defaultLight shaderNode="0>20|4|4|1" lightTypes="0 3" intensity="8" />
            <defaultLight shaderNode="0>20|4|5|1" lightTypes="0 3" intensity="8"/>
            <defaultLight shaderNode="0>20|4|8|0" lightTypes="0 3" intensity="8" />
            <defaultLight shaderNode="0>20|4|9|0" lightTypes="0 3" intensity="8"/>
        </defaultLights>
        <turnLights>
            <turnLightLeft shaderNode="0>20|4|4|0" />
            <turnLightLeft shaderNode="0>20|4|6|0" />
            <turnLightLeft shaderNode="0>20|4|6|1" />
            <turnLightLeft shaderNode="0>20|4|8|1" />
            <turnLightRight shaderNode="0>20|4|5|0" />
            <turnLightRight shaderNode="0>20|4|7|0" />
            <turnLightRight shaderNode="0>20|4|7|1" />
            <turnLightRight shaderNode="0>20|4|9|1" />
        </turnLights>
        <brakeLights>
            <brakeLight shaderNode="0>20|4|8|0" />
            <brakeLight shaderNode="0>20|4|9|0" />
        </brakeLights>

	</lights>
    <enterable>
        <exitPoint node="0>21"/>
        <enterReferenceNode node="0>"/>
        <characterNode node="0>11|0" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>11|1"/>
            <target ikChain="leftFoot" targetNode="0>11|2"/>
            <target ikChain="rightArm" targetNode="0>10|0|1"/>
            <target ikChain="leftArm" targetNode="0>10|0|2"/>
        </characterNode>
        <cameras>
            <camera node="0>14|0" rotatable="true" rotateNode="0>14" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="35"/>
            <camera node="0>15" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        </cameras>
        <mirrors>
            <mirror node="0>18|0"/>
            <mirror node="0>18|1"/>
        </mirrors>
    </enterable>
    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="45" fillType="diesel" /> <!-- usage is per hour at max load and max rpm -->
                <consumer fillUnitIndex="2" usage="200" fillType="air" permanentConsumption="false" refillLitersPerSecond="350" refillCapacityPercentage="0.5" /> <!-- usage per second at full brake power -->
            </consumerConfiguration>
        </consumerConfigurations>
        <motorConfigurations>
            <motorConfiguration name="Liaz706" price="0">
                <motor torqueScale="1.763" minRpm="800" maxRpm="3200" maxForwardSpeed="80" maxBackwardSpeed="15" brakeForce="12" lowBrakeForceScale="0.1" lowBrakeForceSpeedLimit="1" rotInertia="0.002">
                    <torque normRpm="0.45" torque="0.5"/>
                    <torque normRpm="0.5" torque="0.6"/>
                    <torque normRpm="0.59" torque="0.7"/>
                    <torque normRpm="0.72" torque="1"/>
                    <torque normRpm="0.86" torque="0.88"/>
                    <torque normRpm="1" torque="0.7"/>
                </motor>
                <transmission autoGearChangeTime="0.5" gearChangeTime="0.4" axleRatio="12.54" name="$l10n_info_transmission_manual">
                    <directionChange useGear="true" useGroup="false" changeTime="0.5"/>
                    <forwardGear gearRatio="7.64" actionName="SHIFT_GEAR_SELECT_1"/>
					<forwardGear gearRatio="4.27"  actionName="SHIFT_GEAR_SELECT_2"/>
					<forwardGear gearRatio="2.60"  actionName="SHIFT_GEAR_SELECT_3"/>
					<forwardGear gearRatio="1.59"  actionName="SHIFT_GEAR_SELECT_4"/>
					<forwardGear gearRatio="1"  actionName="SHIFT_GEAR_SELECT_5"/>
                    <backwardGear gearRatio="5.95" name="R1"/>
                </transmission>
            </motorConfiguration>
        </motorConfigurations>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="3" wheelIndex2="4"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <exhaustEffects>
            <exhaustEffect node="0>16" filename="$data/effects/exhaust/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.05" maxRpmScale="0.5" />
        </exhaustEffects>
        <motorStartDuration>1900</motorStartDuration>
        <dashboards>
			<dashboard displayType="ANIMATION" valueType="speed" animName="speedDisplay" minValueAnim="0" maxValueAnim="115" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="rpm" animName="rpmDisplay" minValueAnim="0" maxValueAnim="2400" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </motorized>
    <drivable>

        <steeringWheel node="0>10|0" indoorRotation="540" outdoorRotation="60"/>
    </drivable>
	
    <wipers>
        <wiper animName="sterace" >
            <state animSpeed="3" animPause="1.0" />
        </wiper>
    </wipers>

    <animations>
        <animation name="speedDisplay">
            <part node="0>17|1|4" startTime="0" endTime="1" startRot="0 130 0" endRot="0 -110 0"/>
        </animation>
        <animation name="fuelDisplay">
            <part node="0>17|1|0" startTime="0" endTime="1" startRot="0 45 0" endRot="0 -45 0"/>
        </animation>
        <animation name="rpmDisplay">
            <part node="0>17|1|1" startTime="0" endTime="0.4" startRot="0 115 0" endRot="0 10 0"/>
            <part node="0>17|1|1|0" startTime="0" endTime="10" startRot="0 0 0" endRot="0 -25 0"/>
            <part node="0>17|1|2" startTime="0" endTime="0.4" startRot="0 50 0" endRot="0 25 0"/>
            <part node="0>17|1|2|0" startTime="0" endTime="10" startRot="0 0 0" endRot="0 -10 0"/>
            <part node="0>17|1|3" startTime="0" endTime="0.4" startRot="0 50 0" endRot="0 10 0"/>
            <part node="0>17|1|3|0" startTime="0" endTime="10" startRot="0 0 0" endRot="0 -20 0"/>
        </animation>
        <animation name="sterace">
            <part node="0>17|3|0|0" startTime="0" endTime="3" startRot="0 0 0" endRot="0 0 90"/>
            <part node="0>17|3|0|0" startTime="3" endTime="6" startRot="0 0 90" endRot="0 0 0"/>
            <part node="0>17|3|1|0" startTime="0" endTime="3" startRot="0 0 0" endRot="0 0 -90"/>
            <part node="0>17|3|1|0" startTime="3" endTime="6" startRot="0 0 -90" endRot="0 0 0"/>
        </animation>
    	<animation name="dvereL">
    		<part node="0>9|0|3" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -70 0" />
        </animation>
    	<animation name="dvereP">
    		<part node="0>9|0|4" startTime="0" endTime="1" startRot="0 0 0" endRot="0 70 0" />
        </animation>
    </animations>

    <cylindered>
        <movingTools>
			<movingTool node="0>9|0|3" playSound="true" >
                <controls axis="AXIS_CRANE_ARM" invertAxis="true" mouseSpeedFactor="0.3" iconName="FRONTLOADER_ARM_ROTATE" />
                <animation animName="dvereL" animSpeed="1" />
            </movingTool>
			<movingTool node="0>9|0|4" playSound="true" >
                <controls axis="AXIS_CRANE_ARM2" invertAxis="true" mouseSpeedFactor="0.3" iconName="FRONTLOADER_ARM_ROTATE" />
                <animation animName="dvereP" animSpeed="1" />
            </movingTool>
		    <movingTool node="0>13|0" playSound="true">
                <controls axis="AXIS_CRANE_ARM4" invertAxis="false" mouseSpeedFactor="0.8" iconName="TOP_DOOR_ROTATE" />
				<attacherJoint jointIndices="3" />
                <translation transSpeed="0.3" transAcceleration="0.5" transMax="-1.25" transMin="-2.4" translationAxis="3" />
            </movingTool>
        </movingTools>
    </cylindered>
	
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="150">
                    </fillUnit>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" showOnHud="false" showInShop="false" showOnInfoHud="false" fillTypes="air" capacity="4000">
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
    <foliageBending>
        <bendingNode minX="-1.3" maxX="1.3" minZ="-4.1" maxZ="3.4" yOffset="0.3" node="0>" />
    </foliageBending>
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="50" washDuration="1" workMultiplier="2"/>
    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
    </dashboard>
    <honk>
        <sound template="HONK_FENDT511C" linkNode="0>" />
    </honk>
    <ai>
		<collisionTrigger node="0>6" width="3.0" height="3.6"/>
    </ai>
</vehicle>
