<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="Miller_Pro">
    <annotation>Fendt412, Farmer46, Reaper9111</annotation>
    <description/>
    <typeDesc>
                Gehl
                Gehl
        </typeDesc>
    <filename>Miller_Pro.i3d</filename>
    <size width="3.4" length="9.0" lengthOffset="-1.0"/>
    <wheels autoRotateBackSpeed="2.0">
        <wheel repr="1>2" deltaY="0.1" radius="0.4" suspTravel="0.2" spring="30" damper="0.01" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.6" steeringAxleRotMax="70" steeringAxleRotMin="-70"/>
        <wheel repr="1>3" deltaY="0.1" radius="0.4" suspTravel="0.2" spring="30" damper="0.01" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.6" steeringAxleRotMax="70" steeringAxleRotMin="-70"/>
        <wheel repr="0>4" deltaY="0.1" radius="0.45" suspTravel="0.2" spring="15" damper="0.13" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.6"/>
        <wheel repr="0>5" deltaY="0.1" radius="0.45" suspTravel="0.2" spring="15" damper="0.13" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.6"/>
    </wheels>
	
	<steeringAxleAngleScale startSpeed="0" endSpeed="90" backwards="true" />
    
	<lights>
        <!--to be adjusted manually-->
        <low>
            <light decoration="0>6|10" lightTypes="0"/>
        </low>
        <!--to be adjusted manually-->
        <high>
            <light decoration="0>6|10" lightTypes="0"/>
        </high>
        <!--to be adjusted manually-->
        <states>0 1 2</states>
    </lights>
    
	<brakeLights>
        <brakeLight decoration="0>6|9"/>
    </brakeLights>
    
	<turnLights>
        <turnLightLeft decoration="0>6|8|0"/>
        <turnLightRight decoration="0>6|8|1"/>
    </turnLights>
    
	<brakeForce>0.5</brakeForce>
    
	<inputAttacherJoints>
        <inputAttacherJoint index="2>0" jointType="trailerLow" rootNode="2>" ptoInputNode="0>6|3"/>
    </inputAttacherJoints>
    
	<attacherJoints>
        <attacherJoint index="0>6|12" jointType="trailerLow" allowsJointLimitMovement="false" upperRotationOffset="0" lowerRotLimit="10 80 80"/>
    </attacherJoints>
    
	<fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5"/>
	
	 <designConfigurations>
 	<designConfiguration name="No Roof" price="0" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <objectChange node="0>6|17" visibilityActive="false" visibilityInactive="true"/>
        </designConfiguration>
 	<designConfiguration name="Roof" price="250" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <objectChange node="0>6|17" visibilityActive="true" visibilityInactive="false"/>
        </designConfiguration>
    </designConfigurations>
    
	<movingTools/>
	<movingParts/>
			
			<tipRotationNodes>
				<tipRotationNode index="0>6|1|0" rotSpeed="200" type="trailer" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
				<tipRotationNode index="0>6|1|1" rotSpeed="250" type="trailer" rotAxis="1" turnOnFadeTime="1.2" turnOffFadeTime="1.2"/>
				<tipRotationNode index="0>6|1|2" rotSpeed="300" type="trailer" rotAxis="1" turnOnFadeTime="1.5" turnOffFadeTime="1.5"/>
			</tipRotationNodes>
			
			<tipScrollerNodes>
				<tipScrollerNode index="0>6|0|0" shaderParameterName="offsetUV" scrollSpeed="0.01" shaderParameterComponent="2" turnOnFadeTime="1" turnOffFadeTime="30"/>
				<tipScrollerNode index="0>6|0|1" shaderParameterName="offsetUV" scrollSpeed="0.01" shaderParameterComponent="2" turnOnFadeTime="1" turnOffFadeTime="30"/>
				<tipScrollerNode index="0>6|2" shaderParameterName="offsetUV" scrollSpeed=".5" shaderParameterComponent="2" turnOnFadeTime="1" turnOffFadeTime="30"/>
				<tipScrollerNode index="0>6|15" shaderParameterName="offsetUV" scrollSpeed="2" shaderParameterComponent="2" turnOnFadeTime="1" turnOffFadeTime="30"/>
			</tipScrollerNodes>
			
    <fillVolumes>
        <volumes>
            <volume index="0>7|0" maxDelta="0.3">
                <deformNode index="0>21|0" />
                <deformNode index="0>21|1" />
            </volume>
        </volumes>

        <unloadInfos>
            <unloadInfo fillVolumeIndex="1" >
                <node index="0>9|0" width="1.0" length="1.5" priority="2" minHeight="2.2" />
                <node index="0>9|1" width="1.0" length="1.5" priority="2" minHeight="2.2" />
                <node index="0>9|2" width="1.0" length="9.0" />
                <node index="0>9|3" width="1.0" length="9.0" />
            </unloadInfo>
        </unloadInfos>

        <heights>
            <height fillVolumeIndex="1" >
                <refNode index="0>9|0" />
                <refNode index="0>9|1" />
                <node index="0>10|2" baseScale="0.3 2 4" transAxis="0 0 0" scaleAxis="0 0 0" />
            </height>
        </heights>
    </fillVolumes>
		
		<cylinderedHydraulicSound file="$data/sounds/hydraulicUp.wav" pitchOffset="0.8" volume="0.4"/>
		<fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5"/>
		
		<tipReferencePoints>
			<tipReferencePoint index="0>11" width="1"/>
		</tipReferencePoints>
		
		<tipAnimations>
			<tipAnimation speedScale="1" closeSpeedScale="-1.7" animationName="tipAnimationBack" dischargeStartTime="0" dischargeEndTime="240" name="info_tipSideBack">
				<tipEffect>
					<effectNode effectNode="0>10|2" materialType="unloading" materialTypeId="3" fadeTime="0.5"/>
					<effectNode effectNode="0>10|3" materialType="smoke"     materialTypeId="1" fadeTime="0.5"/>
				</tipEffect>
				<emitterShape node="0>10|4" />
				<fillVolume>
					<unloadInfo index="1"/>
					<height index="1"/>
				</fillVolume>
			</tipAnimation>
		</tipAnimations>
    
	<fillRootNode index="0>"/>
    <exactFillRootNode index="0>8"/>
    <fillAutoAimTargetNode index="0>13"/>
    <fillMassNode index="0>"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4"/>
    
	<fillUnits>
        <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="22785"/>
    </fillUnits>
    
	<extraWheels>
        <extraWheel repr="0>0" driveNode="0>0|0" rotYActor="1>" rotXActor="1>2"/>
        <extraWheel repr="0>1" driveNode="0>1|0" rotYActor="1>" rotXActor="1>3"/>
    </extraWheels>
    
	<parts count="2">
        <part1 index="0>17"/>
    </parts>
    <parts3 count="2">
        <part1 index="0>18"/>
    </parts3>
    <parts4 count="2">
        <part1 index="0>14"/>
    </parts4>
    
	<components count="3">
        <component1 centerOfMass="0 0 -0.7" solverIterationCount="20"/>
        <component2 centerOfMass="0 0 0" solverIterationCount="20"/>
        <component3 centerOfMass="0.00 -0.01 1.12" solverIterationCount="20"/>
        <joint component1="0" component2="1" index="0>14" rotLimit="0 40 0" transLimit="0 0 0"/>
        <joint component1="1" component2="2" index="1>1" rotLimit="60 0 0" transLimit="0 0 0"/>
    </components>
    
    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>    
	
	<storeData>
        <name>
            <en>980</en>
            <de>980</de>
        </name>
        <functions/>
        <specs/>
        <image>store.png</image>
        <price>17899</price>
        <dailyUpkeep>1</dailyUpkeep>
        <lifetime>1200</lifetime>
        <rotation>180</rotation>
        <brand>GEHL</brand>
        <category>loaderWagons</category>
    </storeData>
</vehicle>
