<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="KARZ">
    <annotation>All Rights Reserved.</annotation>
    <name>
        <en>PF 8304</en>
        <ru>ПФ 8304</ru>
    </name>
    <description></description>
    <filename>przyczepka.i3d</filename>   
    <size width="3.5" length="8.0" />   
    <wheels autoRotateBackSpeed="2.0">
        <wheel driveMode="0" repr="0" radius="0.05" deltaY="0.25" suspTravel="0.3" spring="60" damper="0" mass="0.05" />
        <wheel driveMode="0" repr="1" radius="0.38" deltaY="0.25" suspTravel="0.3" spring="20" damper="0" mass="0.1" />
        <wheel driveMode="0" repr="2" radius="0.38" deltaY="0.25" suspTravel="0.3" spring="20" damper="0" mass="0.1" />
    </wheels>
    <brakeForce>1</brakeForce>
    <capacity>750</capacity>
    <massPerFillLevel value="0.00005" />

	<lightCoronas>
		<lightCorona index="0>16" />
	</lightCoronas>

	<brakeLights>
		<brakeLight index="0>17" />
	</brakeLights>

	<lightsaddon lightsStayOn="true">
		<light type="dirLeft" index="0>18" />
		<light type="dirRight" index="0>19" />
		<flashers soundfile="sound/blinktick.wav" lowPitch="0.6" highPitch="0.8" volume="0.6" autoreturn="true" tolerance="0.9"/>
	</lightsaddon>

    <dynamicMountAttacherTrigger triggerNode="0>9" rootNode="0>" jointNode="0>" />	
  <grainPlane>
    <node type="wheat" index="0>3|1" />
    <node type="barley" index="0>3|1" />
    <node type="maize" index="0>3|2" />
    <node type="rape" index="0>3|3" />
    <node type="potato" index="0>3|4" />
    <node type="sugarBeet" index="0>3|5" />
    <node type="chaff" index="0>3|6" />
    <node type="grass" index="0>3|7" />
    <node type="silage" index="0>3|8" />
    <key time="0" y="-0.15657" scale="1 0.1 1" />
    <key time="0.5" y="0.16" scale="1 0.5 1" />
    <key time="1" y="0.53" scale="1 1 1" />
  </grainPlane>    
    <attacherJoint index="0>4" jointType="trailerLow"/>
    <tipReferencePoint index="0>5" />
	<foldingParts posDirectionText="open" negDirectionText="close">
        <foldingPart componentJointIndex="0" anchorActor="0" animationClip="foldClipSource" rootNode="0>3|0" speedScale="1" />
	</foldingParts>
    <fillRootNode index="0>" />
    <exactFillRootNode index="0>8" />
    <fillAutoAimTargetNode index="0>7" />
    <fillMassNode index="0>" />
    <tipAnimations>
        <tipAnimation speedScale="1" animationName="tipAnimationBack" dischargeStartTime="0.5" dischargeEndTime="5" >
		
		        <tipEffect fillTypes="wheat barley maize rape">
            <effectNode node="0|0|0" linkNode="0>6" materialType="unloading" materialTypeId="3" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.01"/>
            <effectNode node="0|0|1" linkNode="0>6" materialType="smoke"     materialTypeId="1" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.2"/>
        </tipEffect>	
		
            <dischargeParticleSystems>
 <dischargeParticleSystem type="potato" node="0>6" psRootNode="0|1" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
    <dischargeParticleSystem type="sugarBeet" node="0>6" psRootNode="0|2" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
    <dischargeParticleSystem type="chaff" node="0>6" psRootNode="0|0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
    <dischargeParticleSystem type="grass" node="0>6" psRootNode="0|0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
    <dischargeParticleSystem type="silage" node="0>6" psRootNode="0|0" rotation="0 0 0" file="$data/vehicles/particleAnimations/shared/unloadingBackParticles.i3d" />
            </dischargeParticleSystems>
        </tipAnimation>
    </tipAnimations>
    <animations>
	        <tipEffect fillTypes="wheat barley maize rape">
            <effectNode node="0|0|0" linkNode="0>3|2" materialType="unloading" materialTypeId="3" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.01"/>
            <effectNode node="0|0|1" linkNode="0>3|2" materialType="smoke"     materialTypeId="1" position="0 0 0" filename="$data/vehicles/particleAnimations/shared/unloadingBack.i3d" fadeTime="0.2"/>
        </tipEffect>	
		
		<animation name="tipAnimationBack">
            <part node="0>3|0" startTime="0.1" endTime="0.5" startRot="0 0 0" endRot="179 0 0" /> <!-- door -->
        </animation>
    </animations>
	
	    <tipReferencePoints>
		<tipReferencePoint index="0>8" width="2.5" />
    </tipReferencePoints>
	
  <fillTypes fruitTypes="wheat barley rape maize potato sugarBeet chaff grass silage" />
    <components count="2">
        <component1 centerOfMass="0 0 0" solverIterationCount="4" />
        <component2 solverIterationCount="4" />
        <joint component1="0" component2="1" index="0>3|0|1" rotLimit="0 0 0" transLimit="0 0 0" />
    </components>

    <schemaOverlay file="$data/vehicles/schemas/implementSchema.png" fileSelected="$data/vehicles/schemas/implementSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>

</vehicle>
