<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="Maz_642208">
    <annotation>Copyright (C) Repi, All Rights Reserved. Powered by MRA Modding !</annotation>
    <description/>
    <filename>Maz_642208.i3d</filename>
    <numWheels>6</numWheels>
    <wheels autoRotateBackSpeed="2.5">
        <wheel rotSpeed="60" repr="0" deltaY="0.1" rotMin="-36" rotMax="36" driveNode="0|0" radius="0.5" suspTravel="0.2" spring="90" damper="90" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.3" hasParticles="true"/>
        <wheel rotSpeed="60" repr="1" deltaY="0.1" rotMin="-36" rotMax="36" driveNode="1|0" radius="0.5" suspTravel="0.2" spring="90" damper="90" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.3" hasParticles="true"/>
        <wheel rotSpeed="0" repr="2" deltaY="0.1" radius="0.5" suspTravel="0.22" spring="90" damper="90" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.3" hasParticles="true"/>
        <wheel rotSpeed="0" repr="3" deltaY="0.1" radius="0.5" suspTravel="0.22" spring="90" damper="90" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.3" hasParticles="true"/>
        <wheel rotSpeed="0" repr="4" deltaY="0.1" radius="0.5" suspTravel="0.22" spring="90" damper="90" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.3"/>
        <wheel rotSpeed="0" repr="5" deltaY="0.1" radius="0.5" suspTravel="0.22" spring="90" damper="90" hasTireTracks="true" tireTrackAtlasIndex="4" mass="0.3"/>
    </wheels>
    <ackermannSteering rotSpeed="50" rotMax="47" rotCenterWheel1="2" rotCenterWheel2="3"/>
    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="0" wheelIndex2="1"/>
        <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="2" wheelIndex2="3"/>
        <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.2" differentialIndex1="0" differentialIndex2="1"/>
        <!-- front-back -->
    </differentials>
    <motor torqueScale="2.349" minRpm="1000" maxRpm="2200" maxBackwardSpeed="15" brakeForce="10" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" minForwardGearRatio="13.5" maxForwardGearRatio="130" minBackwardGearRatio="50" 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>660</fuelCapacity>
    <fuelUsage>0.0015</fuelUsage>
    <cameras count="2">
        <camera1 index="6|0" rotatable="true" rotateNode="6" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="0" transMin="4" transMax="60"/>
        <camera2 index="0>11|0|2" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0"/>
    </cameras>
    <lights>
        <!--to be adjusted manually-->
        <low/>
        <!--to be adjusted manually-->
        <high/>
        <!--to be adjusted manually-->
        <states>0 1 2</states>
    </lights>
    <lightsaddon lightsStayOn="false" strobesAreBeacons="false">
        <light type="dirLeft" index="14"/>
        <light type="dirLeft" index="0>11|0|6"/>
        <light type="dirRight" index="15"/>
        <light type="dirRight" index="0>11|0|7"/>
        <light type="reverse" index="16"/>
        <flashers soundfile="Sounds/blinktick.wav" lowPitch="0.6" highPitch="0.8" volume="0.6" autoreturn="true"/>
    </lightsaddon>
    <steering index="0>11|0|3|0" indoorRotation="360" outdoorRotation="37"/>
    <exitPoint index="7"/>
    <enterReferenceNode index="0>"/>
    <size width="3.8" length="7.5" lengthOffset="-0.2"/>
    <characterNode index="0>11|0|4" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation=""/>
    <ai>
        <trafficCollisionTrigger index="9"/>
    </ai>
    <components count="1">
        <component1 centerOfMass="0 -0.09 0.2" solverIterationCount="8"/>
    </components>
    <trailerAttacherJoints>
        <trailerAttacherJoint index="8" maxRotLimit="15 135 15" maxTransLimit="0 0 0"/>
    </trailerAttacherJoints>
    <attacherJoints>
        <attacherJoint index="0>8" jointType="semitrailer" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="12 175 12" enableCollision="true">
            <schema position="1 0" rotation="0" invertX="false"/>
        </attacherJoint>
    </attacherJoints>
    <attachSound file="sounds/attach.wav" pitchOffset="1"/>
    <motorStartSound file="Sounds/start.WAV" pitchOffset="0.8" volume="0.6"/>
    <motorSound file="sounds/Idle.wav" pitchOffset="0.55" pitchScale="0.02" pitchMax="1.05" volume="1.3"/>
    <motorStopSound file="Sounds/stop.WAV" pitchOffset="1"/>
    <compressedAirSound file="Sounds/compressedAir.wav" pitchOffset="1" volume="1"/>
    <compressionSound file="sounds/brake_pull.wav" pitchOffset="1" volume="4.5"/>
    <brakeSound file="Sounds/compressedAir.wav" pitchOffset="1" volume="1"/>
    <reverseDriveSound file="Sounds/reverse.wav" pitchOffset="0.5" pitchScale="0.02" pitchMax="1.5" volume="1.6"/>
    <honkSound file="Sounds/horn.WAV" volume="1" innerRadius="20" radius="50"/>
    <exhaustEffects>
        <!--TODO: adjust xzRotationOffset, xzRotationsForward, xzRotationsBackward, xzRotationsLeft, xzRotationsRight-->
        <exhaustEffect filename="$data/particleSystems/shared/exhaust.i3d" index="0>10" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.05" maxRpmScale="0.4" xzRotationOffset="0 0" xzRotationsForward="0 0" xzRotationsBackward="0 0" xzRotationsLeft="0 0" xzRotationsRight="0 0"/>
    </exhaustEffects>
    <animParts>
        <animPart index="0>11|0" id="Cab" showHelp="true" autoReturn="false" rotMin="0 0 0" rotMax="45 0 0" moveTime="3"/>
        <animPart index="0>11|0|0" id="DoorL" showHelp="true" autoReturn="false" rotMin="0 0 0" rotMax="0 -65 0" moveTime="3"/>
        <animPart index="0>11|0|1" id="DoorR" showHelp="true" autoReturn="false" rotMin="0 0 0" rotMax="0 65 0" moveTime="3"/>
    </animParts>
    <brakelights>
        <brakelight index="0>13"/>
    </brakelights>
    <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="50" washDuration="1" workMultiplier="4"/>
    <storeData>
        <name>
            <en>МаЗ 642208</en>
        </name>
        <functions/>
        <specs/>
        <image>store.dds</image>
        <price>50000</price>
        <dailyUpkeep>10</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>MAZ</brand>
        <category>misc</category>
    </storeData>
</vehicle>
