<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="HolarasTurboA270V">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
    <storeData>
        <name>Sweeper TURBO A270V
        </name>
        <specs>
        </specs>
        <functions>
            <function>$l10n_function_holarassweeper</function>
        </functions>
        <image>store.dds</image>
        <price>8700</price>
        <dailyUpkeep>3</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>HOLARAS</brand>
        <category>animals</category>
        <shopTranslationOffset>0 -0.1 0</shopTranslationOffset>
        <shopRotationOffset>-9.15 0 0</shopRotationOffset>
        <vertexBufferMemoryUsage>1937788</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>245562</indexBufferMemoryUsage>
        <textureMemoryUsage>8738560</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <base>
        <typeDesc>$l10n_typeDesc_holarassweeper</typeDesc>
        <filename>FS19_HolarasA270V.i3d</filename>
        <size width="3.6" length="3.6"/>
        <speedLimit value="14" />
        <components>
            <component centerOfMass="0.0 0.5 1"  solverIterationCount="10" mass="1100"/>
            <component centerOfMass="0 1 1" solverIterationCount="2000" mass="200"/>
            <joint component1="1" component2="2" node="rubber_CompJoint" rotLimit="0 0 0" transLimit="0 0 0.15" transLimitSpring="0 0 500" />
        </components>
        <schemaOverlay attacherJointPosition="0 0">
            <default name="DEFAULT_IMPLEMENT"/>
            <selected name="DEFAULT_IMPLEMENT_SELECTED"/>
        </schemaOverlay>
    </base>

    <attachable>
        <inputAttacherJoints>
                <inputAttacherJoint node="attacherJoint" topReferenceNode="topReferenceNode" jointType="implement" isControllable="false" needsLowering="true" isDefaultLowered="true" upperRotationOffset="0" lowerRotLimitScale="0 0 0" upperRotLimitScale="0 0 0" lowerTransLimitScale="0 0 0" upperTransLimitScale="0 0 0" >
                <distanceToGround lower="0.7" upper="0.95" />
            </inputAttacherJoint>
        </inputAttacherJoints>
    </attachable>

    <wheels>
        <wheelConfigurations>
            <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
                <wheels hasSurfaceSounds="false" autoRotateBackSpeed="1.5">
                        <wheel>
                            <physics restLoad="0.55" driveNode="solidWheel" repr="frontWheel" radius="0.2" width="0.15" mass="0.15" suspTravel="0.35" spring="0.5" damper="12" transRatio="1" isSynchronized="true" versatileYRot="true" frictionScale="1.5" rotationDamping="0.002" />
                        </wheel>
                        <wheel>
                            <physics restLoad="0.53" driveNode="leftSolidWheel" repr="leftWheel" radius="0.2" width="0.15" mass="0.15" suspTravel="0.43" spring="0.5" damper="12" transRatio="1" isSynchronized="true" versatileYRot="true" useReprDirection="true" useDriveNodeDirection="true" supportsWheelSink="false" />
                        </wheel>
                        <wheel>
                            <physics restLoad="0.52" driveNode="rightSolidWheel" repr="rightWheel" radius="0.2" width="0.15" mass="0.15" suspTravel="0.43" spring="0.5" damper="12" transRatio="1" isSynchronized="true" versatileYRot="true" useReprDirection="true" useDriveNodeDirection="true" supportsWheelSink="false" />
                        </wheel>

                </wheels>
            </wheelConfiguration>
        </wheelConfigurations>
    </wheels>

    <lights>
        <sharedLight linkNode="workLightLeft" filename="$data/shared/assets/lights/lizard/workingLightSquare_02.xml" />
        <sharedLight linkNode="workLightRight" filename="$data/shared/assets/lights/lizard/workingLightSquare_02.xml" />
        <realLights>
            <high>
                <light node="workLightFrontLowLeft" lightTypes="2" />
                <light node="workLightFrontLowRight" lightTypes="2" />
            </high>
        </realLights>
    </lights>

    <connectionHoses>
        <hose inputAttacherJointIndices="1" type="hydraulicIn"  node="hydraulicIn"  length="0.45" diameter="0.02" straighteningFactor="1">
            <objectChange node="hydraulicInDetached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
        <hose inputAttacherJointIndices="1" type="hydraulicOut" node="hydraulicOut" length="0.45" diameter="0.02" straighteningFactor="1">
            <objectChange node="hydraulicOutDetached" visibilityActive="false" visibilityInactive="true"/>
        </hose>
    </connectionHoses>

    <dynamicallyLoadedParts>
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicInAdapter"  filename="$data/shared/connectionHoses/connectors.i3d" />
        <dynamicallyLoadedPart node="1|0" linkNode="hydraulicOutAdapter"  filename="$data/shared/connectionHoses/connectors.i3d" />
    </dynamicallyLoadedParts>


    <fillUnit>
        <fillUnitConfigurations>
            <fillUnitConfiguration>
                <fillUnits>
                    <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk windrow" capacity="1490" >
                        <exactFillRootNode node="exactFillRootNode" />
                            <effectNode effectClass="ParticleEffect" effectNode="mainSmokeEmitter" particleType="SMOKE" materialTypeId="1" emitCountScale="15"  fadeTime="1.5" speed="0.9" scrollLength="9" scrollSpeed="0.5" />
                    </fillUnit>
                </fillUnits>
            </fillUnitConfiguration>
        </fillUnitConfigurations>
    </fillUnit>

    <fillVolume>
        <fillVolumeConfigurations>
            <fillVolumeConfiguration>
                <volumes>
                    <volume node="fillVolume" allSidePlanes="true" maxAllowedHeapAngle="70" fillUnitIndex="1" />
                </volumes>
            </fillVolumeConfiguration>
        </fillVolumeConfigurations>

        <loadInfos>
            <loadInfo>
                <node node="fillVolumeLoadNode" width="2.8" length="0.15" />
            </loadInfo>
        </loadInfos>

        <unloadInfos>
            <unloadInfo>
                <node node="fillVolumeUnloadNode" width="2.8" length="0.15" />
            </unloadInfo>
        </unloadInfos>

        <heightNodes>
            <heightNode fillVolumeIndex="1">
                <refNode node="heightNode01" />
                <refNode node="heightNode02" />
                <node node="grainEffect" baseScale="1 1 1" transAxis="0 -0.7 0" scaleAxis="0 0 0" orientateToWorldZ="true"/>
                <node node="smokeEffect" baseScale="1 1 1" transAxis="0 0 0" scaleAxis="0 0.5 0" orientateToWorldZ="true"/>
            </heightNode>
        </heightNodes>

    </fillVolume>


    <dischargeable requiresTipOcclusionArea="false">
        <dischargeNode node="dischargeNode" fillUnitIndex="1" emptySpeed="2440" >
            <raycast node="dischargeNode" maxDistance="30" useWorldNegYDirection="true" yOffset="2"/>
            <info width="2.8" length="0.5" zOffset="0.25"/>
            <effects>
                <effectNode effectClass="TipEffect">
                    <effectNode effectNode="emitterShape" effectClass="ParticleEffect" lifespan="0.3"/>
                    <effectNode effectNode="grainEffect" materialType="unloading" materialTypeId="1" fadeTime="1.3" alignXAxisToWorldY="true" />
                </effectNode>
                <effectNode effectNode="smokeEffect" materialType="smoke" materialTypeId="1" fadeTime="0.5" />
            </effects>
        </dischargeNode>
    </dischargeable>

    <shovel>
        <shovelNode node="pickUpNode" fillUnitIndex="1" loadInfoIndex="1" width="2.8" length="0.15" needsMovement="false" needsActivation="true" maxPickupAngle="105"/>
        <dischargeInfo node="dischargeNode" minSpeedAngle="130" maxSpeedAngle="220" />
    </shovel>

    <speedRotatingParts>
        <speedRotatingPart radius="0.2" node="solidWheel" wheelIndex="1"/>
        <speedRotatingPart radius="0.2" node="leftSolidWheel" wheelIndex="2"/>
        <speedRotatingPart radius="0.2" node="rightSolidWheel" wheelIndex="3"/>
    </speedRotatingParts>

    <cylindered>
        <movingTools>
            <movingTool node="mainVisCollision" wheelIndices="1 2 3" playSound="true">
                <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="false" mouseSpeedFactor="1.5" iconName="IMPLEMENT_ATTACHER_ROTX" />
                <rotation rotSpeed="70" rotAcceleration="150" rotMax="27.5" rotMin="-17.5" rotationAxis="2" />
                <attacherJoint jointIndices="1" />
                <dependendPart node="hyd_upper" />
                <componentJoint index="1"/>
            </movingTool>
            <movingTool node="frontPartCollision" wheelIndices="1" playSound="true">
                <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="false" mouseSpeedFactor="1.5" iconName="FRONTLOADER_ARM_ROTATE_TOOL" />
                <rotation rotSpeed="70" rotAcceleration="150" rotMax="0" rotMin="-115" rotationAxis="1" />
                <attacherJoint jointIndices="1" />
                <dependendPart node="hyd_upper" />
            </movingTool>
        </movingTools>
        <movingParts>
            <movingPart node="hyd_bottom" referencePoint="hyd_bottomRefNode" referenceFrame="mainComponent" isActiveDirty="true">
                    <translatingPart node="hyd_bottom_punch"/>
            </movingPart>
            <movingPart node="hyd_upper" referencePoint="hyd_upperRefNode" referenceFrame="mainVisCollision" isActiveDirty="true">
                    <translatingPart node="hyd_upper_punch"/>
            </movingPart>
        </movingParts>
        <sounds>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="hyd_bottom_punch"/>
            <hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="hyd_upper_punch"/>
        </sounds>
    </cylindered>

    <powerConsumer ptoRpm="470" neededMinPtoPower="30" neededMaxPtoPower="30"/>

    <powerTakeOffs>
        <input inputAttacherJointIndices="1" inputNode="ptoNode" aboveAttacher="true" filename="$data/shared/assets/powerTakeOffs/walterscheidW.xml" />
    </powerTakeOffs>

    <turnOnVehicle>
        <sounds>
            <start file="sounds/brush_start.ogg"/>
            <work file="sounds/brush_loop.ogg"/>
            <stop file="sounds/brush_stop.ogg"/>
        </sounds>
        <animationNodes>
            <animationNode node="brush_Decal" rotSpeed="-1250" rotAxis="1" turnOnFadeTime="5" turnOffFadeTime="3"/>
        </animationNodes>
    </turnOnVehicle>

    <needsActivation value="true" />
    <onlyActiveWhenLowered value="true" />

    <foliageBending>
        <bendingNode minX="-1.4" maxX="1.4"  minZ="-0.9" maxZ="2.2" yOffset="0.1" />
    </foliageBending>

    <baseMaterial>
        <material name="holarasTurbo_mat" material="1" baseNode="attacherVisual">
            <shaderParameter name="colorMat0" value="HOLARAS_RED"/>
        </material>
        <material name="brush_mat" material="0" baseNode="brush_Decal">
            <shaderParameter name="colorMat0" value="0.80 0.55 0.05 0"/>
        </material>
    </baseMaterial>

    <designMaterialConfigurations useDefaultColors="false" price="300">
        <designMaterialConfiguration name="Yellow" color="0.80 0.55 0.05 0"/>
        <designMaterialConfiguration name="Red" color="1 0 0"/>
        <designMaterialConfiguration name="Green" color="0 1 0"/>
        <designMaterialConfiguration name="Blue" color="0 0 1"/>
        <designMaterialConfiguration name="Orange" color="1 0.25 0.05"/>
        <designMaterialConfiguration name="Pink" color="1 0.25 0.55"/>
        <material name="brush_mat" shaderParameter="colorMat0" />
    </designMaterialConfigurations>

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

    <i3dMappings>
        <i3dMapping id="mainComponent" node="0>" />
        <i3dMapping id="topReferenceNode" node="0>0" />
        <i3dMapping id="attacherJoint" node="0>1" />
        <i3dMapping id="attacherVisual" node="0>2" />
        <i3dMapping id="jointFrontPart" node="0>2|0" />
        <i3dMapping id="joint20" node="0>2|0|0" />
        <i3dMapping id="connectionHoses" node="0>2|1" />
        <i3dMapping id="hydraulicIn" node="0>2|1|0" />
        <i3dMapping id="hydraulicInDetached" node="0>2|1|0|0" />
        <i3dMapping id="hydraulicInAdapter" node="0>2|1|0|0|0" />
        <i3dMapping id="hydraulicOut" node="0>2|1|1" />
        <i3dMapping id="hydraulicOutDetached" node="0>2|1|1|0" />
        <i3dMapping id="hydraulicOutAdapter" node="0>2|1|1|0|0" />
        <i3dMapping id="hyd_bottom" node="0>2|2" />
        <i3dMapping id="hyd_bottom_punch" node="0>2|2|0" />
        <i3dMapping id="joint5" node="0>2|2|1" />
        <i3dMapping id="mainVisCollision" node="0>2|3" />
        <i3dMapping id="mainVisual" node="0>2|3|0" />
        <i3dMapping id="joints" node="0>2|3|0|0" />
        <i3dMapping id="joint1" node="0>2|3|0|0|0" />
        <i3dMapping id="joint2" node="0>2|3|0|0|0|0" />
        <i3dMapping id="joint4" node="0>2|3|0|0|1" />
        <i3dMapping id="joint21" node="0>2|3|0|0|2" />
        <i3dMapping id="jointRubber02" node="0>2|3|0|0|3" />
        <i3dMapping id="hyd_upper" node="0>2|3|0|1" />
        <i3dMapping id="joint3" node="0>2|3|0|1|0" />
        <i3dMapping id="hyd_upper_punch" node="0>2|3|0|1|1" />
        <i3dMapping id="skinnedMesh" node="0>2|3|0|2" />
        <i3dMapping id="Cable01" node="0>2|3|0|2|0" />
        <i3dMapping id="Cable02" node="0>2|3|0|2|1" />
        <i3dMapping id="frontPartCollision" node="0>2|3|0|3" />
        <i3dMapping id="frontPartVisual" node="0>2|3|0|3|0" />
        <i3dMapping id="frontWheel" node="0>2|3|0|3|0|0" />
        <i3dMapping id="solidWheel" node="0>2|3|0|3|0|0|0" />
        <i3dMapping id="hyd_upperRefNode" node="0>2|3|0|3|1" />
        <i3dMapping id="fillVolume" node="0>2|3|0|3|2|0" />
        <i3dMapping id="fillVolumeUnloadNode" node="0>2|3|0|3|2|1" />
        <i3dMapping id="heightNodes" node="0>2|3|0|3|2|2" />
        <i3dMapping id="heightNode01" node="0>2|3|0|3|2|2|0" />
        <i3dMapping id="heightNode02" node="0>2|3|0|3|2|2|1" />
        <i3dMapping id="dischargeNode" node="0>2|3|0|3|3" />
        <i3dMapping id="emitterShape" node="0>2|3|0|3|4" />
        <i3dMapping id="effectNodeRot" node="0>2|3|0|3|5" />
        <i3dMapping id="grainEffect" node="0>2|3|0|3|5|0" />
        <i3dMapping id="exactFillRootNode" node="0>2|3|0|3|6" />
        <i3dMapping id="brushNode" node="0>2|3|0|4" />
        <i3dMapping id="wheels" node="0>2|3|0|5" />
        <i3dMapping id="left" node="0>2|3|0|5|0" />
        <i3dMapping id="leftWheel" node="0>2|3|0|5|0|0" />
        <i3dMapping id="leftSolidWheel" node="0>2|3|0|5|0|0|0" />
        <i3dMapping id="right" node="0>2|3|0|5|1" />
        <i3dMapping id="rightWheel" node="0>2|3|0|5|1|0" />
        <i3dMapping id="rightSolidWheel" node="0>2|3|0|5|1|0|0" />
        <i3dMapping id="ptoNode" node="0>2|3|0|6" />
        <i3dMapping id="brush_Decal" node="0>2|3|0|7" />
        <i3dMapping id="workLights" node="0>2|3|0|8" />
        <i3dMapping id="workLightLeft" node="0>2|3|0|8|0" />
        <i3dMapping id="workLightFrontLowLeft" node="0>2|3|0|8|0|0" />
        <i3dMapping id="workLightRight" node="0>2|3|0|8|1" />
        <i3dMapping id="workLightFrontLowRight" node="0>2|3|0|8|1|0" />
        <i3dMapping id="smokeEffect" node="0>2|3|0|9" />
        <i3dMapping id="pickUpNode" node="0>2|3|0|10" />
        <i3dMapping id="fillVolumeLoadNode" node="0>2|3|0|11" />
        <i3dMapping id="decals_Holaras" node="0>2|3|0|12" />
        <i3dMapping id="carpet_visual" node="0>2|3|0|14" />
        <i3dMapping id="hyd_bottomRefNode" node="0>2|3|1" />
        <i3dMapping id="rubber_CompJoint" node="0>2|3|2" />
        <i3dMapping id="airhosesVisual" node="0>2|4" />
        <i3dMapping id="mainComponent2" node="1>" />
        <i3dMapping id="jointRubber01" node="1>0" />
    </i3dMappings>
</vehicle>
