<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="dynamicMountAttacherTrailer" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://validation.gdn.giants-software.com/xml/fs22/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name params="$l10n_storeItem_headerTrailer">VARIO 770 %s</name>
        <specs>
            <combination xmlFilename="xml/vario770.xml"/>
        </specs>
        <functions>
            <function>$l10n_function_cutterTrailer</function>
        </functions>
        <image>store/store_vario770Trailer.png</image>
        <price>7950</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>CLAAS</brand>
        <category>cutterTrailers</category>
        <shopTranslationOffset>0 0.003 0</shopTranslationOffset>
        <shopRotationOffset>0.313 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>571216</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>112128</indexBufferMemoryUsage>
        <textureMemoryUsage>22500872</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_cutterTrailer</typeDesc>
        <filename>vario770Trailer/vario770Trailer.i3d</filename>
        <size width="3.5" length="12"/>
        <components>
            <component centerOfMass="0 0.5 -1" solverIterationCount="10" mass="2315"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>

     <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG" saveId="TRELLEBORG_DEFAULT">
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/300_80R15_3.xml" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.1" repr="wheelLeft"  forcePointRatio="0.3" initialCompression="25" suspTravel="0.12" spring="33" damper="40"/>
                        <wheelChock parkingNode="wheelChock01" />
                        <wheelChock parkingNode="wheelChock02" isInverted="true" />
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/trelleborg/AW305/300_80R15_3.xml" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics restLoad="1.1" repr="wheelRight" forcePointRatio="0.3" initialCompression="25" suspTravel="0.12" spring="33" damper="40" />
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <hubs>
            <hub linkNode="wheelLeft"  filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="true"  scale="0.1 0.18 0.18" />
            <hub linkNode="wheelRight" filename="$data/shared/wheels/hubs/hub_n6_1.xml" isLeft="false" scale="0.1 0.18 0.18" />
        </hubs>
    </wheels>
	
	<rimColorConfigurations useDefaultColors="false" price="250">
        <rimColorConfiguration name="$l10n_configuration_claas_red" color="CLAAS_RED1" material="0"/>
		<rimColorConfiguration name="$l10n_configuration_claas_green" color="CLAAS_GREEN1" material="0"/>
        <rimColorConfiguration name="$l10n_configuration_claas_grey" color="CLAAS_DARKGREY2" material="0"/>
		<rimColorConfiguration name="$l10n_configuration_claas_usa" color="CHALLENGER_YELLOW1" material="0"/>
    </rimColorConfigurations>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="trailer" attacherHeight="0.77"/>
        </inputAttacherJoints>
        <support animationName="moveSupport" />
        <brakeForce force="0.6"/>
    </attachable>

    <licensePlates>
        <licensePlate node="licensePlateBack"  position="BACK"  preferedType="SQUARISH" placementArea="0.03 0.15 0.08 0.15"/>
    </licensePlates>

    <lights>
        <sharedLight linkNode="rear3ChamberLight_03"     filename="$data/shared/assets/lights/lizard/rearLight10_left.xml" />
        <sharedLight linkNode="rear3ChamberLight_04"     filename="$data/shared/assets/lights/lizard/rearLight10_right.xml" />
        <sharedLight linkNode="redRound_03"              filename="$data/shared/assets/reflectors/lizard/redRound_02.xml" />
        <sharedLight linkNode="redRound_04"              filename="$data/shared/assets/reflectors/lizard/redRound_02.xml" />
        <sharedLight linkNode="reflectorYellowRound_03"  filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_04"  filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_05"  filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_06"  filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_07"  filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_08"  filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_09"  filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_10"  filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_11"  filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="reflectorYellowRound_12"  filename="$data/shared/assets/reflectors/lizard/yellowRound_03.xml" />
        <sharedLight linkNode="redRound_03"              filename="$data/shared/assets/reflectors/lizard/redRound_03.xml" />
        <sharedLight linkNode="redRound_04"              filename="$data/shared/assets/reflectors/lizard/redRound_03.xml" />
        <sharedLight linkNode="redTriangle_01"           filename="$data/shared/assets/reflectors/lizard/redTriangle_01.xml" />
        <sharedLight linkNode="redTriangle_02"           filename="$data/shared/assets/reflectors/lizard/redTriangle_01.xml" />
        <sharedLight linkNode="sideMarker_09OrangeLeft"  filename="$data/shared/assets/lights/lizard/sideMarker10Orange.xml" />
        <sharedLight linkNode="sideMarker_09OrangeRight" filename="$data/shared/assets/lights/lizard/sideMarker10Orange.xml" />

        <realLights>
            <high>
                <light node="backLightsHigh1" lightTypes="0" />
                <light node="licensePlateLightHigh" lightTypes="0" />
                <turnLightLeft node="turnLightLeftBack" />
                <turnLightRight node="turnLightRightBack" />
                <brakeLight node="backLightsHigh1" />
            </high>
        </realLights>

        <beaconLights>
			<beaconLight node="beaconLight01" speed="0.015" filename="$data/shared/assets/beaconLights/lizard/beaconLight07.xml" />
		  
			<beaconLight node="beaconLight02" filename="beaconLights/beaconLight09.xml" />
		   
			<beaconLight node="beaconLight03" filename="beaconLights/hellaRotaLed_FL.xml" />
		   
			<beaconLight node="beaconLight04" filename="beaconLights/beaconLight08.xml" />
			
			<beaconLight node="beaconLight05" filename="$data/shared/assets/beaconLights/lizard/beaconLight09.xml" />
			
			<beaconLight node="beaconLight06" filename="$data/shared/assets/beaconLights/lizard/beaconLight10.xml" />
        </beaconLights>
    </lights>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|1" linkNode="electricNode_adapter"  filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="electric"  node="electricNode"  length="1" diameter="0.01" straighteningFactor="1.5" >
            <objectChange node="detachedHose" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <dynamicMountAttacher triggerNode="dynamicMountTrigger" rootNode="sww770_main_component1" jointNode="sww770_main_component1" forceAcceleration="500" mountType="TYPE_AUTO_ATTACH_XZ" transferMass="true">
        <lockPosition xmlFilename="vario770/vario770.xml" jointNode="cutterJointNodeVario" />
    </dynamicMountAttacher>

    <animations>
        <animation name="moveSupport">
            <part node="supportCol"       startTime="0" endTime="1" startTrans="0 0.648 2.426" endTrans="0 0.261 2.426" />
            <part node="supportArm"       startTime="0" endTime="1" startTrans="0 0.183 0" endTrans="0 0 0" />
            <part node="supportArmWinder" startTime="0" endTime="1" startRot="0 720 0" endRot="0 -720 0" />

            <sound template="slideOpen"  startTime="0.99" direction="-1" volumeScale="1.6" pitchScale="1"   linkNode="attacherJoint"/>
            <sound template="slideOpen"  startTime="0.01" direction="1"  volumeScale="1.6" pitchScale="1"   linkNode="attacherJoint"/>
            <sound template="clackVar6"  startTime="0.01" direction="-1" volumeScale="1.3" pitchScale="1"   linkNode="attacherJoint"/>
            <sound template="sheetImp02" startTime="0.01" direction="-1" volumeScale="1"   pitchScale="1.5" linkNode="attacherJoint"/>
        </animation>
    </animations>

    <ai>
        <agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2" width="2.8" height="2.2" length="10" lengthOffset="1.2"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.45" maxX="0.65" minZ="-5.7" maxZ="2.6" yOffset="0.4" />
        <bendingNode minX="-1.28" maxX="1.28" minZ="-2.5" maxZ="-1.5" yOffset="0.4" />
    </foliageBending>

    <baseMaterial>
        <material name="claasSWW_mat" baseNode="sww770_vis">
            <shaderParameter name="colorMat0" value="CLAAS_GREEN1"/>
			<shaderParameter name="colorMat1" value="CLAAS_DARKGREY2"/>
			<shaderParameter name="colorMat2" value="CLAAS_WHITE1"/>
        </material>
    </baseMaterial>
	
	<baseMaterialConfigurations useDefaultColors="false" defaultColorIndex="0">
        <baseMaterialConfiguration name="$l10n_configuration_claas_green" color="CLAAS_GREEN1" material="0"/>
		<baseMaterialConfiguration name="$l10n_configuration_claas_white" color="CLAAS_WHITE1" material="0" price="1500"/>
		<baseMaterialConfiguration name="$l10n_configuration_claas_grey" color="CLAAS_DARKGREY2" material="0" price="1500"/>
		<baseMaterialConfiguration name="$l10n_configuration_claas_usa" color="CHALLENGER_YELLOW1" material="0" price="1500"/>
		<material name="claasSWW_mat" shaderParameter="colorMat0" />
		<material name="claasSWW_mat" shaderParameter="colorMat2" />
	</baseMaterialConfigurations>
	
	<designMaterialConfigurations useDefaultColors="false" defaultColorIndex="0">
	    <designMaterialConfiguration name="$l10n_configuration_claas_grey" color="CLAAS_DARKGREY2" material="0" price="0"/>
		<designMaterialConfiguration name="$l10n_configuration_claas_white" color="CLAAS_WHITE1" material="0" rice="1500"/>
		<designMaterialConfiguration name="$l10n_configuration_claas_green" color="CLAAS_GREEN1" material="0" price="1500"/>
		<designMaterialConfiguration name="$l10n_configuration_claas_usa" color="CHALLENGER_YELLOW1" material="0" price="1500"/>
		<material name="claasSWW_mat" shaderParameter="colorMat1" />
	</designMaterialConfigurations>
	
	<vehicleTypeConfigurations>
        <vehicleTypeConfiguration name="$l10n_configuration_decals_red" price="0" vehicleType="dynamicMountAttacherTrailer">
			<objectChange node="decals_red" visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="decals_green" visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="decals_grey" visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="decals_white" visibilityActive="false" visibilityInactive="true"/>
		</vehicleTypeConfiguration>
		<vehicleTypeConfiguration name="$l10n_configuration_decals_green" price="500" vehicleType="dynamicMountAttacherTrailer">
			<objectChange node="decals_red" visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="decals_green" visibilityActive="true" visibilityInactive="false"/>			
			<objectChange node="decals_grey" visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="decals_white" visibilityActive="false" visibilityInactive="true"/>
		</vehicleTypeConfiguration>
        <vehicleTypeConfiguration name="$l10n_configuration_decals_grey" price="500" vehicleType="dynamicMountAttacherTrailer">
			<objectChange node="decals_red" visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="decals_green" visibilityActive="false" visibilityInactive="true"/>	
			<objectChange node="decals_grey" visibilityActive="true" visibilityInactive="false"/>
			<objectChange node="decals_white" visibilityActive="false" visibilityInactive="true"/>
		</vehicleTypeConfiguration>
			<vehicleTypeConfiguration name="$l10n_configuration_decals_white" price="500" vehicleType="dynamicMountAttacherTrailer">
			<objectChange node="decals_red" visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="decals_green" visibilityActive="false" visibilityInactive="true"/>	
			<objectChange node="decals_grey" visibilityActive="false" visibilityInactive="true"/>
			<objectChange node="decals_white" visibilityActive="true" visibilityInactive="false"/>
		</vehicleTypeConfiguration>				
     </vehicleTypeConfigurations>	

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
	<designConfigurations title="$l10n_configuration_rul" >
	    <designConfiguration name="normal"     price="0">
		    <objectChange node="beaconLight01" visibilityActive="true" visibilityInactive="false"/>
			
			<objectChange node="beaconLight02" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight03" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight04" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight05" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight06" visibilityActive="false" visibilityInactive="true"/>
		</designConfiguration>
		
		<designConfiguration name="Fendt"     price="250">
		    <objectChange node="beaconLight01" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight02" visibilityActive="true" visibilityInactive="false"/>
			
			<objectChange node="beaconLight03" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight04" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight05" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight06" visibilityActive="false" visibilityInactive="true"/>
		</designConfiguration>
		
		<designConfiguration name="Hella"     price="250">
		    <objectChange node="beaconLight01" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight02" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight03" visibilityActive="true" visibilityInactive="false"/>
			
			<objectChange node="beaconLight04" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight05" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight06" visibilityActive="false" visibilityInactive="true"/>
		</designConfiguration>
		
		<designConfiguration name="Crawer"     price="250">
		    <objectChange node="beaconLight01" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight02" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight03" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight04" visibilityActive="true" visibilityInactive="false"/>
			
			<objectChange node="beaconLight05" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight06" visibilityActive="false" visibilityInactive="true"/>
		</designConfiguration>
		
		<designConfiguration name="Lizard LED orange"     price="250">
		    <objectChange node="beaconLight01" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight02" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight03" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight04" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight05" visibilityActive="true" visibilityInactive="false"/>
			
			<objectChange node="beaconLight06" visibilityActive="false" visibilityInactive="true"/>
		</designConfiguration>
		
		<designConfiguration name="Lizard LED weiss"     price="250">
		    <objectChange node="beaconLight01" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight02" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight03" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight04" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight05" visibilityActive="false" visibilityInactive="true"/>
			
			<objectChange node="beaconLight06" visibilityActive="true" visibilityInactive="false"/>
		</designConfiguration>
	</designConfigurations>

    <i3dMappings>
        <i3dMapping id="sww770_main_component1" node="0>" />
        <i3dMapping id="sww770_vis" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>0|0|0" />
        <i3dMapping id="supportArm" node="0>0|0|1|0|0" />
        <i3dMapping id="supportArmWinder" node="0>0|0|1|1" />
        <i3dMapping id="supportCol" node="0>0|0|1|2" />
        <i3dMapping id="electricNode" node="0>0|0|2|0" />
        <i3dMapping id="detachedHose" node="0>0|0|2|0|0" />
        <i3dMapping id="electricNode_adapter" node="0>0|0|2|0|0|0" />
        <i3dMapping id="wheelLeft" node="0>0|1|0" />
        <i3dMapping id="wheelRight" node="0>0|1|1" />
        <i3dMapping id="wheelChock01" node="0>0|1|2" />
        <i3dMapping id="wheelChock02" node="0>0|1|3" />
        <i3dMapping id="reflectorYellowRound_03" node="0>0|2|0|0" />
        <i3dMapping id="reflectorYellowRound_04" node="0>0|2|0|1" />
        <i3dMapping id="reflectorYellowRound_05" node="0>0|2|0|2" />
        <i3dMapping id="reflectorYellowRound_06" node="0>0|2|0|3" />
        <i3dMapping id="reflectorYellowRound_07" node="0>0|2|0|4" />
        <i3dMapping id="reflectorYellowRound_08" node="0>0|2|0|5" />
        <i3dMapping id="reflectorYellowRound_09" node="0>0|2|0|6" />
        <i3dMapping id="reflectorYellowRound_10" node="0>0|2|0|7" />
        <i3dMapping id="reflectorYellowRound_11" node="0>0|2|0|8" />
        <i3dMapping id="reflectorYellowRound_12" node="0>0|2|0|9" />
        <i3dMapping id="redRound_03" node="0>0|2|0|10" />
        <i3dMapping id="redRound_04" node="0>0|2|0|11" />
        <i3dMapping id="redTriangle_01" node="0>0|2|0|12" />
        <i3dMapping id="redTriangle_02" node="0>0|2|0|13" />
        <i3dMapping id="rear3ChamberLight_03" node="0>0|2|0|14" />
        <i3dMapping id="rear3ChamberLight_04" node="0>0|2|0|15" />
        <i3dMapping id="sideMarker_09OrangeLeft" node="0>0|2|0|16" />
        <i3dMapping id="sideMarker_09OrangeRight" node="0>0|2|0|17" />
        <i3dMapping id="backLightsHigh1" node="0>0|2|1|0" />
        <i3dMapping id="turnLightLeftBack" node="0>0|2|2|0" />
        <i3dMapping id="turnLightRightBack" node="0>0|2|2|1" />
        <i3dMapping id="beaconLight01" node="0>0|2|3" />
		<i3dMapping id="beaconLight02" node="0>0|2|5" />
		<i3dMapping id="beaconLight03" node="0>0|2|6" />
		<i3dMapping id="beaconLight04" node="0>0|2|7" />
		<i3dMapping id="beaconLight05" node="0>0|2|8" />
		<i3dMapping id="beaconLight06" node="0>0|2|9" />
        <i3dMapping id="licensePlateLightHigh" node="0>0|2|4" />
        <i3dMapping id="dynamicMountTrigger" node="0>0|3" />
        <i3dMapping id="cutterJointNodeVario" node="0>0|4" />
        <i3dMapping id="licensePlateBack" node="0>0|6" />
		<i3dMapping id="decals_red" node="0>0|5|2" />
		<i3dMapping id="decals_green" node="0>0|5|3" />
		<i3dMapping id="decals_grey" node="0>0|5|4" />
		<i3dMapping id="decals_white" node="0>0|5|5" />
	</i3dMappings>
</vehicle>
