<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="Zetor8145">
    <annotation>Copyright (C) Boembchen u.GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>Zetor 8111</name>
        <specs>
            <power>80</power>
            <maxSpeed>33</maxSpeed>
        </specs>
        <image>Scripts/8145.dds</image>
        <price>8111</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>ZETOR</brand>
        <category>tractorsS</category>
    </storeData>
    <base>
        <filename>Zetor8145.i3d</filename>
        <components>
            <component centerOfMass="0 1.08 -0.8" solverIterationCount="12" mass="3600"/>
            <component centerOfMass="0 0 0" solverIterationCount="12" mass="395"/>
            <joint component1="1" component2="2" node="1>0" rotLimit="0 0 12" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_VEHICLE"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
        </schemaOverlay>
    </base>
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels autoRotateBackSpeed="1">
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" repr="1>1|0" driveNode="1>1|0|1" radius="0.5" mass="0.03" width="0.25" restLoad="1.06" initialCompression="20" suspTravel="0.25" deltaY="0.20" spring="110" damper="50"/>
						<tire isCareWheel="true" tireTrackAtlasIndex="2"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" repr="1>2|0" driveNode="1>2|0|1" radius="0.5" mass="0.03" width="0.25" restLoad="1.05" initialCompression="20" suspTravel="0.25" deltaY="0.20" spring="110" damper="50"/>
						<tire isCareWheel="true" tireTrackAtlasIndex="2"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" repr="0" radius="0.85" mass="0.12" width="0.5" restLoad="1.13" initialCompression="20" suspTravel="0.25" deltaY="0.20" spring="58" damper="40"/>
						<tire isCareWheel="false" tireTrackAtlasIndex="0"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" repr="1" radius="0.85" mass="0.12" width="0.5" restLoad="1.14" initialCompression="20" suspTravel="0.25" deltaY="0.20" spring="58" damper="40"/>
						<tire isCareWheel="false" tireTrackAtlasIndex="0"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="60" rotMax="28" rotCenterWheel1="3" rotCenterWheel2="4"/>
        </ackermannSteeringConfigurations>
    </wheels>
    <attachable>
        <airConsumer usage="1600"/>
    </attachable>
    <attacherJoints>
        <attacherJoint node="0>4|0|0|0" upperRotationOffset="3.82" lowerRotationOffset="-2.18" moveTime="2.5" comboTime="1">
			<distanceToGround lower="0.47" upper="1.00"/>
            <rotationNode node="0>4|0" upperRotation="36 0 0" lowerRotation="2 0 0"/>
            <rotationNode2 node="0>4|0|0" upperRotation="-30 0 0" lowerRotation="-2 0 0"/>
            <bottomArm rotationNode="0>4|1" translationNode="0>4|1|0" referenceNode="0>4|1|0|0" zScale="-1"/>
            <topArm rotationNode="0>4|2" translationNode="0>4|2|0" referenceNode="0>4|2|0|0|0" zScale="-1"/>
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint node="0>2|2|8" jointType="trailer" lowerRotLimit="25 80 80" comboTime="1" allowsJointLimitMovement="false" upperRotRotationOffset="0">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint node="0>2|2|0" jointType="trailerLow" lowerRotLimit="40 85 30" comboTime="1" allowsJointLimitMovement="false" upperRotRotationOffset="0">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint node="0>2|2|2" jointType="trailer" lowerRotLimit="25 80 80" comboTime="0" allowsJointLimitMovement="false" upperRotRotationOffset="0">
            <schema position="0 0" rotation="0" invertX="true"/>
        </attacherJoint>
        <sounds>
            <attach template="ATTACH_01" />
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" />
        </sounds>
    </attacherJoints>
	<powerTakeOffs>
        <output attacherJointIndices="1 2 3" outputNode="0>2|2|1" />
    </powerTakeOffs>
    <lights>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
            <state lightTypes="0 1 2"/>
        </states>
        <realLights>
            <low>
                <light node="0>2|1|6|0" lightTypes="0"/>
                <light node="0>2|1|5|0" lightTypes="1"/>
                <light node="0>2|1|0|0" lightTypes="2"/>
            </low>
            <high>
                <light node="0>2|1|6|1" lightTypes="0"/>
                <light node="0>2|1|6|3" lightTypes="0"/>
                <light node="0>2|1|5|1" lightTypes="1"/>
                <light node="0>2|1|0|1" lightTypes="2"/>
                <turnLightLeft node="0>2|1|2|0"/>
                <turnLightLeft node="0>2|1|2|1"/>
                <turnLightRight node="0>2|1|3|0"/>
                <turnLightRight node="0>2|1|3|1"/>
                <brakeLight node="0>2|1|4|0"/>
            </high>
        </realLights>
        <defaultLights>
            <defaultLight shaderNode="0>2|1|6|2" lightTypes="0"/>
            <defaultLight shaderNode="0>2|1|7|0|1" lightTypes="0" intensity="8"/>
            <defaultLight shaderNode="0>2|1|7|1|1" lightTypes="0" intensity="8"/>
            <defaultLight shaderNode="0>2|1|0|2" lightTypes="2"/>
            <defaultLight shaderNode="0>2|1|5|2" lightTypes="1"/>
        </defaultLights>
        <turnLights>
            <turnLightLeft shaderNode="0>2|1|2|2"/>
            <turnLightLeft shaderNode="0>2|1|2|3"/>
            <turnLightLeft shaderNode="0>2|1|7|0|2"/>
            <turnLightRight shaderNode="0>2|1|3|2"/>
            <turnLightRight shaderNode="0>2|1|3|3"/>
            <turnLightRight shaderNode="0>2|1|7|1|2"/>
        </turnLights>
        <brakeLights>
			<brakeLight shaderNode="0>2|1|7|0|0"/>
			<brakeLight shaderNode="0>2|1|7|1|0"/>
		</brakeLights>
        <beaconLights>
            <beaconLight node="0>2|1|1" filename="$data/shared/assets/beaconLights/lizard/beaconLight02.xml"/>
        </beaconLights>
        <sounds>
            <switchLight template="SWITCH_01" linkNode="0>" />
            <turnLight template="SWITCH_TURNLIGHT" linkNode="0>" />
        </sounds>
    </lights>
    <enterable>
        <exitPoint node="0>2|2|7"/>
        <enterReferenceNode node="0>"/>
        <characterNode node="0>2|4|0" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>2|4|2"/>
            <target ikChain="leftFoot" targetNode="0>2|4|1"/>
            <target ikChain="rightArm" targetNode="0>2|0|0|0|1"/>
            <target ikChain="leftArm" targetNode="0>2|0|0|0|0"/>
        </characterNode>
        <cameras>
            <camera node="0>2|3|0|0" rotatable="true" rotateNode="0>2|3|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="50"/>
            <camera node="0>2|3|1" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        </cameras>
        <mirrors>
            <mirror node="0>2|0|3|2" prio="1"/>
            <mirror node="0>2|0|4|2" prio="1"/>
        </mirrors>
    </enterable>
    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="66"  fillType="diesel" />  <!-- usage is per hour at max load and max rpm -->
                <consumer fillUnitIndex="2" usage="200" fillType="air" permanentConsumption="false" refillLitersPerSecond="250" refillCapacityPercentage="0.5" /> <!-- usage per second at full brake power -->
            </consumerConfiguration>
        </consumerConfigurations>
        <motorConfigurations>
            <motorConfiguration name="Z8401" hp="80" price="0">
                <motor torqueScale="0.319" minRpm="680" maxRpm="2200" maxForwardSpeed="33" maxBackwardSpeed="12" brakeForce="3.0" lowBrakeForceScale="0.1" lowBrakeForceSpeedLimit="1">
                    <torque normRpm="0.45" torque="0.9"/>
                    <torque normRpm="0.5" torque="0.97"/>
                    <torque normRpm="0.59" torque="1"/>
                    <torque normRpm="0.72" torque="1"/>
                    <torque normRpm="0.86" torque="0.88"/>
                    <torque normRpm="1" torque="0.72"/>
                </motor>
                <transmission minForwardGearRatio="25" maxForwardGearRatio="275" minBackwardGearRatio="50" maxBackwardGearRatio="250"/>
            </motorConfiguration>
        </motorConfigurations>
        <exhaustEffects>
			<exhaustEffect node="0>2|2|3" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.01 0.01 0.01 5" minRpmScale="0.05" maxRpmScale="0.5" xzRotationsOffset="150 0" xzRotationsForward="50 0" xzRotationsBackward="-100 0" xzRotationsLeft="-50 -150" xzRotationsRight="-50 150" />
        </exhaustEffects>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.6" wheelIndex1="3" wheelIndex2="4" /> <!-- back left-right -->
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <motorStartDuration>2500</motorStartDuration>
        <dashboards>
            <dashboard displayType="ANIMATION" valueType="rpm" animName="rpmDisplay" minValueAnim="0" maxValueAnim="2200" groups="MOTOR_ACTIVE"/>
        </dashboards>
		<sounds externalSoundFile="Sounds/ZTS8245.xml" />
    </motorized>
    <drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01" linkNode="0>" />
        </sounds>
        <steeringWheel node="0>2|0|0|0" indoorRotation="540" outdoorRotation="60"/>
    </drivable>
	<animations>
        <animation name="rpmDisplay">
            <part node="0>2|0|1|4|0|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -150 0"/>
        </animation>
		<animation name="leftdoor">
            <part node="0>2|0|3" startTime="0" duration="1" startRot="0 0 0" endRot="0 -100 9"/>
        </animation>
        <animation name="rightdoor">
            <part node="0>2|0|4" startTime="0" duration="1" startRot="0 0 0" endRot="0 100 -9"/>
        </animation>
        <animation name="backleftwindow">
            <part node="0>2|0|1|1" startTime="0" duration="1" startRot="0 0 0" endRot="0 0 10"/>
        </animation>
        <animation name="backrightwindow">
            <part node="0>2|0|1|0" startTime="0" duration="1" startRot="0 0 0" endRot="0 0 -10"/>
        </animation>
        <animation name="window">
            <part node="0>2|0|6" startTime="0" duration="1" startRot="0 0 0" endRot="40 0 0"/>
        </animation>
        <animation name="sunroof">
            <part node="0>2|0|5" startTime="0" duration="1" startRot="0 0 0" endRot="25 0 0"/>
        </animation>
	</animations>
	<simpleIC outsideInteractionTrigger="0>2|0|7|2" >
		<animation animationName="leftdoor" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.5" >
			<insideTrigger triggerPoint="0>2|0|7|0" triggerPointSize="0.04" />
			<outsideTrigger triggerPoint="0>2|0|3|3" triggerPointSize="0.04" />
		</animation>
		<animation animationName="rightdoor" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.5" >
			<insideTrigger triggerPoint="0>2|0|7|1" triggerPointSize="0.04" />
			<outsideTrigger triggerPoint="0>2|0|4|3" triggerPointSize="0.04" />
		</animation>			
		<animation animationName="backleftwindow" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.5" >
			<insideTrigger triggerPoint="0>2|0|1|1|0" triggerPointSize="0.04" />
		</animation>
		<animation animationName="backrightwindow" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.5" >
			<insideTrigger triggerPoint="0>2|0|1|0|0" triggerPointSize="0.04" />
		</animation>
		<animation animationName="window" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.5" >
			<insideTrigger triggerPoint="0>2|0|6|1" triggerPointSize="0.04" />
		</animation>
		<animation animationName="sunroof" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.5" >
			<insideTrigger triggerPoint="0>2|0|5|1" triggerPointSize="0.04" />
		</animation>
	</simpleIC>	
    <cylindered>
        <movingTools>
            <movingTool node="0>4|1">
                <dependentPart node="0>4|3"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="0>4|3" referencePoint="0>4|1|0|2" localReferencePoint="0>4|3|0|0" referenceFrame="0>4|1" isActiveDirty="true" playSound="false">
                <dependentPart node="0>4|3|0|0"/>
                <dependentPart node="0>4|3|0|1|0"/>
                <dependentPart node="0>4|3|0|1|1"/>
            </movingPart>
            <movingPart node="0>4|3|0|0" referencePoint="0>4|1|0|2" referenceFrame="0>4|1|0|2" isActiveDirty="true" playSound="false"/>
            <movingPart node="0>4|3|0|1|0" referencePoint="0>4|1|0|3" referenceFrame="0>4|1|0|3" isActiveDirty="true" playSound="false"/>
            <movingPart node="0>4|3|0|1|1" referencePoint="0>4|1|0|4" referenceFrame="0>4|1|0|4" isActiveDirty="true" playSound="false"/>
            <!--movingPart node="1>2|2" referencePoint="1>1|2" referenceFrame="1>1|2" isActiveDirty="true" playSound="false"/-->
        </movingParts>
    </cylindered>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit capacity="194.9" unit="$l10n_unit_literShort" fillTypes="diesel" showOnHud="false" showInShop="false"/>
                    <fillUnit capacity="1000" unit="$l10n_unit_literShort" fillTypes="air" showOnHud="false" showInShop="false"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <honk>
        <sound template="HONK_FENDT511C" linkNode="0>" file="Sounds/horn.ogg" />
    </honk>
	<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE"   isMotorStarting="true" isMotorRunning="true"/>
        </groups>
    </dashboard>
    <ai>
        <collisionTrigger node="0>3"/>
    </ai>
    <foliageBending>
        <bendingNode minX="-0.35" maxX="0.35" minZ="-0.32" maxZ="1.38"  yOffset="0.6" />
        <bendingNode minX="-1.06" maxX="1.06" minZ="-3.15" maxZ="-0.32" yOffset="0.6" />
    </foliageBending>	
    <connectionHoses>
        <target attacherJointIndices="1 2 3" type="hydraulicIn" node="0>2|5|2"/>
        <target attacherJointIndices="1 2 3" type="hydraulicOut" node="0>2|5|3"/>
        <target attacherJointIndices="1 2 3" type="hydraulicIn" node="0>2|5|4"/>
        <target attacherJointIndices="1 2 3" type="hydraulicOut" node="0>2|5|5"/>
        <target attacherJointIndices="1 2 3" type="airDoubleRed" node="0>2|5|1" socket="air_red"/>
        <target attacherJointIndices="1 2 3" type="airDoubleYellow" node="0>2|5|0" socket="air_yellow"/>
        <target attacherJointIndices="1 2 3" type="electric" node="0>2|5|6" socket="electric"/>

        <target attacherJointIndices="5" type="hydraulicOut" node="0>5|0|3|0"/>		
        <target attacherJointIndices="5" type="hydraulicOut" node="0>5|0|3|1"/>
        <target attacherJointIndices="5" type="hydraulicOut" node="0>5|0|3|2"/>		
        <target attacherJointIndices="5" type="hydraulicOut" node="0>5|0|3|3"/>
        <target attacherJointIndices="5" type="hydraulicOut" node="0>5|0|3|4"/>		
        <target attacherJointIndices="5" type="hydraulicOut" node="0>5|0|3|5"/>	
    </connectionHoses>
    <frontloaderConfigurations>
        <frontloaderConfiguration name="$l10n_ui_no" price="0">
            <objectChange node="0>5|0" visibilityActive="false"/>
        </frontloaderConfiguration>
        <frontloaderConfiguration name="Tur 16B" price="500" icon="$dataS2/menu/hud/configurations/config_loader.png">
            <attacherJoint node="0>5|0|1" jointType="attachableFrontloader" lowerRotLimit="0 0 0" lowerTransLimit="0 0 0" moveTime="2">
                <rotationNode upperRotation="0 0 0" lowerRotation="0 0 0"/>
                <schema position="1 0.4" rotation="0" invertX="true" />
            </attacherJoint>
            <objectChange node="0>5|0" visibilityActive="true" visibilityInactive="false"/>
        </frontloaderConfiguration>
    </frontloaderConfigurations>
    <!--Non converted elements:


<?xml version="1.0" encoding="utf-8" standalone="no"?>

<vehicle>
<accelerationSpeed maxAcceleration="1" deceleration="1" backwardDeceleration="3"/>
<fuelUsage>
0</fuelUsage>
<bunkerSiloCompacter compactingScale="1.4"/>
<realMaxVehicleSpeed>
26</realMaxVehicleSpeed>
<realMaxReverseSpeed>
12</realMaxReverseSpeed>
<realBrakeMaxMovingMass>
23</realBrakeMaxMovingMass>
<realBrakingDeceleration>
3.7</realBrakingDeceleration>
<realSCX>
4</realSCX>
<realPtoPowerKW>
58.3</realPtoPowerKW>
<realMaxFuelUsage>
32.4</realMaxFuelUsage>
<realTransmissionEfficiency>
0.92</realTransmissionEfficiency>
<speedRotScale scale="0.1"/>
<realManualGearBox idlePowerPercent="0.7" rpmFadingPercent="0.04" accelerationSpeed="1" deccelerationSpeed="1"/>
<fullPowershift motorMaxRpm="2200" motorMinRpm="680" motorMinRpmForMaxPower="1500" gearShiftTimeMs="300" usedReduction="true">
<fwdGears defaultGear="1">
<gear speed="05.73" redSpeed="03.53"/>
<gear speed="10.96" redSpeed="08.53"/>
<gear speed="18.22" redSpeed="14.91"/>
<gear speed="25.90" redSpeed="21.30"/>
</fwdGears>
<revGears defaultGear="1">
<gear speed="05.28" redSpeed="03.95"/>
<gear speed="09.40" redSpeed="06.28"/>
</revGears>
</fullPowershift>
<lights>
<states>
0 1 2</states>
</lights>
<lights>
<low>
<light decoration="0>2|1|6" lightTypes="0"/>
</low>
<high>
<light decoration="0>2|1|6" lightTypes="0"/>
</high>
<states>
0 1 2</states>
</lights>
<lightsaddon lightsStayOn="true">
<light type="work" index="0>2|1|0" inputName="predne_svetla" helptext="predne_svetla" stayOn="true"/>
<light type="work" index="0>2|1|5" inputName="zadne_svetla" helptext="zadne_svetla" stayOn="true"/>
<light type="dirLeft" index="0>2|1|2"/>
<light type="dirRight" index="0>2|1|3"/>
<light type="brake" index="0>2|1|4"/>
</lightsaddon>
<steering rotationSpeed="6"/>
<cuttingAreas count="0"/>
<trailerAttacherJoints>
<trailerAttacherJoint index="0>2|2|2"/>
<trailerAttacherJoint index="0>2|2|8" minY="1.03" maxY="1.35" moveable="true" ptoOutputNode="0>2|2|1" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d"/>
<trailerAttacherJoint index="0>2|2|0" low="true" ptoOutputNode="0>2|2|1" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d"/>
</trailerAttacherJoints>
<tipCamera index="0>2|3|2"/>
<compressionSound file="$data/vehicles/steerable/deutz/compressorWork.wav" pitchOffset="1" volume="1.5"/>
<aiMotorSound file="Sounds/16245ai.wav" pitchOffset="1" radius="25" innerRadius="4" volume="1.0"/>
<exhaustParticleSystems count="1">
<exhaustParticleSystem1 node="0>2|2|3" file="Scripts/particleSystems/DynamicExhaustingSystem.i3d"/>
</exhaustParticleSystems>
<dynamicExhaustingSystem cap="0>2|0|2|0" rotAxis="1" maxRot="80" minAlpha="0.1" maxAlpha="0.6" param="alphaScale">
<startSequence>
<key time="0.0" value="0 0 0 0.0"/>
<key time="0.4" value="0 0 0 1.0"/>
<key time="0.5" value="0 0 0 0.6"/>
<key time="0.6" value="0 0 0 0.2"/>
<key time="0.7" value="0 0 0 0.6"/>
<key time="0.9" value="0 0 0 0.3"/>
<key time="1.0" value="0 0 0 0.1"/>
</startSequence>
</dynamicExhaustingSystem>
<cab rotNode="0>2|4" springStiffness="20"/>
<characterNode spineRotation=""/>
<components>
<component1 realMassWanted="3.01"/>
<component2 realMassWanted="1.01"/>
</components>
<animParts>
<animPart index="0>5" id="celny" showHelp="true" scaleMin="0 0 0" scaleMax="1 1 1" moveTime="0.002"/>
<animPart index="0>2|0|4" id="Zetor_prave_dvere" showHelp="true" rotMin="0 0 0" rotMax="0 100 -9" moveTime="2"/>
<animPart index="0>2|0|3" id="Zetor_lave_dvere" showHelp="true" rotMin="0 0 0" rotMax="0 -100 9" moveTime="2"/>
<animPart index="0>2|0|6" id="Zetor_zadne_okno" showHelp="true" rotMin="0 0 0" rotMax="40 0 0" moveTime="2"/>
<animPart index="0>2|0|5" id="Zetor_poklop" showHelp="true" rotMin="0 0 0" rotMax="25 0 0" moveTime="2"/>
</animParts>
</vehicle>

-->
</vehicle>
