<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="ATV">
    <annotation>superpat FCB-Dessign: wernie_de</annotation>
    <description>caymans</description>
    <filename>caymans.i3d</filename>
    <wheels autoRotateBackSpeed="2.5">
        <wheel rotSpeed="70" repr="0>0" deltaY="0.20" rotMin="-19" rotMax="19" radius="0.37" suspTravel="0.3" spring="20" damper="01" hasTireTracks="true" mass="0.195" hasParticles="true"/>
        <wheel rotSpeed="70" repr="0>1" deltaY="0.20" rotMin="-19" rotMax="19" radius="0.37" suspTravel="0.3" spring="20" damper="01" hasTireTracks="true" mass="0.195" hasParticles="true"/>
        <wheel rotSpeed="0" repr="0>2" deltaY="0.20" radius="0.43" suspTravel="0.3" spring="20" damper="01" hasTireTracks="true" mass="0.2" hasParticles="true"/>
        <wheel rotSpeed="0" repr="0>3" deltaY="0.20" radius="0.43" suspTravel="0.3" spring="20" damper="01" hasTireTracks="true" mass="0.2" hasParticles="true"/>
    </wheels>
    <ackermannSteering rotSpeed="80" rotMax="25" rotCenterWheel1="2" rotCenterWheel2="3"/>
    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="0" wheelIndex2="1"/>
        <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="2" wheelIndex2="3"/>
        <differential torqueRatio="0.7" maxSpeedRatio="1.2" differentialIndex1="0" differentialIndex2="1"/>
    </differentials>
    <motor torqueScale="0.93" minRpm="600" maxRpm="3700" brakeForce="0.5" lowBrakeForceScale="0.2" lowBrakeForceSpeedLimit="5" minForwardGearRatio="8" maxForwardGearRatio="25" minBackwardGearRatio="30" maxBackwardGearRatio="60">
        <torque normRpm="0.1" torque="0.45"/>
        <torque normRpm="0.2" torque="0.75"/>
        <torque normRpm="0.3" torque="0.85"/>
        <torque normRpm="0.4" torque="1"/>
        <torque normRpm="0.75" torque="1"/>
        <torque normRpm="1" torque="0.75"/>
    </motor>
    <fuelCapacity>90</fuelCapacity>
    <fuelUsage>35</fuelUsage>
    <accelerationSpeed maxAcceleration="0.15" deceleration="0.26" backwardDeceleration="0.7"/>
    <cameras count="2">
        <camera1 index="0>4|0|0|0" rotatable="true" rotateNode="0>4|0|0" limit="true" rotMinX="-1.4" rotMaxX="1" transMin="5" transMax="25" useWorldXZRotation="true">
            <raycastNode index="0>4|9|0"/>
            <raycastNode index="0>4|9|1"/>
        </camera1>
        <camera2 index="0>4|0|1" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0"/>
    </cameras>
    <lights>
        <!--to be adjusted manually-->
        <low>
            <light realLight="0>11" decoration="0>9" lightTypes="0"/>
            <light decoration="0>9" lightTypes="0"/>
        </low>
        <!--to be adjusted manually-->
        <high>
            <light realLight="0>11" decoration="0>9" lightTypes="0"/>
            <light decoration="0>9" lightTypes="0"/>
        </high>
        <!--to be adjusted manually-->
        <states>0 1 2</states>
    </lights>
    <lights>
        <!--to be adjusted manually-->
        <low>
            <light realLight="0>11" decoration="0>9" lightTypes="0"/>
        </low>
        <!--to be adjusted manually-->
        <high>
            <light realLight="0>11" decoration="0>9" lightTypes="0"/>
        </high>
        <!--to be adjusted manually-->
        <states>0 1 2</states>
    </lights>
    <brakeLights>
        <brakeLight decoration="0>12"/>
    </brakeLights>
    <turnLights>
        <turnLightLeft decoration="0>13|0"/>
        <turnLightRight decoration="0>13|1"/>
    </turnLights>
    <mirrors/>
    <indoorHud>
        <speed animName="speedDisplay"/>
        <rpm animName="rpmDisplay"/>
        <fuel animName="fuelDisplay"/>
    </indoorHud>
    <steering index="0>25|0" indoorRotation="210" outdoorRotation="70"/>
    <enterReferenceNode index="0>"/>
    <exitPoint index="0>4|8"/>
    <size width="2.5" length="5" lengthOffset="-0.2"/>
    <attacherJoints>
        <attacherJoint index="30" jointType="trailer" allowsJointLimitMovement="false" upperRotationOffset="0" lowerRotLimit="10 80 80"/>
        <attacherJoint index="30|0" jointType="trailer" allowsJointLimitMovement="false" upperRotationOffset="0" lowerRotLimit="10 80 80"/>
        <attacherJoint index="30|0" jointType="trailerLow" allowsJointLimitMovement="false" upperRotationOffset="0" lowerRotLimit="10 80 80"/>
    </attacherJoints>
    <motorStartDuration>2000</motorStartDuration>
    <motorStartSound file="sound/Start.wav" volume="2" pitchOffset="0.9"/>
    <motorSound file="sound/Idle.wav" volume="1.5" pitchOffset="1" pitchScale="0.01" pitchMax="3"/>
    <motorSoundRun file="sound/Run.wav" volume="1.5" pitchOffset="0.2" pitchScale="0.04" pitchMax="2"/>
    <motorStopSound file="sound/stop.wav" volume="1" pitchOffset="0.6"/>
    <honkSound file="sound/Honk.wav" volume="2" innerRadius="35" radius="80"/>
    <attachSound file="sound/attach.wav" pitchOffset="1"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="4"/>
    <exhaustEffects>
        <!--TODO: adjust xzRotationOffset, xzRotationsForward, xzRotationsBackward, xzRotationsLeft, xzRotationsRight-->
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>34" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.0 0.0 0.0 9" minRpmScale="0.05" maxRpmScale="0.4" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>35" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.0 0.0 0.0 9" minRpmScale="0.05" maxRpmScale="0.4" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>36" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.0 0.0 0.0 9" minRpmScale="0.05" maxRpmScale="0.4" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>37" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.0 0.0 0.0 9" minRpmScale="0.05" maxRpmScale="0.4" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
    </exhaustEffects>
    <honkSound file="sd/horn.wav" volume="1" innerRadius="35" radius="80"/>
    <components count="1">
        <component1 centerOfMass="0.46 0.51 -0.64" solverIterationCount="10"/>
    </components>
    <speedDisplayEntries>
        <!--Supports Floats until 999.99 -->
        <displayEntry displayEntry="second" control_0="0>7|3|0" control_1="0>7|3|1" control_2="0>7|3|2" control_3="0>7|3|3" control_4="0>7|3|4" control_5="0>7|3|5" control_6="0>7|3|6" control_7="0>7|3|7" control_8="0>7|3|8" control_9="0>7|3|9"/>
        <displayEntry displayEntry="first" control_0="0>7|2|0" control_1="0>7|2|1" control_2="0>7|2|2" control_3="0>7|2|3" control_4="0>7|2|4" control_5="0>7|2|5" control_6="0>7|2|6" control_7="0>7|2|7" control_8="0>7|2|8" control_9="0>7|2|9"/>
        <displayEntry displayEntry="comma_first" control_0="0>7|0|0" control_1="0>7|0|1" control_2="0>7|0|2" control_3="0>7|0|3" control_4="0>7|0|4" control_5="0>7|0|5" control_6="0>7|0|6" control_7="0>7|0|7" control_8="0>7|0|8" control_9="0>7|0|9"/>
    </speedDisplayEntries>
    <RPMDisplayEntries>
        <!-- 9999 -->
        <displayEntry displayEntry="first" control_0="0>8|0|0" control_1="0>8|0|1" control_2="0>8|0|2" control_3="0>8|0|3" control_4="0>8|0|4" control_5="0>8|0|5" control_6="0>8|0|6" control_7="0>8|0|7" control_8="0>8|0|8" control_9="0>8|0|9"/>
        <displayEntry displayEntry="second" control_0="0>8|1|0" control_1="0>8|1|1" control_2="0>8|1|2" control_3="0>8|1|3" control_4="0>8|1|4" control_5="0>8|1|5" control_6="0>8|1|6" control_7="0>8|1|7" control_8="0>8|1|8" control_9="0>8|1|9"/>
        <displayEntry displayEntry="third" control_0="0>8|2|0" control_1="0>8|2|1" control_2="0>8|2|2" control_3="0>8|2|3" control_4="0>8|2|4" control_5="0>8|2|5" control_6="0>8|2|6" control_7="0>8|2|7" control_8="0>8|2|8" control_9="0>8|2|9"/>
        <displayEntry displayEntry="fourth" control_0="0>8|3|0" control_1="0>8|3|1" control_2="0>8|3|2" control_3="0>8|3|3" control_4="0>8|3|4" control_5="0>8|3|5" control_6="0>8|3|6" control_7="0>8|3|7" control_8="0>8|3|8" control_9="0>8|3|9"/>
    </RPMDisplayEntries>
    <animations>
        <animation name="speedDisplay">
            <part node="0>17|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -250 0"/>
        </animation>
        <animation name="rpmDisplay">
            <part node="0>18|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -210 0"/>
        </animation>
        <animation name="fuelDisplay">
            <part node="0>19|0" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -90 0"/>
        </animation>
    </animations>
    <characterNode index="0>26|0" cameraMinDistance="2.0" filename="$dataS2/character/player/player.xml" spineRotation="180 0 90">
        <target ikChain="rightFoot" targetNode="0>26|1" setDirty="true"/>
        <target ikChain="leftFoot" targetNode="0>26|2" setDirty="true"/>
        <target ikChain="rightArm" targetNode="0>25|0|0" setDirty="true"/>
        <target ikChain="leftArm" targetNode="0>25|0|1" setDirty="true"/>
    </characterNode>
    <washable dirtDuration="550" washDuration="1" workMultiplier="1"/>
    <storeData>
        <name>
            <en>Pagani_Zonda</en>
            <de>Pagani_Zonda</de>
        </name>
        <functions>
            <function>Pagani_Zonda</function>
        </functions>
        <specs>
            <power>394</power>
        </specs>
        <image>store.png</image>
        <price>1599</price>
        <dailyUpkeep>1</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>PAGANIZONDA</brand>
        <category>cars</category>
    </storeData>
</vehicle>
