<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="Ac427">
    <description/>
    <filename>ac427.i3d</filename>
    <numWheels>4</numWheels>
    <wheels autoRotateBackSpeed="2.5">
        <wheel rotSpeed="60" repr="2" deltaY="0.1" rotMin="-40" rotMax="40" driveNode="2" radius="0.44" suspTravel="0.12" spring="180" damper="0" mass="3" hasParticles="true"/>
        <wheel rotSpeed="60" repr="0" deltaY="0.1" rotMin="-40" rotMax="40" driveNode="0" radius="0.44" suspTravel="0.12" spring="180" damper="0" mass="3" hasParticles="true"/>
        <wheel rotSpeed="0" repr="1" deltaY="0.11" radius="0.44" suspTravel="0.12" spring="180" damper="0" mass="5" hasParticles="true"/>
        <wheel rotSpeed="0" repr="3" deltaY="0.11" radius="0.44" suspTravel="0.12" spring="180" damper="0" mass="5" hasParticles="true"/>
    </wheels>
    <ackermannSteering rotSpeed="90" rotMax="45" rotCenterWheel1="2" rotCenterWheel2="3"/>
    <speedRotScale scale="40"/>
    <maxRotatedTimeSpeed value="2"/>
    <differentials>
        <differential torqueRatio="0.1" maxSpeedRatio="0.2" wheelIndex1="2" wheelIndex2="0"/>
        <!-- front left-right -->
        <differential torqueRatio="0.1" maxSpeedRatio="0.2" wheelIndex1="1" wheelIndex2="3"/>
        <!-- back left-right -->
        <differential torqueRatio="0.25" maxSpeedRatio="0.2" differentialIndex1="0" differentialIndex2="1"/>
        <!-- front-back -->
    </differentials>
    <motor torqueScale="3" minRpm="1000" maxRpm="2300" maxBackwardSpeed="150" brakeForce="12" lowBrakeForceScale="0.1" lowBrakeForceSpeedLimit="0.1" minForwardGearRatio="5" maxForwardGearRatio="330" minBackwardGearRatio="10" maxBackwardGearRatio="130">
        <torque normRpm="0.45" torque="0.5"/>
        <torque normRpm="0.5" torque="0.6"/>
        <torque normRpm="0.59" torque="0.7"/>
        <torque normRpm="0.72" torque="1"/>
        <torque normRpm="0.86" torque="0.88"/>
        <torque normRpm="1" torque="0.7"/>
    </motor>
    <fuelCapacity>150</fuelCapacity>
    <fuelUsage>26</fuelUsage>
    <cameras count="2">
        <camera1 index="0>7|0" rotatable="true" rotateNode="7" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="20"/>
        <camera2 index="0>8" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0"/>
    </cameras>
    <enterReferenceNode index="0>"/>
    <exitPoint index="0>11"/>
    <lights>
        <!--to be adjusted manually-->
        <low>
            <light realLight="0>14" decoration="0>22" lightTypes="0"/>
            <light decoration="0>4|7|0" lightTypes="0"/>
        </low>
        <!--to be adjusted manually-->
        <high>
            <light realLight="0>14" decoration="0>22" lightTypes="0"/>
            <light decoration="0>4|7|0" lightTypes="0"/>
        </high>
        <!--to be adjusted manually-->
        <states>0 1 2</states>
    </lights>
    <brakeLights>
        <brakeLight decoration="0>17"/>
    </brakeLights>
    <turnLights>
        <turnLightLeft decoration="0>15"/>
        <turnLightRight decoration="0>16"/>
    </turnLights>
    <indoorHud>
        <speed animName="speedDisplay"/>
        <rpm animName="rpmDisplay"/>
        <fuel animName="fuelDisplay"/>
        <oil animName="oilDisplay"/>
        <water animName="waterDisplay"/>
    </indoorHud>
    <animations>
        <animation name="speedDisplay">
            <part node="0>18|0" startTime="0" endTime="1" startRot="-180 75 -180" endRot="-180 -180 -180"/>
        </animation>
        <animation name="rpmDisplay">
            <part node="0>18|1" startTime="0" endTime="8" startRot="0 0 0" endRot="0 -220 0"/>
        </animation>
        <animation name="fuelDisplay">
            <part node="0>18|2" startTime="0" endTime="1" startRot="0 0 0" endRot="-180 -20 180"/>
        </animation>
        <animation name="oilDisplay">
            <part node="0>18|3" startTime="0" endTime="1" startRot="0 0 0" endRot="-180 72 -180"/>
        </animation>
        <animation name="waterDisplay">
            <part node="0>18|4" startTime="0" endTime="1" startRot="0 0 0" endRot="-180 -88 180"/>
        </animation>
    </animations>
    <steering index="0>20|0" indoorRotation="270" outdoorRotation="45"/>
    <attacherJoints>
        <attacherJoint index="0>5" jointType="trailerLow" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="0 150 10">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
        <attacherJoint index="0>5" jointType="trailer" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="0 150 10"/>
        <attacherJoint index="0>6" jointType="trailer" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="0 150 10"/>
        <attacherJoint index="0>6" jointType="semitrailer" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="0 150 10"/>
    </attacherJoints>
    <exhaustEffects>
        <!--TODO: adjust xzRotationOffset, xzRotationsForward, xzRotationsBackward, xzRotationsLeft, xzRotationsRight-->
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>10" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>21" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
    </exhaustEffects>
    <characterNode index="0>19|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="180 0 107">
        <target ikChain="rightFoot" targetNode="0>19|1" setDirty="true"/>
        <target ikChain="leftFoot" targetNode="0>19|2" setDirty="true"/>
        <target ikChain="rightArm" targetNode="0>20|0|2" setDirty="true"/>
        <target ikChain="leftArm" targetNode="0>20|0|1" setDirty="true"/>
    </characterNode>
    <ai>
        <trafficCollisionTrigger index="0>9"/>
    </ai>
    <components count="1">
        <component1 centerOfMass="0 -0.4 0" solverIterationCount="4"/>
    </components>
    <attachSound file="sounds/attach.wav" pitchOffset="1"/>
    <motorStartSound file="sounds/car_start.wav" pitchOffset="1" volume="1"/>
    <motorSound file="sounds/car_idlerun.wav" pitchOffset="1" pitchScale="0.0027" pitchMax="1.65" volume="1"/>
    <aiMotorSound file="sounds/aicar_idlerun.wav" pitchOffset="1" radius="25" innerRadius="4" volume="1.0"/>
    <motorStopSound file="sounds/car_stop.wav" pitchOffset="1"/>
    <honkSound file="$dataS2/sounds/horn.wav" volume="1" innerRadius="35" radius="80"/>
    <animParts>
        <animPart index="0>4|4" id="Bonnet" showHelp="false" autoReturn="false" rotMin="0 0 0" rotMax="55 0 0" moveTime="1.2"/>
        <animPart index="0>4|5" id="Boot" showHelp="false" autoReturn="false" rotMin="0 0 0" rotMax="65 0 0" moveTime="1.2"/>
    </animParts>
    <schemaOverlay file="textures/Fordnotselected.dds" fileSelected="textures/FordSelected.dds" width="0.5" height="0.5" attacherJointPosition="0.5 0"/>
    <storeData>
        <name>
            <en>AC Cobra 427</en>
            <de>ravenwest motorsport chevy</de>
        </name>
        <functions/>
        <specs/>
        <image>textures/store.dds</image>
        <price>150000</price>
        <dailyUpkeep>250</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>COBRA</brand>
        <category>cars</category>
    </storeData>
</vehicle>
