<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="implement" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>
			<en>Weight Pusher</en> 
			<de>Gewichtsschieber</de> 
			<es>Pesa con Empujador</es>
			<fr>Poussoir de poids</fr>
		</name>
        <specs>
            <weight>
                <config name="design" index="1" value="800"/>
                <config name="design" index="2" value="900"/>
                <config name="design" index="3" value="1000"/>
                <config name="design" index="4" value="1100"/>
                <config name="design" index="5" value="1200"/>
                <config name="design" index="6" value="1300"/>
            </weight>
        </specs>
        <functions>
            <function>$l10n_function_weight</function>
        </functions>
        <rotation>0</rotation>
        <image>textures/pesa_lizard.png</image>
        <price>3500</price>
        <rotation>0</rotation>
        <lifetime>600</lifetime>
        <brand>LIZARD</brand>
        <category>weights</category>
        <vertexBufferMemoryUsage>333056</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>54016</indexBufferMemoryUsage>
        <textureMemoryUsage>393216</textureMemoryUsage>
        <audioMemoryUsage>0</audioMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_weight</typeDesc>
        <filename>i3d/pesa_lizard.i3d</filename>
        <size width="3.4" length="1.5" />
        <components>
            <component centerOfMass="0 0.2 0" solverIterationCount="10" mass="800" />
        </components>
        <schemaOverlay attacherJointPosition="0 0" name="IMPLEMENT" />
    </base>
	
    <designConfigurations title="$l10n_configuracion_peso">
        <designConfiguration name="$l10n_configuracion_800kg" params="800" price="0">
            <objectChange node="pesa_lizard_800" massActive="800" />
            <objectChange node="pesa_adicional_100kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_200kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_300kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_400kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_500kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_100kgCol" compoundChildActive="false" />
            <objectChange node="pesa_adicional_200kgCol" compoundChildActive="false" />
            <objectChange node="pesa_adicional_300kgCol" compoundChildActive="false" />
            <objectChange node="pesa_adicional_400kgCol" compoundChildActive="false" />
            <objectChange node="pesa_adicional_500kgCol" compoundChildActive="false" />
        </designConfiguration>

        <designConfiguration name="$l10n_configuracion_900kg" params="900" price="100" vehicleName="W 900">
            <objectChange node="pesa_lizard_800" massActive="900" />
            <objectChange node="pesa_adicional_100kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_200kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_300kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_400kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_500kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_100kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_200kgCol" compoundChildActive="false" />
            <objectChange node="pesa_adicional_300kgCol" compoundChildActive="false" />
            <objectChange node="pesa_adicional_400kgCol" compoundChildActive="false" />
            <objectChange node="pesa_adicional_500kgCol" compoundChildActive="false" />
        </designConfiguration>

        <designConfiguration name="$l10n_configuracion_1000kg" params="1000" price="200" vehicleName="W 1000">
            <objectChange node="pesa_lizard_800" massActive="1000" />
            <objectChange node="pesa_adicional_100kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_200kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_300kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_400kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_500kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_100kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_200kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_300kgCol" compoundChildActive="false" />
            <objectChange node="pesa_adicional_400kgCol" compoundChildActive="false" />
            <objectChange node="pesa_adicional_500kgCol" compoundChildActive="false" />
        </designConfiguration>

        <designConfiguration name="$l10n_configuracion_1100kg" params="1100" price="300" vehicleName="W 1100">
            <objectChange node="pesa_lizard_800" massActive="1100" />
            <objectChange node="pesa_adicional_100kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_200kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_300kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_400kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_500kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_100kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_200kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_300kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_400kgCol" compoundChildActive="false" />
            <objectChange node="pesa_adicional_500kgCol" compoundChildActive="false" />
        </designConfiguration>

        <designConfiguration name="$l10n_configuracion_1200kg" params="1200" price="400" vehicleName="W 1200">
            <objectChange node="pesa_lizard_800" massActive="1200" />
            <objectChange node="pesa_adicional_100kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_200kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_300kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_400kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_500kg" visibilityActive="false" />
            <objectChange node="pesa_adicional_100kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_200kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_300kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_400kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_500kgCol" compoundChildActive="false" />
        </designConfiguration>
		
        <designConfiguration name="$l10n_configuracion_1300kg" params="1300" price="500" vehicleName="W 1300">
            <objectChange node="pesa_lizard_800" massActive="1300" />
            <objectChange node="pesa_adicional_100kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_200kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_300kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_400kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_500kg" visibilityActive="true" />
            <objectChange node="pesa_adicional_100kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_200kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_300kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_400kgCol" compoundChildActive="true" />
            <objectChange node="pesa_adicional_500kgCol" compoundChildActive="true" />
        </designConfiguration>
    </designConfigurations>
	
    <design2Configurations title="$l10n_configuracion_empujadores">
        <design2Configuration name="$l10n_configuracion_sin_empujadores"/>
        <design2Configuration name="$l10n_configuracion_empujador_der_2800" price="500">
            <objectChange node="empujador_der_2800" scaleActive="1 1 1"	scaleInactive="0 0 0"/>
        </design2Configuration>
        <design2Configuration name="$l10n_configuracion_empujador_izq_2800" price="500">
            <objectChange node="empujador_izq_2800" scaleActive="1 1 1"	scaleInactive="0 0 0"/>
        </design2Configuration>
        <design2Configuration name="$l10n_configuracion_empujadores_2800" price="1000">
            <objectChange node="empujador_der_2800" scaleActive="1 1 1"	scaleInactive="0 0 0"/>
            <objectChange node="empujador_izq_2800" scaleActive="1 1 1"	scaleInactive="0 0 0"/>
        </design2Configuration>
        <design2Configuration name="$l10n_configuracion_empujador_der_3200" price="600">
            <objectChange node="empujador_der_3200" scaleActive="1 1 1"	scaleInactive="0 0 0"/>
        </design2Configuration>
        <design2Configuration name="$l10n_configuracion_empujador_izq_3200" price="600">
            <objectChange node="empujador_izq_3200" scaleActive="1 1 1"	scaleInactive="0 0 0"/>
        </design2Configuration>
        <design2Configuration name="$l10n_configuracion_empujadores_3200" price="1200">
            <objectChange node="empujador_der_3200" scaleActive="1 1 1"	scaleInactive="0 0 0"/>
            <objectChange node="empujador_izq_3200" scaleActive="1 1 1"	scaleInactive="0 0 0"/>
        </design2Configuration>
    </design2Configurations>
	
    <design3Configurations title="$l10n_configuracion_tornillo">
        <design3Configuration name="$l10n_configuracion_sin_tornillo"/>
        <design3Configuration name="$l10n_configuracion_con_tornillo" price="150">
            <objectChange node="tornillo" scaleActive="1 1 1"	scaleInactive="0 0 0"/>
        </design3Configuration>
    </design3Configurations>

    <attacherJoints>
        <attacherJointConfigurations title="$l10n_configuracion_enganche">
            <attacherJointConfiguration name="$l10n_configuracion_sin_enganche" 	price="0" >
					<objectChange node="enganche" scaleActive="0 0 0"	scaleInactive="1 1 1"/>
            </attacherJointConfiguration>
            <attacherJointConfiguration name="$l10n_configuracion_con_enganche" 	price="500" >
				<attacherJoint node="trailerAttacherJoint" jointType="trailer" lowerRotLimit="25 70 65" upperRotationOffset="0" allowsJointLimitMovement="false" >
					<schema position="1 0" rotation="0" invertX="false" />
				</attacherJoint>
				<objectChange node="enganche" scaleActive="1 1 1"	scaleInactive="0 0 0"/>
            </attacherJointConfiguration>
		</attacherJointConfigurations>		
        <sounds>
            <attach template="ATTACH_01" linkNode="pesa_lizard_800" />
        </sounds>
    </attacherJoints>

    <attachable>
        <inputAttacherJoints>
            <inputAttacherJoint node="attacherJoint" jointType="implement" topReferenceNode="topReferenceNode" lowerRotLimitScale="0 0 0" upperRotationOffset="0" lowerRotationOffset="0" needsLowering="false">
              <distanceToGround lower="0.4" upper="0.8" />
            </inputAttacherJoint>
          </inputAttacherJoints>
    </attachable>
	
    <baseMaterial>
        <material name="pesalizard_mat" baseNode="pesa_lizard">
            <shaderParameter name="colorMat0" material="0" value="0.1 0.1 0.1"/>
            <shaderParameter name="colorMat1" material="0" value="0.02 0.02 0.02"/>
            <shaderParameter name="colorMat2" material="20" value="1 0 0"/>
        </material>
    </baseMaterial>
	
    <baseMaterialConfigurations price="500" useDefaultColors="true" defaultColorIndex="6">
        <material name="pesalizard_mat" shaderParameter="colorMat0" />
    </baseMaterialConfigurations>
		
    <designMaterialConfigurations title="$l10n_color_puntas" useDefaultColors="false" defaultColorIndex="0">
        <designMaterialConfiguration color="1 0 0 0" price="0"/>
        <designMaterialConfiguration color="1 1 0 0" price="0"/>
        <designMaterialConfiguration color="1 0.2 0 0" price="0"/>
        <material name="pesalizard_mat" shaderParameter="colorMat2" />
    </designMaterialConfigurations>

    <ai>
        <agentAttachment width="1.8" height="1.0" length="0.8" lengthOffset="0.0"/>
    </ai>

    <foliageBending>
        <bendingNode minX="-0.65" maxX="0.65" minZ="-0.4" maxZ="0.265" yOffset="0.1" />
        <bendingNode minX="-0.75" maxX="0" minZ="-0.195" maxZ="0.195" yOffset="-0.1" node="foliageBending_der2800"/>
        <bendingNode minX="0" maxX="0.75" minZ="-0.195" maxZ="0.195" yOffset="-0.1" node="foliageBending_izq2800"/>
        <bendingNode minX="-0.95" maxX="0" minZ="-0.195" maxZ="0.195" yOffset="-0.1" node="foliageBending_der3200"/>
        <bendingNode minX="0" maxX="0.95" minZ="-0.195" maxZ="0.195" yOffset="-0.1" node="foliageBending_izq3200"/>
    </foliageBending>

    <wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
    <washable dirtDuration="90" washDuration="1" workMultiplier="2" fieldMultiplier="2"/>

    <i3dMappings>
        <i3dMapping id="pesa_lizard_800" node="0>" />
        <i3dMapping id="attacherJoint" node="0>0" />
        <i3dMapping id="topReferenceNode" node="0>1" />
        <i3dMapping id="trailerAttacherJoint" node="0>2|0" />
        <i3dMapping id="pesa_adicional_100kg" node="0>3|0" />
        <i3dMapping id="pesa_adicional_100kgCol" node="0>3|0|0" />
        <i3dMapping id="pesa_adicional_200kg" node="0>3|1" />
        <i3dMapping id="pesa_adicional_200kgCol" node="0>3|1|0" />
        <i3dMapping id="pesa_adicional_300kg" node="0>3|2" />
        <i3dMapping id="pesa_adicional_300kgCol" node="0>3|2|0" />
        <i3dMapping id="pesa_adicional_400kg" node="0>3|3" />
        <i3dMapping id="pesa_adicional_400kgCol" node="0>3|3|0" />
        <i3dMapping id="pesa_adicional_500kg" node="0>3|4" />
        <i3dMapping id="pesa_adicional_500kgCol" node="0>3|4|0" />
        <i3dMapping id="empujador_der_2800" node="0>4" />
        <i3dMapping id="empujador_izq_2800" node="0>5" />
        <i3dMapping id="empujador_der_3200" node="0>6" />
        <i3dMapping id="empujador_izq_3200" node="0>7" />
        <i3dMapping id="tornillo" node="0>3|6" />
        <i3dMapping id="enganche" node="0>2" />
        <i3dMapping id="pesa_lizard" node="0>3" />
        <i3dMapping id="foliageBending_der2800" node="0>4|2" />
        <i3dMapping id="foliageBending_izq2800" node="0>5|2" />
        <i3dMapping id="foliageBending_der3200" node="0>6|2" />
        <i3dMapping id="foliageBending_izq3200" node="0>7|2" />
    </i3dMappings>
</vehicle>
