<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="Godet">
    <annotation>Lejoueur</annotation>

    <storeData>
        <name>Godet Case 0.5M</name>
		<specs>
            <combination>9407 S, MLA-T, MLT</combination>
        </specs>
        <image>storeG2.png</image>
        <price>400</price>
		<lifetime>600</lifetime>
        <rotation>0</rotation>
		<brand>CASE</brand>
        <category>FT_Excavator</category>
        <vertexBufferMemoryUsage>64704</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>13680</indexBufferMemoryUsage>
        <textureMemoryUsage>4568592</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>
	
	<base>
        <typeDesc>$l10n_typeDesc_telehandlerTool</typeDesc>
        <filename>godet2.i3d</filename>
        <size width="1" length="1"/>
        <components>
            <component centerOfMass="0 -0.89 -0.156" solverIterationCount="10" mass="250" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>
 
	<attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="0>0|0" jointType="telehandler" />
			<inputAttacherJoint node="0>0|1" jointType="cutter" />
        </inputAttacherJoints>
    </attachable>

	<animations>	
		<animation name="colisiongodet">
			<part node="0>1|0|1"	startTime="0"	endTime="1"  startScale="1 1 1" endScale="0 0 0"/>
		</animation>
    </animations>
	
	<fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk windrow" capacity="1500" >
                        <exactFillRootNode node="0>1|0|0|0|3" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>
	
	<fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="0>1|0|0|0|0" allSidePlanes="true" maxAllowedHeapAngle="90" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <loadInfos>
            <loadInfo>
                <node node="0>1|0|0|0|1" width="0.35" length="0.1" />
            </loadInfo>
        </loadInfos>
		
		<unloadInfos>
            <unloadInfo>
                <node node="0>1|0|0|0|2" width="0.35" length="0.1" />
            </unloadInfo>
        </unloadInfos>
    </fillVolume>
	
	<dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="0>1|0|0|1" fillUnitIndex="1" emptySpeed="5000" >
            <raycast node="0>1|0|0|1" maxDistance="30" useWorldNegYDirection="true" yOffset="2"/>
            <info width="0.35" length="0.1" zOffset="0.5"/>

            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="0>1|0|0|2" effectClass="ParticleEffect" />
                    <effectNode effectNode="0>1|0|0|3|0" materialType="unloading" materialTypeId="3" fadeTime="0.5" alignXAxisToWorldY="true" />
                </effectNode>
                <effectNode effectNode="0>1|0|0|3|1" materialType="smoke" materialTypeId="1" fadeTime="0.5" />
            </effects>
        </dischargeNode>
    </dischargeable>
	
	<shovel>
        <shovelNode node="0>1|0|0|4" fillUnitIndex="1" loadInfoIndex="1" width="0.35" length="0.1" needsMovement="true" maxPickupAngle="105"/>
        <dischargeInfo node="0>1|0|0|1" minSpeedAngle="105" maxSpeedAngle="180" />
    </shovel>

    <foliageBending>
        <bendingNode minX="-1.35" maxX="1.35" minZ="-0.7" maxZ="0.75" yOffset="0.02" />
    </foliageBending>

    <wearable wearDuration="10.00" workMultiplier="5" fieldMultiplier="4"/>
    <washable dirtDuration="5.00" washDuration="1" workMultiplier="5" fieldMultiplier="4"/>
	
	<godetvisual  		   	index="0>1" />
	<objet  		   		index="0>" />

	<designConfigurations>
	    <designConfiguration name="Godet neuf" price="0" >
			<objectChange node="0>1|1|0" visibilityActive="true" visibilityInactive="false"/>
        </designConfiguration>
    </designConfigurations>
	
	<baseMaterial>
        <material name="1" baseNode="0>1|1|0">
            <shaderParameter name="colorMat0" value="0 0 0 1"/>
        </material>
		<material name="2" baseNode="0>1|1|1">
            <shaderParameter name="colorMat0" value="0 0 0 1"/>
        </material>
    </baseMaterial>
	
	<baseMaterialConfigurations price="0" useDefaultColors="false" >
        <baseMaterialConfiguration name="Case" color="0.4 0.13 0 38" material="38" price="0"/>
		<baseMaterialConfiguration name="Poclain" color="0.4 0.006 0 38" material="38" price="0"/>
		<baseMaterialConfiguration name="Cochery-SCREG" color="0.69 0.26 0 38" material="38" price="0"/>
		<baseMaterialConfiguration name="Eurovia" color="0.7 0.7 0.7 38" material="38" price="0"/>
		<baseMaterialConfiguration name="Colas" color="0.588 0.051 0 1" material="38" price="0"/>
		<material name="1" shaderParameter="colorMat0"/>
		<material name="2" shaderParameter="colorMat0"/>
    </baseMaterialConfigurations>
	

</vehicle>
