<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="carFillable">
    <annotation>Edwrd`s Modding All Rights Reserved</annotation>
    <storeData>
        <name>
            <en>RENAULT_PREMIUM_SARENS</en></name>
        <specs>
            <power>500</power>
            <maxSpeed>125</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_truck</function>
        </functions>
        <image>store2.dds</image>
        <price>30000</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>RENAULT</brand>
        <category>trucks</category>
        <shopTranslationOffset>0 0.04 0</shopTranslationOffset>
        <shopRotationOffset>-0.3 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>3984248</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>678444</indexBufferMemoryUsage>
        <textureMemoryUsage>30410616</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
    <base>       
        <filename>truckmp4.i3d</filename>
        <size width="3.5" length="7" lengthOffset="-0.2"/>
        <components>
            <component centerOfMass="0 0.43 0" solverIterationCount="10" mass="7250"/>
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_VEHICLE"/>
            <selected name="DEFAULT_VEHICLE_SELECTED"/>
        </schemaOverlay>
    </base>
    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="TRELLEBORG">
                <wheels autoRotateBackSpeed="2.2">
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/500_60R22_5.xml" configId="truckFront" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="2.4" repr="axisFrontLeft" driveNode="wheelFrontLeft" forcePointRatio="0.5" initialCompression="35" suspTravel="0.23" spring="28" damper="40" frictionScale="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/500_60R22_5.xml" configId="truckFront" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="2.4" repr="axisFrontRight" driveNode="wheelFrontRight" forcePointRatio="0.5" initialCompression="35" suspTravel="0.23" spring="28" damper="40" frictionScale="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/600_50R22_5.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.6" repr="wheelBackLeft" forcePointRatio="0.5" initialCompression="15" suspTravel="0.23" spring="42" damper="40" frictionScale="1.9"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/trelleborg/TwinRadial/600_50R22_5.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.6" repr="wheelBackRight" forcePointRatio="0.5" initialCompression="15" suspTravel="0.23" spring="42" damper="40" frictionScale="1.9"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0" brand="LIZARD">
                <wheels autoRotateBackSpeed="2.2">
                    <wheel filename="$data/shared/wheels/lizard/implement/315_80R22_5.xml" configId="man" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="2.4" repr="axisFrontLeft" driveNode="wheelFrontLeft" forcePointRatio="0.5" initialCompression="35" suspTravel="0.23" spring="28" damper="40" frictionScale="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/lizard/implement/315_80R22_5.xml" configId="man" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="1" restLoad="2.4" repr="axisFrontRight" driveNode="wheelFrontRight" forcePointRatio="0.5" initialCompression="35" suspTravel="0.23" spring="28" damper="40" frictionScale="2"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/lizard/implement/315_80R22_5.xml" configId="dual" isLeft="true" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.6" repr="wheelBackLeft" forcePointRatio="0.5" initialCompression="15" suspTravel="0.19" spring="49" damper="40" frictionScale="1.9"/>
                        <additionalWheel filename="$data/shared/wheels/lizard/implement/315_80R22_5.xml" configId="dualConnector" isLeft="true" offset="0.08"/>
                    </wheel>
                    <wheel filename="$data/shared/wheels/lizard/implement/315_80R22_5.xml" configId="dual" isLeft="false" hasTireTracks="true" hasParticles="true">
                        <physics rotSpeed="0" restLoad="1.6" repr="wheelBackRight" forcePointRatio="0.5" initialCompression="15" suspTravel="0.19" spring="49" damper="40" frictionScale="1.9"/>
                        <additionalWheel filename="$data/shared/wheels/lizard/implement/315_80R22_5.xml" configId="dualConnector" isLeft="false" offset="0.08"/>
                    </wheel>
                </wheels>
                <objectChange node="wheelBackLeft" translationActive="0.735 0.462 -2.192"/>
                <objectChange node="wheelBackRight" translationActive="-0.735 0.462 -2.192"/>
            </wheelConfiguration>
        </wheelConfigurations>
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="40" rotMax="45" rotCenterWheel1="3" rotCenterWheel2="4"/>
        </ackermannSteeringConfigurations>
        <hubs>
            <color0>SHARED_BLACK2</color0>
            <color1>SHARED_GREY1</color1>
            <hub linkNode="wheelBackLeft" filename="$data/shared/wheels/hubs/hub_n10_13.xml" isLeft="true" scale="0.33 0.33 0.33"/>
            <hub linkNode="wheelBackRight" filename="$data/shared/wheels/hubs/hub_n10_13.xml" isLeft="false" scale="0.33 0.33 0.33"/>
        </hubs>
    </wheels>
    <rimColorConfigurations useDefaultColors="true" price="300">
        <rimColorConfiguration color="MAN_BEIGECLASSIC"/>
    </rimColorConfigurations>
    <lights>
        
        <states>
            <state lightTypes="0"/>
            <state lightTypes="0 1"/>
            <state lightTypes="0 1 2"/>
        </states>
        <realLights>
            <low>
                <light node="frontLightLow" lightTypes="0 1" excludedLightTypes="2 3"/>
                <light node="workLightBackLow" lightTypes="1"/>
                <light node="workLightFrontLow" lightTypes="2"/>
                <light node="highBeamLow" lightTypes="3"/>
            </low>
            <high>
                <light node="frontLightHigh" lightTypes="0 1" excludedLightTypes="2 3"/>
                <light node="workLightBackHigh1" lightTypes="1"/>
                <light node="workLightFrontHigh1" lightTypes="2"/>
                <light node="highBeamHigh" lightTypes="3"/>
                <light node="backLightsHigh1" lightTypes="0"/>
                <brakeLight node="backLightsHigh1"/>
                <turnLightLeft node="turnLightLeftFront"/>
                <turnLightRight node="turnLightRightFront"/>
                <reverseLight node="reverseLight"/>
            </high>
        </realLights>
        <defaultLights>
            <defaultLight shaderNode="frontlightStatic" lightTypes="0 3"/>
            <defaultLight shaderNode="frontlightStatic1" lightTypes="0 3"/>
			<defaultLight shaderNode="frontlightStatic2" lightTypes="0 3"/>
            <defaultLight shaderNode="backlightStatic" lightTypes="0"/>
        </defaultLights>
        <turnLights>
            <turnLightLeft shaderNode="turnlightLeftStatic"/>
            <turnLightRight shaderNode="turnlightRightStatic"/>
        </turnLights>
        <brakeLights>
            <brakeLight shaderNode="brakelightstatic"/>
            <brakeLight shaderNode="backlightStatic"/>
        </brakeLights>
        <reverseLights>
            <reverseLight shaderNode="reverselightStatic"/>
        </reverseLights>
        <sounds>
            <switchLight template="SWITCH_01" linkNode="0>"/>
            <turnLight template="SWITCH_TURNLIGHT" linkNode="0>"/>
        </sounds>
        <beaconLights>
            <beaconLight node="beaconLightLeft" filename="$data/shared/assets/beaconLights/lizard/beaconLight02.xml"/>
            <beaconLight node="beaconLightRight" filename="$data/shared/assets/beaconLights/lizard/beaconLight02.xml"/>
        </beaconLights>
    </lights>
    
    <enterable isTabbable="true">
        <enterReferenceNode node="tgs18500_main_component1"/>
        <exitPoint node="exitPoint"/>
        <cameras>
            <camera node="outdoorCamera1" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4.5" transMax="40" translation="0 0 9" rotation="-20 180 0">
                <raycastNode node="cameraRaycastNode1"/>
                <raycastNode node="cameraRaycastNode2"/>
                <raycastNode node="cameraRaycastNode3"/>
            </camera>
            <camera node="indoorCamera1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" shadowFocusBox="shadowFocusBox"/>
        </cameras>
      
        <mirrors>
            <mirror node="mirrorSmallLeftDecal" prio="1"/>
            <mirror node="mirrorSmallRightDecal" prio="1"/>
        </mirrors>
    </enterable>
    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="150" fillType="diesel"/>
                <!-- usage is per hour at max load and max rpm -->
                <consumer fillUnitIndex="2" usage="3.5" fillType="def"/>
                <!-- usage is per hour at max load and max rpm -->
                <consumer fillUnitIndex="3" usage="300" fillType="air" permanentConsumption="false" refillLitersPerSecond="350" refillCapacityPercentage="0.5"/>
                <!-- usage per second at full brake power -->
            </consumerConfiguration>
        </consumerConfigurations>
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.5" wheelIndex1="1" wheelIndex2="2"/>
                    <!-- front 1-2 -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.7" wheelIndex1="3" wheelIndex2="4"/>
                    <!-- back 3-4 -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.5" differentialIndex1="1" differentialIndex2="2"/>
                    <!-- front-back -->
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
        <motorConfigurations>
            <motorConfiguration name="RENAULT PREMIUM SARENS" hp="500" price="0">
                <motor torqueScale="2.994" minRpm="850" maxRpm="3200" maxForwardSpeed="133" maxBackwardSpeed="15" brakeForce="7" lowBrakeForceScale="0.22" rotInertia="0.02">
                    <torque rpm="850" torque="0.9"/>
                    <torque rpm="1000" torque="1"/>
                    <torque rpm="1450" torque="1"/>
                    <torque rpm="1900" torque="0.75"/>
                    <torque rpm="2200" torque="0.63"/>
                    <torque rpm="2500" torque="0.2"/>
                </motor>
                <transmission minForwardGearRatio="10" maxForwardGearRatio="250" minBackwardGearRatio="40" maxBackwardGearRatio="200"/>
            </motorConfiguration>
        </motorConfigurations>
        <exhaustEffects>
            <exhaustEffect node="exhaustParticle" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.03" maxRpmScale="0.2" xzRotationsOffset="40 0" xzRotationsForward="20 80" xzRotationsBackward="20 -80" xzRotationsLeft="20 80" xzRotationsRight="20 -80"/>
        </exhaustEffects>
        <sounds externalSoundFile="$data/sounds/vehicles/engine/man_tgs_18500/man_tgs_18500.xml"/>
        <dashboards>
            <dashboard displayType="ANIMATION" valueType="speed" animName="speedDisplay" minValueAnim="0" maxValueAnim="120" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="motorTemperature" animName="tempDisplay" minValueAnim="0" maxValueAnim="120" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ANIMATION" valueType="rpm" animName="rpmDisplay" minValueAnim="500" maxValueAnim="3000" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </motorized>
    <drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01" linkNode="0>"/>
        </sounds>
        <steeringWheel node="steeringWheel" indoorRotation="360" outdoorRotation="25"/>
        <dashboards>
            <dashboard displayType="ROT" valueType="decelerationAxis" node="brakePedal" minRot="0 0 0" maxRot="-15 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
            <dashboard displayType="ROT" valueType="accelerationAxis" node="gasPedal" minRot="0 0 0" maxRot="-15 0 0" doInterpolation="true" groups="MOTOR_ACTIVE"/>
        </dashboards>
    </drivable>
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="400">
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="fuelDisplay" groups="MOTOR_ACTIVE"/>
                    </fillUnit>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="def" capacity="60"/>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="air" capacity="4000"/>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
    <attacherJoints comboDuration="2">
        <attacherJointConfigurations>
            <attacherJointConfiguration>
                <attacherJoint node="semitrailerAttacherJoint" jointType="semitrailer" allowsJointLimitMovement="false" allowsLowering="false" lowerRotLimit="12 125 12">
                    <schema position="1 0" rotation="0" invertX="false"/>
                    <attachSound template="TRUCK_ATTACH_01" linkNode="0>"/>
                </attacherJoint>
            </attacherJointConfiguration>
        </attacherJointConfigurations>
        <sounds>
            <attach template="ATTACH_01" linkNode="0>"/>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>"/>
        </sounds>
    </attacherJoints>
    <honk>
        <sound template="HONK_TRUCK" linkNode="0>"/>
    </honk>
    <animations>
        <animation name="tempDisplay">
            <part node="tempNeedle" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 50"/>
        </animation>
        <animation name="fuelDisplay">
            <part node="fuelNeedle" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 50"/>
        </animation>
        <animation name="rpmDisplay">
            <part node="rpmNeedle" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 197"/>
        </animation>
        <animation name="speedDisplay">
            <part node="speedNeedle" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 216"/>
        </animation>
    </animations>
    <cylindered>
        <movingParts>
            <movingPart node="steeringBar" referencePoint="steeringBarRef" referenceFrame="steeringBarRef" isActiveDirty="true"/>
        </movingParts>
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND"/>
        </sounds>
    </cylindered>
    <suspensions>
        <suspension node="cabin" weight="400" minRotation="-6 0 -6" maxRotation="6 0 6" suspensionParametersX="120 10" suspensionParametersZ="120 10"/>
        <suspension node="seat" weight="150" minTranslation="-0.05 -0.15 0.0" maxTranslation="0.05 0.15 0.0" suspensionParametersX="20 4" suspensionParametersY="5 1" suspensionParametersZ="20 4"/>      
    </suspensions>
    <ai>
        <collisionTrigger node="aiCollisionTrigger"/>
    </ai>
    <dashboard>
        <groups>
            <group name="MOTOR_STARTING" isMotorStarting="true"/>
            <group name="MOTOR_ACTIVE" isMotorStarting="true" isMotorRunning="true"/>
        </groups>
    </dashboard>
    <foliageBending>
        <bendingNode minX="-1.35" maxX="1.35" minZ="-3.15" maxZ="3.1" yOffset="0.5"/>
        <bendingNode minX="-0.3" maxX="0.3" minZ="-3.5" maxZ="-3.05" yOffset="0.4"/>
    </foliageBending>
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
    <i3dMappings>
        <i3dMapping id="tgs18500_main_component1" node="0>"/>
        <i3dMapping id="tgs_vis" node="0>0"/>
        <i3dMapping id="axisFrontLeft" node="0>0|0|0|0"/>
        <i3dMapping id="wheelFrontLeft" node="0>0|0|0|0|0|0"/>
        <i3dMapping id="steeringBarRef" node="0>0|0|0|0|1"/>
        <i3dMapping id="axisFrontRight" node="0>0|0|1|0"/>
        <i3dMapping id="wheelFrontRight" node="0>0|0|1|0|0|0"/>
        <i3dMapping id="steeringBar" node="0>0|0|1|0|1"/>
        <i3dMapping id="wheelBackLeft" node="0>0|0|2"/>
        <i3dMapping id="wheelBackRight" node="0>0|0|3"/>
        <i3dMapping id="outdoorCameraTarget" node="0>0|1|0"/>
        <i3dMapping id="outdoorCamera1" node="0>0|1|0|0"/>
        <i3dMapping id="indoorCamera1" node="0>0|1|1"/>
        <i3dMapping id="cameraRaycastNode1" node="0>0|1|2"/>
        <i3dMapping id="cameraRaycastNode2" node="0>0|1|3"/>
        <i3dMapping id="cameraRaycastNode3" node="0>0|1|4"/>
        <i3dMapping id="shadowFocusBox" node="0>0|1|5"/>
        <i3dMapping id="turnlightLeftStatic" node="0>0|2|1|0"/>
        <i3dMapping id="turnlightRightStatic" node="0>0|2|1|1"/>
        <i3dMapping id="backlightStatic" node="0>0|2|1|2"/>
        <i3dMapping id="brakelightstatic" node="0>0|2|1|3"/>
        <i3dMapping id="reverselightStatic" node="0>0|2|1|4"/>
        <i3dMapping id="frontlightStatic" node="0>0|2|1|5"/>
        <i3dMapping id="frontLightLow" node="0>0|2|2|0"/>
        <i3dMapping id="highBeamLow" node="0>0|2|2|1"/>
        <i3dMapping id="frontLightHigh" node="0>0|2|2|2"/>
        <i3dMapping id="highBeamHigh" node="0>0|2|2|3"/>
        <i3dMapping id="backLightsHigh1" node="0>0|2|3|0"/>
        <i3dMapping id="turnLightLeftFront" node="0>0|2|4|0"/>
        <i3dMapping id="turnLightRightFront" node="0>0|2|4|1"/>
        <i3dMapping id="reverseLight" node="0>0|2|5|0"/>
        <i3dMapping id="exitPoint" node="0>0|3"/>
        <i3dMapping id="semitrailerAttacherJoint" node="0>0|4|0"/>
        <i3dMapping id="trailerAttacherNode" node="0>0|4|2"/>
        <i3dMapping id="wheelChock01" node="0>0|4|5"/>
        <i3dMapping id="cabin" node="0>0|5|0"/>
        <i3dMapping id="seat" node="0>0|5|0|0"/>
     
        <i3dMapping id="steeringWheel" node="0>0|5|0|2|0"/>
      
        <i3dMapping id="gasPedal" node="0>0|5|0|3|0"/>
       
        <i3dMapping id="brakePedal" node="0>0|5|0|3|1"/>
       
        <i3dMapping id="tempNeedle" node="0>0|5|0|8|5|3"/>
        <i3dMapping id="rpmNeedle" node="0>0|5|0|8|5|1"/>
        <i3dMapping id="speedNeedle" node="0>0|5|0|8|5|0"/>
        <i3dMapping id="fuelNeedle" node="0>0|5|0|8|5|2"/>
        <i3dMapping id="mirrorSmallLeftDecal" node="0>0|5|0|6|0"/>
        <i3dMapping id="mirrorSmallRightDecal" node="0>0|5|0|6|1"/>
        <i3dMapping id="beaconLightLeft" node="0>0|5|0|7|2"/>
        <i3dMapping id="beaconLightRight" node="0>0|5|0|7|3"/>
        <i3dMapping id="workLightBackHigh1" node="0>0|5|0|7|8"/>
        <i3dMapping id="workLightBackLow" node="0>0|5|0|7|9"/>
        <i3dMapping id="frontlightStatic1" node="0>0|5|0|7|10|3"/>
		<i3dMapping id="frontlightStatic2" node="0>0|5|0|7|10|5"/>
        <i3dMapping id="workLightFrontLow" node="0>0|5|0|7|12"/>
        <i3dMapping id="workLightFrontHigh1" node="0>0|5|0|7|13"/>
        <i3dMapping id="aiCollisionTrigger" node="0>0|7|0"/>
        <i3dMapping id="exhaustParticle" node="0>0|8"/>
        <i3dMapping id="airDoubleStorage" node="0>0|9|0"/>
        <i3dMapping id="airDoubleControl" node="0>0|9|1"/>
        <i3dMapping id="frontElectric" node="0>0|9|2"/>
        <i3dMapping id="additionalParts" node="0>0|10|4"/>
    </i3dMappings>
</vehicle>
