<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="ferry">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>Transport Barge</name>
        <specs>
            <power>4350</power>
            <maxSpeed>20</maxSpeed>
        </specs>
        <functions>
            <function>Transport Barge</function>
        </functions>
        <image>store/store_barge.dds</image>
        <price>270000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>RGC</brand>
        <category>miscDrivables</category>
        <vertexBufferMemoryUsage>321456</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>44226</indexBufferMemoryUsage>
        <textureMemoryUsage>14499984</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>
        <typeDesc>Ferry</typeDesc>
        <filename>barge.i3d</filename>
        <size width="6" length="18"/>
        <components>
            <component centerOfMass="0 4.5 0" solverIterationCount="40" mass="40000"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="VEHICLE" />
		<tailwaterDepth warning="5.0" threshold="10.0"/>
    </base>
    <wheels>
        <wheelConfigurations>
             <wheelConfiguration name="2019 Ram Aluminum" price="0">
                <wheels autoRotateBackSpeed="2.8">
					<wheel isLeft="true"  hasTireTracks="false" hasParticles="false">
                        <physics rotSpeed="0" restLoad="5"  repr="0>0|0"  	forcePointRatio="0.5" initialCompression="50" radius="2" radiusSea="1" width="1" mass="0.85" tireType="mud" suspTravel="0.8" spring="100" damper="8" brakeFactor="0.55" frictionScale="10"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
					<wheel isLeft="false" hasTireTracks="false" hasParticles="false">
                        <physics rotSpeed="0" restLoad="5"  repr="0>0|1"  	forcePointRatio="0.5" initialCompression="50" radius="2" radiusSea="1" width="1" mass="0.85" tireType="mud" suspTravel="0.8" spring="100" damper="8" brakeFactor="0.55" frictionScale="10"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
					<wheel isLeft="true"  hasTireTracks="false" hasParticles="false">
                        <physics rotSpeed="0" restLoad="3"   repr="0>0|2"  	forcePointRatio="0.5" initialCompression="50" radius="2" radiusSea="1" width="1" mass="0.85" tireType="mud" suspTravel="0.8" spring="100" damper="8" brakeFactor="0.55" frictionScale="10"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
					<wheel isLeft="false" hasTireTracks="false" hasParticles="false">
                        <physics rotSpeed="0" restLoad="3"   repr="0>0|3"  	forcePointRatio="0.5" initialCompression="50" radius="2" radiusSea="1" width="1" mass="0.85" tireType="mud" suspTravel="0.8" spring="100" damper="8" brakeFactor="0.55" frictionScale="10"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
                   	<wheel isLeft="true"  hasTireTracks="false" hasParticles="false">
                        <physics rotSpeed="-1" restLoad="6" repr="0>0|4"  	forcePointRatio="0.5" initialCompression="50" radius="2" radiusSea="1" width="1" mass="0.85" tireType="mud" suspTravel="0.8" spring="100" damper="8" brakeFactor="0.7"  frictionScale="12"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
                    <wheel isLeft="false" hasTireTracks="false" hasParticles="false">
                        <physics rotSpeed="-1" restLoad="6" repr="0>0|5"  	forcePointRatio="0.5" initialCompression="50" radius="2" radiusSea="1" width="1" mass="0.85" tireType="mud" suspTravel="0.8" spring="100" damper="8" brakeFactor="0.7"  frictionScale="12"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="40" rotMax="40" rotCenterWheel1="1" rotCenterWheel2="2"/>
        </ackermannSteeringConfigurations>
    </wheels>
	
	<lights>
		
		<states>
            <state lightTypes="0" />
			<state lightTypes="0 1" />
        </states>
		
		<realLights>
            <low>
                <light node="0>11|0|1" lightTypes="1"/>
                <light node="0>11|1|1" lightTypes="1"/>
                <light node="0>11|2|1" lightTypes="1"/>
                <light node="0>11|3|1" lightTypes="1"/>
				<light node="0>11|4|1" lightTypes="1"/>
            </low>
            <high>
                <light node="0>11|0|1" lightTypes="1"/>
                <light node="0>11|1|1" lightTypes="1"/>
                <light node="0>11|2|1" lightTypes="1"/>
                <light node="0>11|3|1" lightTypes="1"/>
				<light node="0>11|4|1" lightTypes="1"/>		
            </high>
        </realLights>
		
        <defaultLights>
            <defaultLight shaderNode="0>1|0|0" lightTypes="0" />
            <defaultLight shaderNode="0>1|0|1" lightTypes="0" />
            <defaultLight shaderNode="0>1|0|2" lightTypes="0" />
            <defaultLight shaderNode="0>1|0|3" lightTypes="0" />
            <defaultLight shaderNode="0>1|0|4" lightTypes="0" />
			<defaultLight shaderNode="0>1|0|5" lightTypes="0" />
			<defaultLight shaderNode="0>1|0|6" lightTypes="0" />
        </defaultLights>
   </lights>

    <enterable>
        <exitPoint node="0>2|0"/>
        <enterReferenceNode node="0>2|1"/>

        <cameras>
            <camera node="0>5|0|0" rotatable="true" rotateNode="0>5|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="70">
                <raycastNode node="0>5|2"/>
                <raycastNode node="0>5|3"/>
            </camera>
            <camera node="0>5|1|0" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="false" isInside="true"/>
			<camera node="0>5|5|0" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="false" isInside="true"/>
        </cameras>
    </enterable>

    <motorized>
        <motorConfigurations>
            <motorConfiguration name="Standard" price="0">
                <motor torqueScale="20.912" minRpm="850" maxRpm="5200" maxForwardSpeed="50" maxBackwardSpeed="50" brakeForce="8" lowBrakeForceScale="5" lowBrakeForceSpeedLimit="1" rotInertia="0.001">
                    <torque normRpm="0.25" torque="0.4"/>
                    <torque normRpm="0.5" torque="0.6"/>
                    <torque normRpm="0.6" torque="0.8"/>
                    <torque normRpm="0.72" torque="1.2"/>
                    <torque normRpm="0.86" torque="1.6"/>
                    <torque normRpm="1" torque="2"/>
                </motor>
                <transmission minForwardGearRatio="22" maxForwardGearRatio="300" minBackwardGearRatio="22" maxBackwardGearRatio="300"/>
            </motorConfiguration>
        </motorConfigurations>

        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="5" wheelIndex2="6"/>
					<differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="3" wheelIndex2="4"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>

        <sounds>
            <motor file="sound/boat.ogg" innerRadius="30">
                <volume indoor="1" outdoor="4.00"/>
                <pitch outdoor="0.6"/>
            </motor>
        </sounds>
		
		<consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="1" fillType="diesel" />
             </consumerConfiguration>
        </consumerConfigurations>
    </motorized>

    <drivable>
        <steeringWheel node="0>22|0" indoorRotation="1" outdoorRotation="-50"/>
    </drivable>
	
	<cylindered>
		<movingTools>
            <movingTool node="0>21|0">
                <controls axis="AXIS_CRANE_ARM" invertAxis="false" mouseSpeedFactor="1" iconame="$dataS2/menu/moveControls/topDoor.png"/>
                <rotation rotSpeed="150" rotAcceleration="150" rotMax="90" rotMin="0"/>
            </movingTool>
            <movingTool node="0>21|1">
                <controls axis="AXIS_CRANE_ARM2" invertAxis="true" mouseSpeedFactor="1"/>
                <rotation rotSpeed="150" rotAcceleration="150" rotMax="0" rotMin="-90"/>
            </movingTool>
        </movingTools>
    </cylindered>

    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit capacity="4000" unitTextOverride="$l10n_unit_literShort" fillTypes="diesel" showOnHud="false" showInShop="true">
					<exactFillRootNode node="0>25"/>
					</fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <washable dirtDuration="150" washDuration="1" workMultiplier="4"/>
	
	<tensionBelts>
        <tensionBeltsConfigurations>
            <tensionBeltsConfiguration>
                <tensionBelts linkNode="0>24" jointNode="0>" width="0.05" maxEdgeLength="0.1" geometryBias="0.01" ratchetPosition="0.2" defaultOffset="0.1" defaultOffsetSide="0.1" defaultHeight="4">
                    <tensionBelt startNode="0>24|0" endNode="0>24|0|0" />
					<tensionBelt startNode="0>24|1" endNode="0>24|1|0" />
					<tensionBelt startNode="0>24|2" endNode="0>24|2|0" />
					<tensionBelt startNode="0>24|3" endNode="0>24|3|0" />
					<tensionBelt startNode="0>24|4" endNode="0>24|4|0" />
					<tensionBelt startNode="0>24|5" endNode="0>24|5|0" />
					<tensionBelt startNode="0>24|6" endNode="0>24|6|0" />
					<tensionBelt startNode="0>24|7" endNode="0>24|7|0" />
					<tensionBelt startNode="0>24|8" endNode="0>24|8|0" />
					<tensionBelt startNode="0>24|9" endNode="0>24|9|0" />
					<tensionBelt startNode="0>24|10" endNode="0>24|10|0" />
					<tensionBelt startNode="0>24|11" endNode="0>24|11|0" />
					<tensionBelt startNode="0>24|12" endNode="0>24|12|0" />
					<tensionBelt startNode="0>24|13" endNode="0>24|13|0" />
					<tensionBelt startNode="0>24|14" endNode="0>24|14|0" />
					<tensionBelt startNode="0>24|15" endNode="0>24|15|0" />
                    
                    <sounds>
                        <addBelt template="beltOpen" />
                        <removeBelt template="beltClose" />
                    </sounds>
                </tensionBelts>
            </tensionBeltsConfiguration>
        </tensionBeltsConfigurations>
    </tensionBelts>

    <honk>
        <sound file="sound/foghorn.ogg" innerRadius="60">
            <volume indoor="1" outdoor="2.5"/>
            <pitch outdoor="0.94"/>
            <lowpassGain indoor="0.90"/>
        </sound>
    </honk>
	
</vehicle>
