<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="SemiFuel" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation> Build By FS Miner For FS22 7-2024</annotation>

    <storeData>
		<name>
			<en>Aluminium Tank Semitrailer</en>
		</name>        
        <functions>
            <function>$l10n_function_fuelTrailer</function>
        </functions>
        <storePacks>
            <storePack>FSM_CREATIONS_MISCTRAILERS</storePack>
        </storePacks>
        <image>store_tabnkr.dds</image>
        <price>125000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>SCHWARZMUELLER</brand>
        <category>trailersSemi</category>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_fuelTrailer</typeDesc>
        <filename>SchwarzmullerTanker.i3d</filename>
        <size width="3" length="7.8" />
        <components>
            <component centerOfMass="0 0.641 0" solverIterationCount="30" mass="8000" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
        <mapHotspot type="TRAILER" />		
    </base>

  <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" saveId="DEFAULT" brand="CONTINENTAL">
                <wheels>
                    <wheel filename="$data/shared/wheels/tires/continental/contiCrossTracHS3/385_65R22_5.xml" configId="truckTrailer02" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0"  restLoad="1.2" repr="WFL"   forcePointRatio="0.25" initialCompression="10" suspTravel="0.08" spring="125" damper="75" frictionScale="1.6" yOffset="-0.0042"/>
                       
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/continental/contiCrossTracHS3/385_65R22_5.xml" configId="truckTrailer02" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0"  restLoad="1.2" repr="WFR"  forcePointRatio="0.25" initialCompression="10" suspTravel="0.08" spring="125" damper="75" frictionScale="1.6" yOffset="-0.0042"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/continental/contiCrossTracHS3/385_65R22_5.xml" configId="truckTrailer02" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0"  restLoad="1.2" repr="WML"  forcePointRatio="0.25" initialCompression="10" suspTravel="0.08" spring="125" damper="75" frictionScale="2.0" yOffset="-0.002"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/continental/contiCrossTracHS3/385_65R22_5.xml" configId="truckTrailer02" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0"  restLoad="1.2" repr="WMR" forcePointRatio="0.25" initialCompression="10" suspTravel="0.08" spring="125" damper="75" frictionScale="2.0" yOffset="-0.002"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/continental/contiCrossTracHS3/385_65R22_5.xml" configId="truckTrailer02" isLeft="true" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0"  restLoad="1.2" repr="WRL"    forcePointRatio="0.25" initialCompression="10" suspTravel="0.08" spring="125" damper="75" frictionScale="2.4"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/tires/continental/contiCrossTracHS3/385_65R22_5.xml" configId="truckTrailer02" isLeft="false" hasTireTracks="true" hasParticles="true" >
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0"  restLoad="1.2" repr="WRR"   forcePointRatio="0.25" initialCompression="10" suspTravel="0.08" spring="125" damper="75" frictionScale="2.4"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>
	  
    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="semitrailer"  />
        </inputAttacherJoints>
        <support animationName="moveSupport" />
        <brakeForce force="4"  />
        <airConsumer usage="0.3" />
        <support animationName="moveSupport" />
		<sounds>
            <active file="$data/sounds/tools/trailer/trailerRattle_02.wav" innerRadius="10" outerRadius="50" volumeScale="2.5" isLocalSound="true" pitchScale="0.8">
                <volume indoor="0.6" outdoor="0.9" >
                    <modifier type="WHEEL_SUSPENSION" value="-0.04" modifiedValue="0.3"/>
                    <modifier type="WHEEL_SUSPENSION" value="-0.02" modifiedValue="0.2"/>
                    <modifier type="WHEEL_SUSPENSION" value="-0.00" modifiedValue="0.0"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.02" modifiedValue="0.2"/>
                    <modifier type="WHEEL_SUSPENSION" value="0.04" modifiedValue="0.3"/>

                    <modifier type="SPEED" value="0.0" modifiedValue="0.0"/>
                    <modifier type="SPEED" value="2.0" modifiedValue="1.0"/>
                    <modifier type="SPEED" value="40.0" modifiedValue="1.0"/>
                </volume>
                <lowpassCutoffFrequency indoor="300" outdoor="20000" />
                <lowpassGain indoor="0.7" outdoor="1" />
            </active>
        </sounds>
    </attachable>

   <lights>
   
        <sharedLight linkNode="plateNumberLight01"      filename="$data/shared/assets/lights/lizard/plateNumberLight01.xml"/>
        <sharedLight linkNode="plateNumberLight011"      filename="$data/shared/assets/lights/lizard/plateNumberLight01.xml"/>
        <sharedLight linkNode="sideMarker24_left"      filename="$data/shared/assets/lights/lizard/sideMarker24_left.xml"/>
        <sharedLight linkNode="sideMarker24_right"      filename="$data/shared/assets/lights/lizard/sideMarker24_right.xml"/>
        <sharedLight linkNode="rearLight06_left"      filename="$data/shared/assets/lights/lizard/rearLight06_left.xml"/>
        <sharedLight linkNode="rearLight06_right"      filename="$data/shared/assets/lights/lizard/rearLight06_right.xml"/>
        <sharedLight linkNode="rearLight31_left"      filename="$data/shared/assets/lights/lizard/rearLight31_left.xml"/>
        <sharedLight linkNode="rearLight31_right"      filename="$data/shared/assets/lights/lizard/rearLight31_right.xml"/>
		
        <sharedLight linkNode="sideMarker30Orange1"      filename="$data/shared/assets/lights/lizard/sideMarker30Orange.xml"/>
        <sharedLight linkNode="sideMarker30Orange2"      filename="$data/shared/assets/lights/lizard/sideMarker30Orange.xml"/>
        <sharedLight linkNode="sideMarker30Orange3"      filename="$data/shared/assets/lights/lizard/sideMarker30Orange.xml"/>
        <sharedLight linkNode="sideMarker30Orange4"      filename="$data/shared/assets/lights/lizard/sideMarker30Orange.xml"/>
        <sharedLight linkNode="sideMarker30Orange5"      filename="$data/shared/assets/lights/lizard/sideMarker30Orange.xml"/>
        <sharedLight linkNode="sideMarker30Orange6"      filename="$data/shared/assets/lights/lizard/sideMarker30Orange.xml"/>
        <sharedLight linkNode="sideMarker30Orange7"      filename="$data/shared/assets/lights/lizard/sideMarker30Orange.xml"/>
        <sharedLight linkNode="sideMarker30Orange8"      filename="$data/shared/assets/lights/lizard/sideMarker30Orange.xml"/>
		
		 <realLights>
            <low>
                 <light node="backLightsHigh" lightTypes="0"/>
                <turnLightLeft node="turnLightLeftBack"/>
                <turnLightRight node="turnLightRightBack"/>
                <brakeLight node="backLightsHigh"/>
                <reverseLight node="reverseLight"/>
                <light node="yellowLight1" lightTypes="0"/>
                <light node="yellowLight2" lightTypes="0"/>
				
            </low>
            <high>
                 <light node="backLightsHigh" lightTypes="0"/>
                 <light node="licensePlateLightHigh" lightTypes="0"/>
                <turnLightLeft node="turnLightLeftBack"/>
                <turnLightRight node="turnLightRightBack"/>
                <brakeLight node="backLightsHigh"/>
                <brakeLight node="backLightsHigh2"/>
                <reverseLight node="reverseLight"/>
                <light node="yellowLight1" lightTypes="0"/>
                <light node="yellowLight2" lightTypes="0"/>
            </high>
        </realLights> 
		
    </lights>  
	
	 <licensePlates>
        <licensePlate node="licensePlateBack" position="BACK" preferedType="ELONGATED" placementArea="0.13 0.18 0.04 0.18"/>
    </licensePlates>
	
	 <animations>
	
        <animation name="moveSupport">
            <part node="supportFeet"  	startTime="0.0" endTime="0.5" endTrans="0 -0.101 0" startTrans="0 0.244 0"  />		
			
            <sound template="clackVar6"             startTime="0.01" direction="-1" volumeScale="1.4" pitchScale="0.8" linkNode="attacherJoint"/>
            <sound template="clackVar1"             startTime="0.4"  direction="1"  volumeScale="2.5" pitchScale="0.8" linkNode="attacherJoint"/>

        </animation>
		
    </animations>
	
	   <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unitTextOverride="$l10n_unit_literShort" fillTypeCategories="LIQUID SPRAYER SPREADER SLURRYTANK" capacity="40000" >
                       <!--  <dashboard displayType="ANIMATION" valueType="fillLevel" animName="fillLevel" /> -->
                        <exactFillRootNode node="exactFillRootNode" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <dischargeable>
        <dischargeNode node="dischargeNode" emptySpeed="3500" fillUnitIndex="1" canDischargeToGround="false">
            <info width="1.0" length="0.5" zOffset="0.4" />
            <trigger node="dischargeTrigger" />
        </dischargeNode>
    </dischargeable>

    <waterTrailer fillUnitIndex="1" fillLitersPerSecond="3500" fillNode="0>">
        <sounds>
            <refill template="defaultRefuelSound" linkNode="0>" />
        </sounds>
		
    </waterTrailer>
	
	<fillTriggerVehicle triggerNode="fuelTrigger" fillUnitIndex="1" />
	
    <ai>
        <agentAttachment jointNode="attacherJoint" rotCenterWheelIndices="1 2 3 4 5 6" width="2.6" height="4" length="14.8" lengthOffset="3.4"/>
    </ai>
	
    <wearable wearDuration="480" workMultiplier="2" fieldMultiplier="1"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
	<foliageBending>
        <bendingNode minX="-1.35" maxX="1.35" minZ="-3.15" maxZ="3.1" yOffset="0.5"/>
    </foliageBending>
	
	  <connectionHoses>
        <hose inputAttacherJointIndices="1" type="electric"        node="electric_socket"        length="1.6" diameter="0.09" minCenterPointOffset="0 -0.2 0.2" maxCenterPointOffset="0 0.2 2" straighteningFactor="0.2" isTwoPointHose="false" outgoingAdapter="DEFAULT" socket="electric" materialTemplateName="GOLDHOFER_BLUE"  />
        <hose inputAttacherJointIndices="1" type="airDoubleRed"    node="airDoubleRed_socket"    length="1.6" diameter="0.09" minCenterPointOffset="0 -0.2 0.2" maxCenterPointOffset="0 0.2 2" straighteningFactor="0.2" isTwoPointHose="false" outgoingAdapter="DEFAULT" socket="air_red"  materialTemplateName="SALFORD_RED1"  />
        <hose inputAttacherJointIndices="1" type="airDoubleYellow" node="airDoubleYellow_socket" length="1.6" diameter="0.09" minCenterPointOffset="0 -0.2 0.2" maxCenterPointOffset="0 0.2 2" straighteningFactor="0.2" isTwoPointHose="false"  outgoingAdapter="DEFAULT" socket="air_yellow" materialTemplateName="SHARED_YELLOW1" />
      
		<sounds>
            <connect    type="airDoubleYellow" template="attachAirBrake" volumeScale="0.7" linkNode="attacherJoint"/>
            <connect    type="airDoubleRed" template="hydraulicHosesAttach" volumeScale="0.7" linkNode="attacherJoint"/>
            <connect    type="electric"     template="generalConnection"    volumeScale="0.7" linkNode="attacherJoint"/>
            <disconnect type="airDoubleRed" template="hydraulicHosesDetach" volumeScale="0.7" linkNode="attacherJoint"/>
            <disconnect type="electric"     template="generalConnection"    volumeScale="0.7" linkNode="attacherJoint"/>
            <connect    type="airDoubleYellow" template="detachAirBrake" volumeScale="0.7" linkNode="attacherJoint"/>
        </sounds>
		
   </connectionHoses>
	
	<design2Configurations title="ADR Decals">
        <design2Configuration name="All Liquids" price="0">
        </design2Configuration>
		<design2Configuration name="Fuel Tanker" price="400">
            <objectChange node="bodyAdr"    scaleActive="1 1 1"  scaleInactive="0 0 0"/>
        </design2Configuration>
	</design2Configurations>
	
	 <baseColorConfigurations useDefaultColors="true" defaultColorIndex="1" title="Base Color" >

        <material materialSlotName="main_mat" materialTemplateUseColorOnly="true"  />
    </baseColorConfigurations>
	
	  <rimColorConfigurations useDefaultColors="true"  >
        <rimColorConfiguration materialTemplateName="RIM_DEFAULT"/>
        <rimColorConfiguration materialTemplateName="RIM_CONFIGURATION_CHROME" price="1000"/>
        <rimColorConfiguration materialTemplateName="RIM_CONFIGURATION_WHITE"/>
        <rimColorConfiguration materialTemplateName="RIM_CONFIGURATION_BLACK"/>
    </rimColorConfigurations>
	
<i3dMappings>
  <i3dMapping id="mainComp" node="0>" />
  <i3dMapping id="mainVis" node="0>0" />
  <i3dMapping id="animations" node="0>0|0" />
  <i3dMapping id="support" node="0>0|0|0" />
  <i3dMapping id="supportFeet" node="0>0|0|0|0" />
  <i3dMapping id="col.001" node="0>0|0|0|0|0" />
  <i3dMapping id="airSusp" node="0>0|0|1" />
  <i3dMapping id="axle" node="0>0|0|2" />
  <i3dMapping id="WFL" node="0>0|0|2|0" />
  <i3dMapping id="WFR" node="0>0|0|2|1" />
  <i3dMapping id="attacher" node="0>0|1" />
  <i3dMapping id="attacherJoint" node="0>0|1|0" />
  <i3dMapping id="attacherPart" node="0>0|1|1" />
  <i3dMapping id="bodyVis" node="0>0|2" />
  <i3dMapping id="licensePlateBack" node="0>0|2|0" />
  <i3dMapping id="body1.001" node="0>0|2|1" />
  <i3dMapping id="body1.002" node="0>0|2|2" />
  <i3dMapping id="bodyAdr" node="0>0|2|3" />
  <i3dMapping id="Adrdecals1.001" node="0>0|2|3|0" />
  <i3dMapping id="hoses" node="0>0|2|4" />
  <i3dMapping id="airDoubleRed_socket" node="0>0|2|4|0" />
  <i3dMapping id="airDoubleYellow_socket" node="0>0|2|4|1" />
  <i3dMapping id="electric_socket" node="0>0|2|4|2" />
  <i3dMapping id="body1" node="0>0|2|5" />
  <i3dMapping id="Adrdecals1" node="0>0|2|5|0" />
  <i3dMapping id="lights" node="0>0|3" />
  <i3dMapping id="lights3D" node="0>0|3|0" />
  <i3dMapping id="plateNumberLight01" node="0>0|3|0|0" />
  <i3dMapping id="plateNumberLight011" node="0>0|3|0|1" />
  <i3dMapping id="sideMarker24_left" node="0>0|3|0|2" />
  <i3dMapping id="sideMarker24_right" node="0>0|3|0|3" />
  <i3dMapping id="rearLight06_left" node="0>0|3|0|4" />
  <i3dMapping id="rearLight06_right" node="0>0|3|0|5" />
  <i3dMapping id="rearLight31_left" node="0>0|3|0|6" />
  <i3dMapping id="rearLight31_right" node="0>0|3|0|7" />
  <i3dMapping id="sideMarker30Orange1" node="0>0|3|0|8" />
  <i3dMapping id="sideMarker30Orange2" node="0>0|3|0|9" />
  <i3dMapping id="sideMarker30Orange3" node="0>0|3|0|10" />
  <i3dMapping id="sideMarker30Orange4" node="0>0|3|0|11" />
  <i3dMapping id="sideMarker30Orange5" node="0>0|3|0|12" />
  <i3dMapping id="sideMarker30Orange6" node="0>0|3|0|13" />
  <i3dMapping id="sideMarker30Orange7" node="0>0|3|0|14" />
  <i3dMapping id="sideMarker30Orange8" node="0>0|3|0|15" />
  <i3dMapping id="lightsReal" node="0>0|3|1" />
  <i3dMapping id="defaultLights" node="0>0|3|1|0" />
  <i3dMapping id="backLightsHigh" node="0>0|3|1|0|0" />
  <i3dMapping id="backLightsHigh1" node="0>0|3|1|0|0|0" />
  <i3dMapping id="backLightsHigh2" node="0>0|3|1|0|1" />
  <i3dMapping id="turnLights" node="0>0|3|1|1" />
  <i3dMapping id="turnLeft" node="0>0|3|1|1|0" />
  <i3dMapping id="turnLightLeftBack" node="0>0|3|1|1|0|0" />
  <i3dMapping id="turnRight" node="0>0|3|1|1|1" />
  <i3dMapping id="turnLightRightBack" node="0>0|3|1|1|1|0" />
  <i3dMapping id="reverseLights" node="0>0|3|1|2" />
  <i3dMapping id="reverseLight" node="0>0|3|1|2|0" />
  <i3dMapping id="licensePlateLightHigh" node="0>0|3|1|3" />
  <i3dMapping id="licensePlateLight1High" node="0>0|3|1|3|0" />
  <i3dMapping id="yellowLight1" node="0>0|3|1|4" />
  <i3dMapping id="yellowLight_0" node="0>0|3|1|4|0" />
  <i3dMapping id="yellowLight_1" node="0>0|3|1|4|1" />
  <i3dMapping id="yellowLight_2" node="0>0|3|1|4|2" />
  <i3dMapping id="yellowLight2" node="0>0|3|1|5" />
  <i3dMapping id="yellowLight_3" node="0>0|3|1|5|0" />
  <i3dMapping id="yellowLight_4" node="0>0|3|1|5|1" />
  <i3dMapping id="yellowLight_5" node="0>0|3|1|5|2" />
  <i3dMapping id="mainCol" node="0>0|4" />
  <i3dMapping id="wheels" node="0>0|5" />
  <i3dMapping id="WML" node="0>0|5|0" />
  <i3dMapping id="WMR" node="0>0|5|1" />
  <i3dMapping id="WRL" node="0>0|5|2" />
  <i3dMapping id="WRR" node="0>0|5|3" />
  <i3dMapping id="FillNodes" node="0>0|6" />
  <i3dMapping id="waterTrigger" node="0>0|6|0" />
  <i3dMapping id="exactFillRootNode" node="0>0|6|1" />
  <i3dMapping id="discharge" node="0>0|6|2" />
  <i3dMapping id="dischargeNode" node="0>0|6|2|0" />
  <i3dMapping id="dischargeTrigger" node="0>0|6|2|1" />
  <i3dMapping id="fuelTrigger" node="0>0|6|3" />
</i3dMappings>
</vehicle>