<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="ferry">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>Log Barge</name>
        <specs>
            <power>4350</power>
            <maxSpeed>40</maxSpeed>
        </specs>
        <functions>
            <function>Log Barge</function>
        </functions>
        <image>store/store_logBarge.dds</image>
        <price>750000</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>Barge</typeDesc>
        <filename>logBarge.i3d</filename>
        <size width="13" length="40"/>
        <components>
            <component centerOfMass="0 1.6 0" solverIterationCount="20" mass="10000"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
        </schemaOverlay>
		<tailwaterDepth warning="5.0" threshold="10.0"/>
		<mapHotspot type="HARVESTER" />
    </base>
    <wheels>
        <wheelConfigurations>
             <wheelConfiguration name="2019 Ram Aluminum" price="0">
                <wheels autoRotateBackSpeed="2.8">
					<wheel isLeft="true"  hasTireTracks="false" hasParticles="false">
                        <physics rotSpeed="1" restLoad="10"  repr="0>0|0"  	forcePointRatio="0.5" initialCompression="50" radius="2" radiusSea="2" width="0.5" mass="0.85" tireType="mud" suspTravel="0.8" spring="10" damper="16" brakeFactor="0.5" frictionScale="1.0"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
					<wheel isLeft="false" hasTireTracks="false" hasParticles="false">
                        <physics rotSpeed="1" restLoad="10"  repr="0>0|1"  	forcePointRatio="0.5" initialCompression="50" radius="2" radiusSea="2" width="0.5" mass="0.85" tireType="mud" suspTravel="0.8" spring="10" damper="16" brakeFactor="0.5" frictionScale="1.0"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
					<wheel isLeft="true"  hasTireTracks="false" hasParticles="false">
                        <physics rotSpeed="0" restLoad="6"   repr="0>0|2"  	forcePointRatio="0.5" initialCompression="50" radius="2" radiusSea="2" width="0.5" mass="0.85" tireType="mud" suspTravel="0.8" spring="10" damper="16" brakeFactor="0.5" frictionScale="1.0"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
					<wheel isLeft="false" hasTireTracks="false" hasParticles="false">
                        <physics rotSpeed="0" restLoad="6"   repr="0>0|3"  	forcePointRatio="0.5" initialCompression="50" radius="2" radiusSea="2" width="0.5" mass="0.85" tireType="mud" suspTravel="0.8" spring="10" damper="16" brakeFactor="0.5" frictionScale="1.0"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
                   	<wheel isLeft="true"  hasTireTracks="false" hasParticles="false">
                        <physics rotSpeed="-1" restLoad="12" repr="0>0|4"  	forcePointRatio="0.5" initialCompression="50" radius="2" radiusSea="2" width="0.5" mass="0.85" tireType="mud" suspTravel="0.8" spring="10" damper="16" brakeFactor="0.8"  frictionScale="1.6"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
                    	<wheel isLeft="false" hasTireTracks="false" hasParticles="false">
                        <physics rotSpeed="-1" restLoad="12" repr="0>0|5"  	forcePointRatio="0.5" initialCompression="50" radius="2" radiusSea="2" width="0.5" mass="0.85" tireType="mud" suspTravel="0.8" spring="10" damper="16" brakeFactor="0.8"  frictionScale="1.6"/>
                        <tire tireTrackAtlasIndex="0"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>

        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="40" rotMax="40" rotCenterWheel1="2" rotCenterWheel2="3"/>
        </ackermannSteeringConfigurations>
    </wheels>


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

        <characterNode node="0>3|0" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>3|1"/>
            <target ikChain="leftFoot" targetNode="0>3|2"/>
            <target ikChain="rightArm" targetNode="0>3|3"/>
            <target ikChain="leftArm" targetNode="0>3|4"/>
        </characterNode>

        <cameras>
            <camera node="0>2|0|0" rotatable="true" rotateNode="0>2|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="70">
                <raycastNode node="0>2|2"/>
                <raycastNode node="0>2|3"/>
            </camera>
            <camera node="0>2|1|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="10.912" minRpm="850" maxRpm="25600" maxForwardSpeed="40" maxBackwardSpeed="20" brakeForce="50" lowBrakeForceScale="5" lowBrakeForceSpeedLimit="1" rotInertia="0.001">
                    <torque normRpm="0.25" torque="0.2"/>
                    <torque normRpm="0.5" torque="0.3"/>
                    <torque normRpm="0.6" torque="0.4"/>
                    <torque normRpm="0.72" torque="0.6"/>
                    <torque normRpm="0.86" torque="0.8"/>
                    <torque normRpm="1" torque="1"/>
                </motor>
                <transmission minForwardGearRatio="22" maxForwardGearRatio="100" minBackwardGearRatio="22" maxBackwardGearRatio="100"/>
            </motorConfiguration>
        </motorConfigurations>

        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="1" wheelIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="3" wheelIndex2="4"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" differentialIndex1="1" differentialIndex2="2"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="5" wheelIndex2="6"/>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" differentialIndex1="3" differentialIndex2="4"/>
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
		
		<consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="1000" fillType="diesel" /> <!-- usage is per hour at max load and max rpm -->
             </consumerConfiguration>
        </consumerConfigurations>

        <sounds>   
    <motor file="sound/ShipEngine.ogg" linkNode="0>3" innerRadius="200.0" outerRadius="500.0" >
        <volume indoor="1" outdoor="3" >
            <modifier type="SPEED" value="0.00" modifiedValue="0.00" />
            <modifier type="SPEED" value="18.0" modifiedValue="1.00" />
        </volume>
        <pitch indoor="1.0" outdoor="1.0" >
            <modifier type="SPEED" value="0.00" modifiedValue="0.25" />
            <modifier type="SPEED" value="50.0" modifiedValue="0.45" />           			
        </pitch>
    </motor>
	</sounds>
    </motorized>

    <drivable>

    </drivable>

  <cylindered>
        <movingTools>
		<movingTool node="0>4">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="false" mouseSpeedFactor="0.6" />
                <translation transSpeed="0.7" transAcceleration="80" translationAxis="2" transMax="10" transMin="-10" startTrans="2.2" />
            </movingTool>
        </movingTools>
    </cylindered>

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

    <honk>
        <sound file="sound/foghorn.ogg" innerRadius="200.0" outerRadius="500.0" >
            <volume indoor="1" outdoor="5"/>
            <pitch outdoor="0.64"/>
            <lowpassGain indoor="0.90"/>
        </sound>
    </honk>
</vehicle>
