<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="Citroen">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
	
    <storeData>
        <name>Berlingo 2002</name>
        <specs>
        <power>180</power>
        <maxSpeed>171</maxSpeed>
        </specs>
        <functions>
        <function>VL</function>
        </functions>
        <image>store.png</image>
        <price>15650</price>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>CITROENCAR</brand>
        <category>CIVIL</category>
        <shopTranslationOffset>0 0.04 0</shopTranslationOffset>
        <shopRotationOffset>-0.3 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>9520096</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>2155440</indexBufferMemoryUsage>
        <textureMemoryUsage>72058888</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
	
    <base>
        <typeDesc>$l10n_typeDesc_car</typeDesc>
        <filename>Citroen.i3d</filename>
        <size width="3" length="6.5"/>
        <components count="1">
            <component centerOfMass="0 0.4 -0.25" solverIterationCount="10" mass="1800"/>
        </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">
                <wheels autoRotateBackSpeed="2.5">
                    <wheel hasParticles="true" hasTireTracks="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="0.5" repr="AVG" driveNode="0>0|0|0|0" radius="0.35" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.28" spring="6" damper="2" frictionScale="2.5" />
                        <tire tireTrackAtlasIndex="1"/>
                    </wheel>
                    <wheel hasParticles="true" hasTireTracks="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="1" restLoad="0.5" repr="AVD" driveNode="0>0|0|1|0" radius="0.35" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.28" spring="6" damper="2" frictionScale="2.5" />
                        <tire tireTrackAtlasIndex="1"/>
                    </wheel>
                    <wheel hasParticles="true" hasTireTracks="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.7" repr="ARG" radius="0.35" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.32" spring="7" damper="3" frictionScale="2.4" />
                        <tire tireTrackAtlasIndex="1"/>
                    </wheel>
                    <wheel hasParticles="true" hasTireTracks="true">
                        <physics tipOcclusionAreaGroupId="1" rotSpeed="0" restLoad="0.7" repr="ARD" radius="0.35" width="0.27" forcePointRatio="0.5" initialCompression="25" suspTravel="0.32" spring="7" damper="3" frictionScale="2.4" />
                        <tire tireTrackAtlasIndex="1"/>
                    </wheel>
                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
		
        <ackermannSteeringConfigurations>
            <ackermannSteering rotSpeed="45" rotMax="45" rotCenterWheel1="3" rotCenterWheel2="4"/>
        </ackermannSteeringConfigurations>
    </wheels>
	
    <lights>
        <states>
            <state lightTypes="0"/>
       </states>
		
        <realLights>
            <low>
                <light node="0>0|1|0" 	lightTypes="0"/>
                <light node="0>0|1|1" 	lightTypes="0"/>
                <light node="0>0|1|6" 	lightTypes="0"/>
            </low>
            <high>
                <light node="0>0|1|0" 	lightTypes="0"/>
		<light node="0>0|1|1" 	lightTypes="0"/>
                <light node="0>0|1|6" 	lightTypes="0"/>
                <brakeLight node="0>0|1|2"/>
                <turnLightLeft node="0>0|1|3"/>
                <turnLightRight node="0>0|1|4"/>
                <reverseLight node="0>0|1|5"/>
            </high>
        </realLights>
		
        <defaultLights>
            <defaultLight shaderNode="0>0|8|1|0" lightTypes="0"/>
        </defaultLights>
		
        <brakeLights>
            <brakeLight shaderNode="0>0|8|1|3"/>
        </brakeLights>
		
        <reverseLights>
            <reverseLight shaderNode="0>0|8|1|2"/>
        </reverseLights>
		
        <turnLights>
            <turnLightLeft shaderNode="0>0|8|1|1|1"/>
	    <turnLightRight shaderNode="0>0|8|1|1|0"/>
        </turnLights>
		
        <sounds>
            <switchLight template="SWITCH_01"/>
            <turnLight template="SWITCH_TURNLIGHT"/>
        </sounds>
		
    </lights>
	
    <enterable isTabbable="true">
        <enterReferenceNode node="0>"/>
        <exitPoint node="0>0|4"/>
        <cameras count="2">
            <camera node="outdoorCamera1" rotatable="true" rotateNode="outdoorCameraTarget" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="40" translation="0 0 5.5" rotation="-17.5 180 0">
                <raycastNode node="cameraRaycastNode1"/>
                <raycastNode node="cameraRaycastNode2"/>
            </camera>
            <camera node="indoorCamera1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" positionSmoothingParameter="0" shadowFocusBox="shadowFocusBox"/>
        </cameras>
		
        <characterNode node="0>0|3|0" cameraMinDistance="1.5" spineRotation="-90 0 90">
            <target ikChain="rightFoot" targetNode="0>0|3|1"/>
            <target ikChain="leftFoot" targetNode="0>0|3|2"/>
            <target ikChain="rightArm" targetNode="0>0|5|0|1" poseId="wideFingers"/>
            <target ikChain="leftArm" targetNode="0>0|5|0|2" poseId="wideFingers"/>
        </characterNode>
		
		<characterTargetNodeModifier node="0>0|3|1" transitionTime="0.1" >
            <state node="0>0|8|0|0|0" referenceNode="0>0|8|0|0"/>
            <state node="0>0|8|0|1|0" referenceNode="0>0|8|0|1"/>
        </characterTargetNodeModifier>
    </enterable>
	
    <drivable>
        <sounds>
            <waterSplash template="WATER_SPLASH_01"/>
        </sounds>
        <steeringWheel node="0>0|5|0" indoorRotation="540" outdoorRotation="60"/>
    </drivable>
	
    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="120">
                        <dashboard displayType="ANIMATION" valueType="fillLevel" animName="loadingBarFuel" minValueAnim="0" maxValueAnim="35" groups="MOTOR_ACTIVE"/>
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
    <motorized>
        <consumerConfigurations>
            <consumerConfiguration>
                <consumer fillUnitIndex="1" usage="30" fillType="diesel"/>
                <!-- usage is per hour at max load and max rpm -->
            </consumerConfiguration>
        </consumerConfigurations>
		
        <differentialConfigurations>
            <differentialConfiguration>
                <differentials>
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="1" wheelIndex2="2"/>
                    <!-- front left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="3" wheelIndex2="4"/>
                    <!-- back left-right -->
                    <differential torqueRatio="0.5" maxSpeedRatio="1.8" differentialIndex1="1" differentialIndex2="2"/>
                    <!-- front-back -->
                </differentials>
            </differentialConfiguration>
        </differentialConfigurations>
		
        <motorConfigurations>
            <motorConfiguration name="Berlingo 2002" hp="300" price="0">
                <motor torqueScale="0.75" minRpm="1000" maxRpm="6000" maxForwardSpeed="170" maxBackwardSpeed="45" brakeForce="2" lowBrakeForceScale="0.22">
                    <torque rpm="1000" torque="1.1"/>
                    <torque rpm="2400" torque="1.5"/>
                    <torque rpm="3480" torque="1.5"/>
                    <torque rpm="4560" torque="0.95"/>
                    <torque rpm="5280" torque="0.76"/>
                    <torque rpm="6000" torque="0.5"/>
                </motor>
                <transmission minForwardGearRatio="10" maxForwardGearRatio="200" minBackwardGearRatio="40" maxBackwardGearRatio="200"/>
            </motorConfiguration>
        </motorConfigurations>
		
        <exhaustEffects>
            <exhaustEffect node="0>0|6|0" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.02" maxRpmScale="0.25"/>
        </exhaustEffects>
        <sounds externalSoundFile="$data/sounds/vehicles/engine/lizard_pickup_2014/lizard_pickup_2014.xml"/>
    </motorized>

    <foldable>
        <foldingParts>
            <foldingPart animationName="horn3ton" speedScale="1"/>
        </foldingParts>
    </foldable>
	
    <cylindered>
        <movingTools>
            <movingTool node="0>0|7|0" playSound="false"/>
        </movingTools>
        <sounds>
            <hydraulic template="PICKUP_TRUNK" linkNode="0>"/>
        </sounds>
    </cylindered>
	
    <suspensions>
        <suspension useCharacterTorso="true" weight="90" minRotation="0 -5 -5" maxRotation="0 5 5" suspensionParametersY="7 1" suspensionParametersZ="7 1" />
    </suspensions>

<attacherJoints>
        <attacherJoint node="0>0|8|2|0" jointType="trailer" lowerRotLimit="10 70 50" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false" comboTime="1">
            <schema position="1 0" rotation="0" invertX="false"/>
            <attachSound template="ATTACH_01" linkNode="0>" />
        </attacherJoint>
        <attacherJoint node="0>0|8|2|0" jointType="trailerLow" lowerRotLimit="10 70 50" upperRotationOffset="0" allowsJointLimitMovement="false" canTurnOnImplement="false" comboTime="1">
            <schema position="1 0" rotation="0" invertX="false"/>
            <attachSound template="ATTACH_01" linkNode="0>" />
        </attacherJoint>
    </attacherJoints>

	
    <ai>
        <collisionTrigger node="0>0|11|0"/>
    </ai>
	
    <honk>
        <sound template="HONK_JD8400R"/>
    </honk>
	
    <foliageBending>
        <bendingNode minX="-1.15" maxX="1.15" minZ="-2.8" maxZ="2.8" yOffset="0.05"/>
    </foliageBending>
	
    <dischargeable requiresTipOcclusionArea="false"/>
	
    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="3" fieldMultiplier="2"/>
	
    <i3dMappings>
        <i3dMapping id="AVG" node="0>0|0|0"/>
        <i3dMapping id="AVD" node="0>0|0|1"/>
        <i3dMapping id="ARG" node="0>0|0|2"/>
        <i3dMapping id="ARD" node="0>0|0|3"/>
		
        <i3dMapping id="outdoorCameraTarget" node="0>0|2|0"/>
        <i3dMapping id="outdoorCamera1" node="0>0|2|0|0"/>
        <i3dMapping id="indoorCamera1" node="0>0|2|1"/>
        <i3dMapping id="cameraRaycastNode1" node="0>0|2|2"/>
        <i3dMapping id="cameraRaycastNode2" node="0>0|2|3"/>
        <i3dMapping id="cameraRaycastNode3" node="0>0|2|4"/>
        <i3dMapping id="shadowFocusBox" node="0>0|2|5"/>

       <i3dMapping id="feuxav" node="0>0|8|1|0"/>
    </i3dMappings>
	
</vehicle>