<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="SEMEN">
	<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <name>
        <en>VAZ2107</en>
        <de>VAZ2107</de>
        <ru>ВАЗ2107</ru>
    </name>
    <filename>VAZ2107.i3d</filename>
	
    <wheels autoRotateBackSpeed="2.0">
        <wheel rotSpeed="70" rotMax="30" rotMin="-30" tireType="street" repr="0" driveNode="0>0" radius="0.33" suspTravel="0.10" spring="10" damper="25" mass="4.5" initialCompression="75" hasTyreTracks="true" tyreTrackAtlasIndex="4" />
        <wheel rotSpeed="70" rotMax="30" rotMin="-30" tireType="street" repr="1" driveNode="0>1" radius="0.33" suspTravel="0.10" spring="10" damper="25" mass="4.5" initialCompression="75" hasTyreTracks="true" tyreTrackAtlasIndex="4" />
        <wheel rotSpeed="0"                           tireType="street" repr="2"                 radius="0.33" suspTravel="0.10" spring="10" damper="25" mass="4.5" initialCompression="75" hasTyreTracks="true" tyreTrackAtlasIndex="4" />
        <wheel rotSpeed="0"                           tireType="street" repr="3"                 radius="0.33" suspTravel="0.10" spring="10" damper="25" mass="4.5" initialCompression="75" hasTyreTracks="true" tyreTrackAtlasIndex="4" />
    </wheels>
	
	<ackermannSteering rotSpeed="50" rotMax="30" rotCenterWheel1="2" rotCenterWheel2="3" />

    <differentials>
        <differential torqueRatio="0.9" maxSpeedRatio="1.3" wheelIndex1="2" wheelIndex2="3" /> <!-- back left-right -->
    </differentials>

    <motor torqueScale="0.93" minRpm="1000" maxRpm="4700" maxBackwardSpeed="31" brakeForce="2.9" lowBrakeForceScale="0.8" lowBrakeForceSpeedLimit="0" minForwardGearRatio="19.7" maxForwardGearRatio="130" minBackwardGearRatio="20" maxBackwardGearRatio="110">
        <torque normRpm="0.45" torque="0.9"/>
        <torque normRpm="0.5" torque="0.97"/>
        <torque normRpm="0.59" torque="1"/>
        <torque normRpm="0.72" torque="1"/>
        <torque normRpm="0.96" torque="0.91"/>
        <torque normRpm="1" torque="0.72"/>
    </motor>

    <fuelCapacity>140</fuelCapacity>
    <fuelUsage>40</fuelUsage>
	
	<cameras count="2">
        <camera1 index="0>4|0|0|0" rotatable="true" rotateNode="0>4|0|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="35" >
            <raycastNode index="0>4|0|2"/>
            <raycastNode index="0>4|0|3"/>
        </camera1>
        <camera2 index="0>4|0|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" useWorldXZRotation="true" transMin="0" transMax="0" useMirror="true" isInside="true" />
    </cameras>
	
	
	<lights>
        <light realLight="0>4|1|0|0" decoration="0>4|1|0|1" lightType="0"/>
        <light realLight="0>4|1|1|0" decoration="0>4|1|0|2" lightType="1"/>
    </lights>

    <brakeLights>
        <brakeLight index="0>4|9" />
    </brakeLights>

    <turnSignals>
        <turnSignalLeft index="0>4|10" />
        <turnSignalRight index="0>4|11" />
    </turnSignals>
	
	<reverseLights>
        <reverseLight index="0>4|13" />
    </reverseLights>

    <size width="3.5" length="5.5" lengthOffset="-0.4"/>

    <exitPoint index="0>4|2" />
	<steering index="0>4|3|0" indoorRotation="240" outdoorRotation="45" />

    <enterReferenceNode index="0>" />
	


    <attachSound file="sound/lizard2000_attach.wav" pitchOffset="1" />
    <motorStartSound file="sound/car_start.wav" pitchOffset="0.9" volume="1" />
    <motorSound file="sound/car_idle.wav" pitchOffset="0.9" pitchScale="0.025" pitchMax="1.5" volume="1" />
    <motorStopSound file="sound/car_stop.wav" pitchOffset="0.9" />
 
	<honkSound file="$dataS2/sounds/horn.wav" volume="1" radius="50" innerRadius="20" />
    
	<Beifahrer>
        <Kamera index="0>4|12|0|0" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
        <NicknameNode index="0>4|12|0|1" />
        <BeifahrerNode index="0>4|12|0|2" />
    </Beifahrer>
	
	<animParts> 
        <animPart index="0>4|8|0|9"  id="dool_rf_ok225" showHelp="true" autoReturn="false" rotMin="0 0 0" rotMax="0 65 0" moveTime="1.2" /> 
        <animPart index="0>4|8|0|10" id="dool_rr_ok219" showHelp="true" autoReturn="false" rotMin="0 0 0" rotMax="0 65 0" moveTime="1.2" /> 
        <animPart index="0>4|8|0|7"  id="dool_lf_ok230" showHelp="true" autoReturn="false" rotMin="0 0 0" rotMax="0 -65 0" moveTime="1.2" /> 
        <animPart index="0>4|8|0|8"  id="dool_lr_ok231" showHelp="true" autoReturn="false" rotMin="0 0 0" rotMax="0 -65 0" moveTime="1.2" /> 
        <animPart index="0>4|8|0|2"  id="bonnet_front"  showHelp="true" autoReturn="false" rotMin="0 0 0" rotMax="60 0 0" moveTime="1.4" /> 
        <animPart index="0>4|8|0|3"  id="bonnet_rear"   showHelp="true" autoReturn="false" rotMin="0 0 0" rotMax="55 0 0" moveTime="1.4" /> 
		<animPart index="0>4"        id="nNevmo"        showHelp="true" autoReturn="false" transMin="0 0 0" transMax="0 -0.11 0" moveTime="1.6" /> 
    </animParts>
	
	<exhaustEffects>
        <exhaustEffect index="0>4|7|0" filename="$data/vehicles/particleAnimations/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.07" maxRpmScale="0.4" forwardXRotations="-250 0 250" forwardZRotations="0 0 0" steerXRotations="0 0 0" steerZRotations="120 0 -50" />
    </exhaustEffects>

    <!-- <characterNode index="0>4|4" cameraMinDistance="1.5" /> -->
    
	<characterNode index="0>4|14" cameraMinDistance="2.0" filename="$dataS2/character/player/player.i3d" characterMesh="1" characterGloves="2" characterSkin="0" spineNode="0|0" leftArmIKChainId="leftArm" rightArmIKChainId="rightArm" spineRotation="180 0 104" >
        <ikChains>
            <ikChain id="rightFoot" target="0>4|16" targetOffset="0 0.1 0" alignToTarget="true" isDirtyOnLoad="true" >
                <node index="0|1" />
                <node index="0|1|0"     minRx="0" maxRx="0" minRy="-20" maxRy="20" minRz="0"   maxRz="90" />
                <node index="0|1|0|0"   minRx="0" maxRx="0" minRy="0"   maxRy="0"  minRz="270" maxRz="360" />
                <node index="0|1|0|0|0" />
            </ikChain>
            <ikChain id="leftFoot" target="0>4|15" targetOffset="0 0.1 0" alignToTarget="true" isDirtyOnLoad="true">
                <node index="0|2"     />
                <node index="0|2|0"     minRx="0" maxRx="0" minRy="-20" maxRy="20" minRz="0"   maxRz="90" />
                <node index="0|2|0|0"   minRx="0" maxRx="0" minRy="0"   maxRy="0"  minRz="270" maxRz="360" />
                <node index="0|2|0|0|0" />
            </ikChain>
            <ikChain id="rightArm" target="0>4|3|0|1" targetOffset="0.025 0.066 0" alignToTarget="true" isDirtyOnLoad="true">
                <node index="0|0|0|1" />
                <node index="0|0|0|1|0"   minRx="0" maxRx="0" minRy="-40" maxRy="90" minRz="0" maxRz="90" />
                <node index="0|0|0|1|0|0" minRx="0" maxRx="0" minRy="0" maxRy="0" minRz="7" maxRz="90" />
                <node index="0|0|0|1|0|0|0" />
                <rotationNode index="0|0|0|1|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|1|0|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|1|0|0|0|1" rotation="-90 20 -40" />
                <rotationNode index="0|0|0|1|0|0|0|1|0" rotation="0 0 -40" />
            </ikChain>
            <ikChain id="leftArm" target="0>4|3|0|0" targetOffset="-0.025 0.066 0" alignToTarget="true" isDirtyOnLoad="true">
                <node index="0|0|0|2" />
                <node index="0|0|0|2|0"   minRx="0" maxRx="0" minRy="-40" maxRy="90" minRz="0" maxRz="90" />
                <node index="0|0|0|2|0|0" minRx="0" maxRx="0" minRy="0" maxRy="0" minRz="7" maxRz="90" />
                <node index="0|0|0|2|0|0|0" />
                <rotationNode index="0|0|0|2|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|2|0|0|0|0|0" rotation="0 0 -60" />
                <rotationNode index="0|0|0|2|0|0|0|1" rotation="-90 20 -40" />
                <rotationNode index="0|0|0|2|0|0|0|1|0" rotation="0 0 -40" />
            </ikChain>
        </ikChains>
    </characterNode>
 
    <aiTrafficCollisionTrigger index="0>4|6" />
	
    <components count="1">
        <component1 centerOfMass="0.00 0.29 -0.08" solverIterationCount="10" />
    </components>
	
	<washable dirtDuration="90" washDuration="1" workMultiplier="4" />
	
	<driveGroundParticleSystems>
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="1" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="2" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="3" />
        <driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="4" />
    </driveGroundParticleSystems>
	
	

	<schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0">
        <attacherJoint position="1 0" rotation="0" invertX="false" />
        <attacherJoint position="0 0" rotation="0" invertX="true" />
        <attacherJoint position="1 0" rotation="0" invertX="false" />
        <attacherJoint position="1 0" rotation="0" invertX="false" />
    </schemaOverlay>

</vehicle>
