<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="Ferry">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name><en>Ferry</en><de>Fähre</de>
        </name>
        <specs>
            <power>350</power>
            <maxSpeed>25</maxSpeed>
        </specs>	
        <functions>
		<function>
			<en><![CDATA[Small Ferry]]></en>
			<de><![CDATA[Kleine Fähre]]></de>
        </function>
        </functions>	
        <image>store_ferry.dds</image>
        <price>66000</price>
        <dailyUpkeep>160</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>LIZARD</brand>
        <category>misc</category>
        <vertexBufferMemoryUsage>321456</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>44226</indexBufferMemoryUsage>
        <textureMemoryUsage>14499984</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <typeDesc><![CDATA[Barrier]]></typeDesc>
    <filename>ferry.i3d</filename>
    <size width="6" length="18"/>
	
    <wheelConfigurations>
        <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
             <wheels autoRotateBackSpeed="1.6">
                <wheel rotSpeed="1"  restLoad="5.4" repr="0>0" driveNode="0>0" forcePointRatio="0.3" radius="2.63" width="1" maxDeformation="0.009" mass="0.367" frictionScale="2" maxLongStiffness="12" maxLatStiffness="140" maxLatStiffnessLoad="2" isLeft="true"  initialCompression="32" suspTravel="0.25" spring="60" damper="80" hasTireTracks="false" hasParticles="false" />
                <wheel rotSpeed="1"  restLoad="5.4" repr="0>1" driveNode="0>1" forcePointRatio="0.3" radius="2.63" width="1" maxDeformation="0.009" mass="0.367" frictionScale="2" maxLongStiffness="12" maxLatStiffness="140" maxLatStiffnessLoad="2" isLeft="false" initialCompression="32" suspTravel="0.25" spring="60" damper="80" hasTireTracks="false" hasParticles="false" />
                <wheel rotSpeed="-1" restLoad="5.4" repr="0>2" driveNode="0>2" forcePointRatio="0.3" radius="2.63" width="1" maxDeformation="0.009" mass="0.367" frictionScale="2" maxLongStiffness="12" maxLatStiffness="140" maxLatStiffnessLoad="2" isLeft="true"  initialCompression="32" suspTravel="0.25" spring="60" damper="80" hasTireTracks="false" hasParticles="false" />
                <wheel rotSpeed="-1" restLoad="5.4" repr="0>3" driveNode="0>3" forcePointRatio="0.3" radius="2.63" width="1" maxDeformation="0.009" mass="0.367" frictionScale="2" maxLongStiffness="12" maxLatStiffness="140" maxLatStiffnessLoad="2" isLeft="false" initialCompression="32" suspTravel="0.25" spring="60" damper="80" hasTireTracks="false" hasParticles="false" />
			</wheels>
	    </wheelConfiguration>
    </wheelConfigurations>
	
	<ackermannSteering rotSpeed="40" rotMax="40" rotCenterWheel1="1" rotCenterWheel2="2" />
		
	<differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="0" wheelIndex2="1" />
        <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="2" wheelIndex2="3" />
        <differential torqueRatio="0.5" maxSpeedRatio="1.3" differentialIndex1="0" differentialIndex2="1" />
    </differentials>
		
    <motorConfigurations>
        <motorConfiguration name="Standard" hp="350" price="0" >
			<motor torqueScale="1.2" minRpm="1000" maxRpm="2200" maxForwardSpeed="25" maxBackwardSpeed="10" brakeForce="9" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.002" minForwardGearRatio="28" maxForwardGearRatio="150" minBackwardGearRatio="28" maxBackwardGearRatio="150">
				<torque normRpm="0.45" torque="0.9"/>
				<torque normRpm="0.5" torque="0.97"/>
				<torque normRpm="0.59" torque="1"/>
				<torque normRpm="0.72" torque="1"/>
				<torque normRpm="0.86" torque="0.88"/>
				<torque normRpm="1" torque="0.72"/>
			</motor>
        </motorConfiguration>
    </motorConfigurations>
	
    <fuelCapacity>410</fuelCapacity>
	<fuelUsage>41</fuelUsage>

	<enterReferenceNode index="0>" />
    <exitPoint index="0>4" />
	
    <cameras count="2">
        <camera1 index="0>5|0|0" rotatable="true" rotateNode="0>5|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="70" useDefaultPositionSmoothing="false" >
            <raycastNode index="0>5|2"/>
            <raycastNode index="0>5|3"/>
        </camera1>
        <camera2 index="0>5|1|0" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="false" isInside="true" useDefaultPositionSmoothing="false" />
    </cameras>

	<lights>
        <low>
			<light decoration="0>11|0" lightTypes="0" />
			<light decoration="0>11|1" lightTypes="0" />
			<light decoration="0>11|2" lightTypes="0" />
			<light realLight="0>11|3|0|0"  decoration="0>11|3|0" lightTypes="1" />
			<light realLight="0>11|4|0|0"  decoration="0>11|4|0" lightTypes="1" />
        </low>
        <high>
			<light decoration="0>11|0" lightTypes="0" />
			<light decoration="0>11|1" lightTypes="0" />
			<light decoration="0>11|2" lightTypes="0" />
			<light realLight="0>11|3|0|0"  decoration="0>11|3|0" lightTypes="1" />
			<light realLight="0>11|4|0|0"  decoration="0>11|4|0" lightTypes="1" />
        </high>
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
        </states>
    </lights>
	
    <dynamicMountAttacher triggerNode="0>6" rootNode="0>" jointNode="0>" forceAcceleration="30"/>

    <exhaustEffects>
	    <exhaustEffect index="0>7" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0 0 0 0.05" maxRpmColor="0 0 0 3" minRpmScale="0.05" maxRpmScale="1" xzRotationsOffset="0 0" xzRotationsForward="-150 0" xzRotationsBackward="150 0" xzRotationsLeft="0 100" xzRotationsRight="0 -100" />
	</exhaustEffects>
					
    <characterNode index="0>8|0" indexBase="0>8" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="180 0 100" >
        <target ikChain="rightFoot" targetNode="0>8|1" />
        <target ikChain="leftFoot"  targetNode="0>8|2" />
        <target ikChain="rightArm"  targetNode="0>8|3" />
        <target ikChain="leftArm"   targetNode="0>8|4" />
    </characterNode>
	
	<steering index="0>9|0" indoorRotation="1" outdoorRotation="-50"/>

	<speedRotatingParts>
        <speedRotatingPart index="0>10|0" radius="0.3" />
    </speedRotatingParts>

    <movingTools>
        <movingTool index="0>17|0">
            <controls axis="AXIS_DOOR" invertAxis="false" mouseSpeedFactor="1" iconFilename="$dataS2/menu/moveControls/topDoor.png"/>
            <rotation rotSpeed="150" rotAcceleration="150" rotMax="70" rotMin="0" />
        </movingTool>
		<movingTool index="0>17|1">
            <controls axis="AXIS_DOOR" invertAxis="true" mouseSpeedFactor="1" />
            <rotation rotSpeed="150" rotAcceleration="150" rotMax="0" rotMin="-70" />
        </movingTool>
    </movingTools>	
	
	<foldingParts startMoveDirection="1" >
        <foldingPart animationName="folding" speedScale="1" />
    </foldingParts>

    <enterAnimation name="enterAnimation"/>
		
	<animations>
        <animation name="folding" >
		    <part node="0>12|0"   startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 -86" />
            <part node="0>12|0|1" startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 86" />
			<part node="0>12|0|2" startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 86" />
			<part node="0>12|0|3" startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 86" />
			<part node="0>12|0|4" startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 86" />
			<part node="0>12|0|5" startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 86" />
			<part node="0>12|0|1|1" startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 -86" />

		    <part node="0>13|0"   startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 -86" />
            <part node="0>13|0|1" startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 86" />
			<part node="0>13|0|2" startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 86" />
			<part node="0>13|0|3" startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 86" />
			<part node="0>13|0|4" startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 86" />
			<part node="0>13|0|5" startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 86" />
			<part node="0>13|0|1|1" startTime="0" endTime="1"  startRot="0 0 0"  endRot="0 0 -86" />
        </animation>
		
		<animation name="enterAnimation">
			<part node="0>16|0" startTime="0" endTime="0.5" startRot="0 0 130"  endRot="0 0 0" />
		</animation>
    </animations>
	
    <!-- Old RoyaltyClassEngine Sounds for Ferry By LudmillaPower -->

    <motorStartSound file="sound/RoyaltyClassMotor_Start.wav"       							 pitchOffset="0.87" volume="1.2" indoorVolumeFactor="0.55" indoorLowpassGain="0.75"  />
    <motorSound file="sound/RoyaltyClassMotor_idle.wav"             							 pitchOffset="0.85" volume="1.2" indoorVolumeFactor="0.55" indoorLowpassGain="0.75"  pitchMax="0.95"  volumeMin="0.3" volumeMinSpeed="6" />
    <motorSoundLoad file="sound/RoyaltyClassMotor_Load.wav"          							 pitchOffset="0.18" volume="1.50" indoorVolumeFactor="0.67" indoorLowpassGain="0.75"  pitchMax="1.1" />
    <motorSoundRun file="sound/RoyaltyClassMotor_Run.wav"          							 pitchOffset="0.3" volume="1.25" indoorVolumeFactor="0.67" indoorLowpassGain="0.75"  pitchMax="1.1" />
    <motorStopSound file="sound/RoyaltyClassMotor_Stop.wav"  									 pitchOffset="0.85" volume="1.2" indoorVolumeFactor="0.55" indoorLowpassGain="0.75"  />
    <gearboxSound file="sound/Wasser.wav"                  pitchOffset="0.3"  volume="0.0" indoorVolumeFactor="2.10"  indoorLowpassGain="0.95" pitchMax="1.2" volumeMax="0.40"  />
    <honkSound file="sound/foghorn.wav" pitchOffset="0.94" volume="1.5" indoorVolumeFactor="1" indoorLowpassGain="0.90" radius="100" innerRadius="18.775"/>

	<washable dirtDuration="150" washDuration="1" workMultiplier="4" />
	
	<components count="1">
        <component1 centerOfMass="0 -1 0" solverIterationCount="40"/>
    </components>
	
    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>
</vehicle>