<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="tractor">
    <annotation>lucas</annotation>
    <storeData>
        <name>            <en>Hoftrac 916</en>
        </name>
        <specs>
            <power>28</power>
            <maxSpeed>15</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_wheelLoader</function>
        </functions>
        <image>store_WeidemannHoftrac916DM.dds</image>
        <price>11900</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>WEIDEMANN</brand>
        <category>frontLoaderVehicles</category>
        <vertexBufferMemoryUsage>1433280</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>269994</indexBufferMemoryUsage>
        <textureMemoryUsage>26738792</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>$l10n_typeDesc_wheelLoader</typeDesc>
        <filename>beispiel.i3d</filename>
        <size width="2" length="5"/>
        <components>
            <component centerOfMass="-0.00 -0.75 0" solverIterationCount="10" mass="1500"/>
            <component centerOfMass="0 0 0" solverIterationCount="10" mass="1500"/>
            <component centerOfMass="0 0 0.3" solverIterationCount="10" mass="15"/>
            <joint component1="2" component2="1" node="4" rotLimit="0 0 0" transLimit="0 0 0"/>
            <joint component1="2" component2="3" node="1>4|0|4" rotLimit="0 0 0" transLimit="0 0 0"/>
        </components>
        <schemaOverlay attacherJointPosition="0.5 0">
            <default name="DEFAULT_VEHICLE"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
        </schemaOverlay>
    </base>
	<vehicleTypeConfigurations title="Dach">
		<vehicleTypeConfiguration name="$l10n_configuration_valueDefault" price="0" vehicleType="tractor">
			<objectChange node="0>17|0" visibilityActive="false" />
		</vehicleTypeConfiguration>
		<vehicleTypeConfiguration name="Dach" price="350" vehicleType="tractor">
			<objectChange node="0>17|0" visibilityActive="true" />
		</vehicleTypeConfiguration>
	</vehicleTypeConfigurations>		
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="Standrad" price="0">
                <wheels autoRotateBackSpeed="0.5">
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1" repr="0>0" radius="0.36" width="0.35" mass="0.250" initialCompression="10" suspTravel="0.13" spring="50" damper="30"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1" repr="0>1" radius="0.36" width="0.35" mass="0.250" initialCompression="10" suspTravel="0.13" spring="50" damper="30"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1" repr="1>0" radius="0.36" width="0.35" mass="0.250" initialCompression="10" suspTravel="0.13" spring="50" damper="30"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1" repr="1>1" radius="0.36" width="0.35" mass="0.250" initialCompression="10" suspTravel="0.13" spring="50" damper="30"/>
                    </wheel>
                </wheels>
                <objectChange node="1>0|0|2" visibilityActive="false"/>
                <objectChange node="1>1|0|2" visibilityActive="false"/>				
                <objectChange node="0>0|0|2" visibilityActive="false"/>
                <objectChange node="0>1|0|2" visibilityActive="false"/>				
            </wheelConfiguration>
            <wheelConfiguration name="Zwilling Vorne" price="100">
                <wheels autoRotateBackSpeed="0.5">
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1" repr="0>0" radius="0.36" width="0.7" mass="0.250" initialCompression="10" suspTravel="0.13" spring="50" damper="30"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1" repr="0>1" radius="0.36" width="0.7" mass="0.250" initialCompression="10" suspTravel="0.13" spring="50" damper="30"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1" repr="1>0" radius="0.36" width="0.35" mass="0.250" initialCompression="10" suspTravel="0.13" spring="50" damper="30"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1" repr="1>1" radius="0.36" width="0.35" mass="0.250" initialCompression="10" suspTravel="0.13" spring="50" damper="30"/>
                    </wheel>
                </wheels>
                <objectChange node="1>0|0|2" visibilityActive="true"/>
                <objectChange node="1>1|0|2" visibilityActive="true"/>				
                <objectChange node="0>0|0|2" visibilityActive="false"/>
                <objectChange node="0>1|0|2" visibilityActive="false"/>						
            </wheelConfiguration>
            <wheelConfiguration name="Zwilling" price="200">
                <wheels autoRotateBackSpeed="0.5">
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1" repr="0>0" radius="0.36" width="0.7" mass="0.250" initialCompression="10" suspTravel="0.13" spring="50" damper="30"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1" repr="0>1" radius="0.36" width="0.7" mass="0.250" initialCompression="10" suspTravel="0.13" spring="50" damper="30"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1" repr="1>0" radius="0.36" width="0.7" mass="0.250" initialCompression="10" suspTravel="0.13" spring="50" damper="30"/>
                    </wheel>
                    <wheel hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1" repr="1>1" radius="0.36" width="0.7" mass="0.250" initialCompression="10" suspTravel="0.13" spring="50" damper="30"/>
                    </wheel>
                </wheels>
                <objectChange node="1>0|0|2" visibilityActive="true"/>
                <objectChange node="1>1|0|2" visibilityActive="true"/>				
                <objectChange node="0>0|0|2" visibilityActive="true"/>
                <objectChange node="0>1|0|2" visibilityActive="true"/>					
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>
    <articulatedAxis componentJointIndex="1" rotSpeed="55" rotMax="30" rotMin="-30" anchorActor="1"/>
    <attacherJoints>
        <attacherJoint node="1>4|0|2|0" rootNode="1>" nodeVisual="1>4|0|2|0" jointType="frontloader" rotLimitSpring="7500 7500 7500" rotLimitDamping="5 5 5" transLimitSpring="7500 7500 7500" transLimitDamping="5 5 5" allowsJointLimitMovement="false" allowsLowering="false">
            <schema position="0 0.4" rotation="0" invertX="true"/>
        </attacherJoint>
        <attacherJoint node="0>13" jointType="trailerLow" lowerRotLimit="10 50 50" comboTime="1" allowsJointLimitMovement="false" upperRotRotationOffset="0">
            <transNode node="0>13" minY="-0.637" maxY="-0.637"/>
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint node="0>11|6|0" jointType="trailer" lowerRotLimit="10 50 50" lowerTransLimit="0 0 0" comboTime="0" allowsJointLimitMovement="false" upperRotRotationOffset="0">
            <schema position="0 0" rotation="0" invertX="true"/>
        </attacherJoint>
        <attacherJoint node="0>16" jointType="trailer" lowerRotLimit="15 80 15"
                               upperRotationOffset="0" allowsJointLimitMovement="false"
                               canTurnOnImplement="true" rootNode="0>" comboTime="0">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>		
    </attacherJoints>
    <lights>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
        </states>
        <realLights>
            <low>
                <light node="1>4|0|3|0|0" lightTypes="0"/>
                <light node="0>8|0|0" lightTypes="1"/>
            </low>
            <high>
                <light node="1>4|0|3|0|0" lightTypes="0"/>
                <light node="0>8|0|0" lightTypes="1"/>
            </high>
        </realLights>
        <defaultLights>
            <defaultLight shaderNode="0>11|8|0|1" lightTypes="0"/>
            <defaultLight shaderNode="1>4|0|3|2|0|1" lightTypes="0"/>
            <defaultLight shaderNode="0>17|0|2|0|1" lightTypes="0"/>
            <defaultLight shaderNode="0>17|0|1|0|1" lightTypes="0"/>
        </defaultLights>		
    </lights>
    <enterable>
        <exitPoint node="0>6"/>
        <enterReferenceNode node="0>"/>
        <characterNode node="0>11|2|0" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>11|2|1"/>
            <target ikChain="leftFoot" targetNode="0>11|2|2"/>
            <target ikChain="rightArm" targetNode="0>11|3|0|0"/>
            <target ikChain="leftArm" targetNode="0>11|3|0|1"/>
        </characterNode>
        <cameras>
            <camera node="0>10|0|0" rotatable="true" rotateNode="0>10|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="5" transMax="35" rotYSteeringRotSpeed="27.5"/>
            <camera node="0>10|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        </cameras>
    </enterable>
    <motorized>
        <motorConfigurations>
            <motorConfiguration name="916DM" price="0">
                <motor torqueScale="0.100" minRpm="1000" maxRpm="2200" maxBackwardSpeed="10" brakeForce="1" 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="35" maxForwardGearRatio="130" minBackwardGearRatio="50" maxBackwardGearRatio="130"/>
            </motorConfiguration>
        </motorConfigurations>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="3" wheelIndex2="4"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.55" wheelIndex1="1" wheelIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.2" differentialIndex1="1" differentialIndex2="2"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <exhaustEffects>
            <exhaustEffect node="0>12" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.0 0.0 0.0 0.01" maxRpmColor="0.0 0.0 0.0 7" minRpmScale="0.05" maxRpmScale="0.5" xzRotationsOffset="0 0" xzRotationsForward="-73.82 0" xzRotationsBackward="73.82 0" xzRotationsLeft="0 100" xzRotationsRight="0 -100"/>
        </exhaustEffects>
        <motorStartDuration>2000</motorStartDuration>
        <sounds externalSoundFile="$data/sounds/vehicles/engine/kramer_kl35_8t/kramer_kl35_8t.xml"/>
    </motorized>
    <drivable>
        <steeringWheel node="0>11|3|0" indoorRotation="540" outdoorRotation="60"/>
    </drivable>
    <cylindered>
        <movingTools>
            <movingTool node="1>4|0" playSound="true">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" mouseSpeedFactor="0.6" iconFilename="$dataS2/menu/moveControls/crane_arm2_rotX.png"/>
                <rotation rotSpeed="40" rotAcceleration="300" rotMax="50.5" rotMin="-47.0"/>
                <attacherJoint jointIndices="1"/>
                <componentJoint index="2" anchorActor="0"/>
                <dependentPart node="1>4|1"/>
            </movingTool>
            <movingTool node="1>4|0|2" playSound="true">
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" mouseSpeedFactor="0.5" iconFilename="$dataS2/menu/moveControls/crane_arm2_tool.png"/>
                <rotation rotSpeed="45" rotAcceleration="500" rotMax="-0" rotMin="-120"/>
                <attacherJoint jointIndices="1"/>
                <dependentPart node="1>4|0|1"/>
                <dependentPart node="1>4|5"/>
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="1>4|0|1|0" referencePoint="1>4|0|2|2" localReferencePoint="1>4|0|1|0|1|0" referenceFrame="1>4|0|0" isActiveDirty="true">
                <dependentPart node="1>4|5"/>
            </movingPart>
            <movingPart node="1>4|0|1|0|1" referencePoint="1>4|0|2|2" referenceFrame="1>4|0|4" isActiveDirty="true" scaleZ="true"/>
            <movingPart node="1>4|5" referencePoint="1>4|0|1|0|0" referenceFrame="1>4|0|1|0|0" isActiveDirty="true">
                <translatingPart node="1>4|5|0"/>
            </movingPart>
            <movingPart node="1>4|1" referencePoint="1>4|0|0" referenceFrame="1>4|0|0">
                <translatingPart node="1>4|1|0"/>
            </movingPart>
            <movingPart node="0>11|1" referencePoint="1>4|4" referenceFrame="1>4|4" isActiveDirty="true" scaleZ="true" playSound="false"/>
            <movingPart node="11|4|0" referencePoint="1>4|3" referenceFrame="1>4|3" isActiveDirty="true" scaleZ="true" playSound="false"/>
        </movingParts>
        <sounds>
            <hydraulic file="DEFAULT_HYDRAULIC_SOUND">
                <volume indoor="0.20" outdoor="0.55"/>
                <pitch outdoor="0.85"/>
                <lowpassGain indoor="0.65"/>
            </hydraulic>
        </sounds>
    </cylindered>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit capacity="50" unit="$l10n_unit_literShort" fillTypes="diesel" showOnHud="false" showInShop="false"/>
                    <fillUnit capacity="10" unit="$l10n_unit_literShort" fillTypes="def" showOnHud="false" showInShop="false"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <washable dirtDuration="60" washDuration="1" workMultiplier="4"/>
    <honk>
        <sound file="$data/sounds/vehicles/horn/john_deere_gator_horn_loop.wav" innerRadius="10">
            <volume indoor="0.30" outdoor="1.00"/>
            <pitch outdoor="1.00"/>
            <lowpassGain indoor="0.90"/>
        </sound>
    </honk>
    <ai>
        <collisionTrigger node="1>5"/>
    </ai>
</vehicle>
