<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="PickUpService">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <filename>BMW_M3.i3d</filename>
    <size width="2.5" length="7.5"/>
    <wheels autoRotateBackSpeed="1.5">
        <wheel rotSpeed="1" repr="0>0" driveNode="0>0|0" radius="0.39" restLoad="0.7" initialCompression="20" suspTravel="0.10" spring="10" damper="10" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.5" hasParticles="true"/>
        <wheel rotSpeed="1" repr="0>1" driveNode="0>1|0" radius="0.39" restLoad="0.7" initialCompression="20" suspTravel="0.10" spring="10" damper="10" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.5" hasParticles="true"/>
        <wheel rotSpeed="0" repr="0>2" driveNode="0>2|0" radius="0.39" restLoad="0.7" initialCompression="20" suspTravel="0.10" spring="10" damper="10" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.5" hasParticles="true"/>
        <wheel rotSpeed="0" repr="0>3" driveNode="0>3|0" radius="0.39" restLoad="0.7" initialCompression="20" suspTravel="0.10" spring="10" damper="10" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.5" hasParticles="true"/>
    </wheels>
    <ackermannSteering rotSpeed="100" rotMax="40" rotCenterWheel1="2" rotCenterWheel2="3"/>
    <speedRotScale scale="40"/>
    <maxRotatedTimeSpeed value="2"/>
    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="2" wheelIndex2="3"/>
        <!-- back left-right -->
    </differentials>
    <motor torqueScale="0.9" minRpm="5500" maxRpm="8500" brakeForce="2" lowBrakeForceScale="0.1" lowBrakeForceSpeedLimit="1" minForwardGearRatio="25" maxForwardGearRatio="5" minBackwardGearRatio="145" maxBackwardGearRatio="10">
        <torque normRpm="0.3" torque="0.8"/>
        <torque normRpm="0.4" torque="0.9"/>
        <torque normRpm="0.75" torque="1"/>
        <torque normRpm="1" torque="0.9"/>
    </motor>
    <fuelCapacity>64</fuelCapacity>
    <fuelUsage>22</fuelUsage>
    <cameras count="2">
        <camera2 index="0>4|1" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" useMirror="true" isInside="true"/>
        <camera1 index="0>4|0|0" rotatable="true" rotateNode="0>4|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="20"/>
    </cameras>
    <lights>
        <!--to be adjusted manually-->
        <low>
            <light decoration="0>24" lightTypes="0"/>
            <light decoration="0>6" lightTypes="1"/>
            <light decoration="0>18" lightTypes="2"/>
        </low>
        <!--to be adjusted manually-->
        <high>
            <light decoration="0>24" lightTypes="0"/>
            <light decoration="0>6" lightTypes="1"/>
            <light decoration="0>18" lightTypes="2"/>
        </high>
        <!--to be adjusted manually-->
        <states>0 1 2</states>
    </lights>
    <brakeLights>
        <brakeLight decoration="0>7"/>
    </brakeLights>
    <LightAddon>
        <strobe index="0>12|0" isBeacon="false" name="BlinkerL" sequence="300" invert="true"/>
        <strobe index="0>12|1" isBeacon="false" name="BlinkerR" sequence="300" invert="true"/>
        <strobe index="0>21" isBeacon="false" name="Warn" sequence="300" invert="true"/>
        <strobe index="0>22" isBeacon="false" name="Warn" sequence="300" invert="true"/>
    </LightAddon>
    <reverseLights>
        <reverseLight index="0>23"/>
    </reverseLights>
    <mirrors>
        <mirror index="0>13"/>
    </mirrors>
    <enterReferenceNode index="0>"/>
    <exitPoint index="0>14"/>
    <steering index="0>9|0" indoorRotation="180" outdoorRotation="70"/>
    <characterNode index="0>11|0" cameraMinDistance="2.0" filename="$dataS2/character/player/player.xml" spineRotation="180 0 90">
        <target ikChain="rightFoot" targetNode="0>11|1" setDirty="true"/>
        <target ikChain="leftFoot" targetNode="0>11|2" setDirty="true"/>
        <target ikChain="rightArm" targetNode="0>9|0|0|2" setDirty="true"/>
        <target ikChain="leftArm" targetNode="0>9|0|0|1" setDirty="true"/>
    </characterNode>
    <ai>
        <trafficCollisionTrigger index="0>10"/>
    </ai>
    <motorStartSound file="$data/vehicles/steerable/cars/piQup_start.wav" volume="1" pitchOffset="1"/>
    <motorSound file="$data/vehicles/steerable/cars/piQup_idle.wav" volume="1" pitchOffset="1" pitchScale="0.017" pitchMax="1.75"/>
    <motorSoundRun file="$data/vehicles/steerable/cars/piQup_run.wav" volume="1" pitchOffset="0.65" pitchScale="0.016" pitchMax="1.75"/>
    <motorStopSound file="$data/vehicles/steerable/cars/piQup_stop.wav" volume="1" pitchOffset="0.9"/>
    <honkSound file="$data/sounds/hornCar.wav" volume="1" innerRadius="10" radius="70"/>
    <washable dirtDuration="80" washDuration="1" workMultiplier="4"/>
    <exhaustEffects>
        <!--TODO: adjust xzRotationOffset, xzRotationsForward, xzRotationsBackward, xzRotationsLeft, xzRotationsRight-->
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>15|0" 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.5 0.95" 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"/>
</vehicle>
