<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="samara">
    <annotation>AndrazP</annotation>
    <filename>FS15_SLS.i3d</filename>
    <size width="3.5" length="5.5" lengthOffset="-0.4"/>
    <wheels autoRotateBackSpeed="2">
        <wheel rotSpeed="70" repr="0" deltaY="0.10" rotMin="-32" rotMax="32" radius="0.45" suspTravel="0.05" spring="15" damper="20" hasTireTracks="true" tireTrackAtlasIndex="1" mass="0.1" hasParticles="true"/>
        <wheel rotSpeed="70" repr="1" deltaY="0.10" rotMin="-32" rotMax="32" radius="0.45" suspTravel="0.05" spring="15" damper="20" hasTireTracks="true" tireTrackAtlasIndex="1" mass="0.1" hasParticles="true"/>
        <wheel rotSpeed="0" repr="2" deltaY="0.13" radius="0.45" suspTravel="0.10" spring="20" damper="20" hasTireTracks="true" tireTrackAtlasIndex="1" mass="0.1" hasParticles="true"/>
        <wheel rotSpeed="0" repr="3" deltaY="0.13" radius="0.45" suspTravel="0.10" spring="20" damper="20" hasTireTracks="true" tireTrackAtlasIndex="1" mass="0.1" hasParticles="true"/>
    </wheels>
    <ackermannSteering rotSpeed="50" rotCenterWheel1="2" rotCenterWheel2="3" indoorRotation="360" outdoorRotation="37"/>
    <motor torqueScale="0.95" minRpm="850" maxRpm="2200" brakeForce="2.5" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" minForwardGearRatio="10" maxForwardGearRatio="35" minBackwardGearRatio="27.5" maxBackwardGearRatio="50">
        <torque normRpm="0.1" torque="0.35"/>
        <torque normRpm="0.2" torque="0.65"/>
        <torque normRpm="0.3" torque="0.85"/>
        <torque normRpm="0.4" torque="1"/>
        <torque normRpm="0.75" torque="0.75"/>
        <torque normRpm="1" torque="0.65"/>
    </motor>
    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="0" wheelIndex2="1"/>
        <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="2" wheelIndex2="3"/>
        <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.2" differentialIndex1="0" differentialIndex2="1"/>
        <!-- front-back -->
    </differentials>
    <fuelCapacity>80</fuelCapacity>
    <fuelUsage>15</fuelUsage>
    <cameras count="2">
        <camera1 index="4|0|0" rotatable="true" rotateNode="4|0" limit="true" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="20"/>
        <camera2 index="4|1" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0"/>
    </cameras>
    <lights>
        <!--to be adjusted manually-->
        <low>
            <light realLight="0>5|0|0" decoration="0>5|0|1" lightTypes="0"/>
        </low>
        <!--to be adjusted manually-->
        <high>
            <light realLight="0>5|0|0" decoration="0>5|0|1" lightTypes="0"/>
        </high>
        <!--to be adjusted manually-->
        <states>0 1 2</states>
    </lights>
    <brakeLights>
        <brakeLight decoration="0>14"/>
    </brakeLights>
    <turnLights>
        <turnLightLeft decoration="0>15"/>
        <turnLightRight decoration="0>16"/>
    </turnLights>
    <realisticIndoorCam directionPart="0>5"/>
    <internalCamera index="0>5|0"/>
    <cameraRotNode index="0>5|0|0"/>
    <seatNode index="0>13|11"/>
    <exitPoint index="6"/>
    <steering index="0>7|0" indoorRotation="270" outdoorRotation="70"/>
    <enterReferenceNode index="0>"/>
    <characterNode index="0>20|0" cameraMinDistance="2.0" filename="$dataS2/character/player/player.xml" spineRotation="180 0 90">
        <target ikChain="rightFoot" targetNode="0>20|1" setDirty="true"/>
        <target ikChain="leftFoot" targetNode="0>20|2" setDirty="true"/>
        <target ikChain="rightArm" targetNode="0>7|0|1" setDirty="true"/>
        <target ikChain="leftArm" targetNode="0>7|0|2" setDirty="true"/>
    </characterNode>
    <attachSound file="sound/lizard2000_attach.wav" pitchOffset="1"/>
    <motorStartSound file="sound/car_start.wav" pitchOffset="0.9" volume="1"/>
    <motorSound file="sound/car_idle.wav" pitchOffset="0.9" pitchScale="0.025" pitchMax="1.5" volume="1"/>
    <motorStopSound file="sound/car_stop.wav" pitchOffset="0.9"/>
    <honkSound file="$dataS2/sounds/horn.wav" volume="1" innerRadius="20" radius="50"/>
    <ai>
        <trafficCollisionTrigger index="11"/>
    </ai>
    <animParts>
        <animPart index="0>13|1" id="rfdoor" showHelp="true" autoReturn="false" rotMin="0 0 0" rotMax="0 0 -90" moveTime="1"/>
        <animPart index="0>13|0" id="lfdoor" showHelp="true" autoReturn="false" rotMin="0 0 0" rotMax="0 0 90" moveTime="1"/>
        <animPart index="0>13|2" id="trunk" showHelp="true" autoReturn="false" rotMin="0 0 0" rotMax="70 0 0" moveTime="1"/>
        <animPart index="0>13|3" id="hood" showHelp="true" autoReturn="false" rotMin="0 0 0" rotMax="-55 0 0" moveTime="1"/>
    </animParts>
    <exhaustEffects>
        <!--TODO: adjust xzRotationOffset, xzRotationsForward, xzRotationsBackward, xzRotationsLeft, xzRotationsRight-->
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>14" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.05" maxRpmScale="0.3" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>15" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.05" maxRpmScale="0.3" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
    </exhaustEffects>
    <components count="1">
        <component1 centerOfMass="0 0 0" solverIterationCount="10"/>
    </components>
    <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0"/>
    <washable dirtDuration="30" washDuration="1" workMultiplier="4"/>
    <storeData>
        <name>
            <en>Mercedes SLS AMG</en>
        </name>
        <functions>
            <function>Converted to ls15 AndrazP</function>
        </functions>
        <specs>
            <power>64</power>
        </specs>
        <image>store.png</image>
        <price>199999</price>
        <dailyUpkeep>125</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>MERCEDES</brand>
        <category>cars</category>
    </storeData>
</vehicle>
