Spring naar inhoud
NLD Community

Join the NLD Discord channel! discord.png https://discord.gg/0WsKGiYeGHJEAI5q
Breaking News: NLD Community maakt een doorstart!

top door


Aanbevolen Bericht

  • Antwoorden 23
  • Created
  • Laatste antwoord

Hallo,

daarvoor moet je een moving tool maken in de .xml

vul dit daar in, Heb m al aangepast :) 

    <movingTools>
        <movingTool index="0>0|12">
            <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" invertMouseAxis="true" speedFactor="0.3"/>
            <rotation rotSpeed="60" rotAcceleration="160" rotMax="-90" rotMin="0" rotationAxis="1"/>
            <dependentPart index="0>8|0|8"/>
            <dependentPart index="0>8|0|9"/>
        </movingTool>

    </movingTools>

 

de rotationAxis="1" staat voor het feit dat je het attribuut draait over as 1 (is de x as :) )

vgm moet rotmax -90 zijn, het kan zijn dat die nu naar de wagen toe draait, dan moet je hier ff 90 van maken...

bij dependentPart index kun je evt. het hoofdgedeelte van de cilinders invullen, (dan moet je daar wel ff een movingpart voor aanmaken) indien je dit niet wilt, dan kun je ook de cilinders in de i3d verwijderen, de dependentPart etc. regels weglaten uit dit stukje van de xml. 

Je kunt ervoor kiezen om invertMouseAxis = false te zetten, dan moet je de muis bijv. van links naar rechts bewegen ipv. van rechts naar links om de klep te openen. dit ligt aan jouw voorkeur. 

verder moet het hiermee volgens mij kloppen :D 

(ps, vul alleen het <movingtool - /movingtool> gedeelte in indien er al een movingtools gedeelt bestaat. dan kun je deze daar gewoon bij tussen zetten :D )

Link naar opmerking
Deel via andere websites

xml 

Spoiler

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="forageWagon">
    <annotation>Desperados93 daniel11 cyber11</annotation>
    <description>Poettinger Jumbo 6610 Combiline</description>
    <typeDesc>
                Jumbo 6610 CL
                Jumbo 6610 CL
                Jumbo 6610 CL
                Jumbo 6610 CL
        </typeDesc>
    <description/>
    <filename>Jumbo7210.i3d</filename>
    <size width="3.5" length="12.5"/>
    <powerConsumer ptoRpm="540" neededPtoPower="30"/>
    <speedLimit value="20"/>
    
    <wheels autoRotateBackSpeed="1.0">
        <wheel repr="0>13|0" filename="$data/vehicles/wheels/trelleborg/TwinRadial_710_50R26_5.xml" isLeft="false" driveNode="0>13|0|0" radius="0.675" restLoad="2.5" initialCompression="20" suspTravel="0.1" spring="25" damper="30" mass="0.25" width="0.71" hasParticles="true"/>
        <wheel repr="0>13|1" filename="$data/vehicles/wheels/trelleborg/TwinRadial_710_50R26_5.xml" isLeft="false" radius="0.675" restLoad="2.5" initialCompression="20" suspTravel="0.1" spring="25" damper="30" mass="0.25" width="0.71" hasParticles="true"/>
        <wheel repr="0>13|2" filename="$data/vehicles/wheels/trelleborg/TwinRadial_710_50R26_5.xml" isLeft="false" driveNode="0>13|2|0" radius="0.675" restLoad="2.5" initialCompression="20" suspTravel="0.1" spring="25" damper="30" hasTireTracks="true" tireTrackAtlasIndex="3" mass="0.25" width="0.71" hasParticles="true" steeringAxleScale="-0.7" steeringAxleRotMax="40" steeringAxleRotMin="-40"/>
        <wheel repr="0>13|3" filename="$data/vehicles/wheels/trelleborg/TwinRadial_710_50R26_5.xml" isLeft="false" driveNode="0>13|3|0" radius="0.675" restLoad="2.5" initialCompression="20" suspTravel="0.1" spring="25" damper="30" hasTireTracks="true" tireTrackAtlasIndex="3" mass="0.25" width="0.71" hasParticles="true" steeringAxleScale="-0.7" steeringAxleRotMax="40" steeringAxleRotMin="-40"/>
    </wheels>
    
    <dynamicallyLoadedParts>
        <!--skipped part with file'$data/vehicles/wheels/trelleborg/twinRadial_710_50R26_5.i3d'. Moved to wheels.wheel instead-->
        <!--skipped part with file'$data/vehicles/wheels/trelleborg/twinRadial_710_50R26_5.i3d'. Moved to wheels.wheel instead-->
        <!--skipped part with file'$data/vehicles/wheels/trelleborg/twinRadial_710_50R26_5.i3d'. Moved to wheels.wheel instead-->
        <!--skipped part with file'$data/vehicles/wheels/trelleborg/twinRadial_710_50R26_5.i3d'. Moved to wheels.wheel instead-->
    </dynamicallyLoadedParts>
    
    <steeringAxleAngleScale startSpeed="5" endSpeed="90"/>
    <brakeForce>0.8</brakeForce>
    
    <lights>
        <!--to be adjusted manually-->
        <low>
            <light decoration="0>0|2|0|4" lightTypes="0"/>
            <light decoration="0>0|18|0" lightTypes="0"/>
        </low>
        <!--to be adjusted manually-->
        <high>
            <light decoration="0>0|2|0|4" lightTypes="0"/>
            <light decoration="0>0|18|0" lightTypes="0"/>
        </high>
        <!--to be adjusted manually-->
        <states>0 1 2</states>
    </lights>
    
    <brakeLights>
        <brakeLight decoration="0>0|2|0|3"/>
    </brakeLights>
    
    <turnLights>
        <turnLightLeft decoration="0>0|2|0|1"/>
        <turnLightRight decoration="0>0|2|0|0"/>
    </turnLights>
    
    <inputAttacherJoints>
        <inputAttacherJoint index="0>0|13|4" jointType="trailerLow" ptoInputNode="0>0|13|4|0"/>
    </inputAttacherJoints>
    
    <workAreas>
        <workArea startIndex="0>3" widthIndex="0>4" heightIndex="0>5" type="forageWagon"/>
    </workAreas>
    
    <fillVolumes>
        <volumes>
            <volume index="0>6|0" maxAllowedHeapAngle="40" scrollSpeedDischarge="0 0 0.3" scrollSpeedLoad="0 0 0.08" />
        </volumes>

        <loadInfos>
            <loadInfo fillVolumeIndex="1" >
                <node index="0>6|1|0" width="1.0" length="0.5" />
                <node index="0>6|1|0" width="1.0" length="0.5" />
            </loadInfo>
        </loadInfos>

        <unloadInfos>
            <unloadInfo fillVolumeIndex="1" > <!-- left -->
                <node index="0>6|2|0" width="1.0" length="0.5" minHeight="1.9" priority="2" />
                <node index="0>6|2|1" width="1.0" length="0.5" minHeight="1.9" priority="2" />
                <node index="0>6|2|2" width="1.0" length="3.6" />
                <node index="0>6|2|3" width="1.0" length="3.6" />
            </unloadInfo>
        </unloadInfos>

        <heights>
            <height fillVolumeIndex="1" > <!-- left -->
                <refNode index="0>6|2|0" />
                <refNode index="0>6|2|1" />
                <node index="0>7|1" baseScale="1 1 1" transAxis="0 1 0" />
            </height>
        </heights>
    </fillVolumes>
    
    <groundReferenceNodes>
        <groundReferenceNode index="1>2|0" threshold="0.45"/>
    </groundReferenceNodes>
    
    <tipReferencePoints>
        <tipReferencePoint index="0>0|19" width="2.5"/>
    </tipReferencePoints>
    
    <tipAnimations>
        <tipAnimation speedScale="1" animationName="tipAnimationBack" dischargeStartTime="1.0" dischargeEndTime="14" >
            <tipEffect>
                <effectNode effectNode="0>7|1" materialType="unloading" materialTypeId="3" fadeTime="0.5"/>
                <effectNode effectNode="0>7|2" materialType="smoke"     materialTypeId="1" fadeTime="0.5"/>
            </tipEffect>
            <emitterShape node="0>7|0" />
            <fillVolume>
                <unloadInfo index="1"/>
                <height index="1"/>
            </fillVolume>
        </tipAnimation>
    </tipAnimations>
    
    <forageWgnSound file="$data/sounds/forageWagon.wav" pitchOffset="1" volume="1.0"/>
    <cylinderedHydraulicSound file="$data/sounds/hydraulicUp.wav" pitchOffset="1.0" volume="1.0"/>
    <fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5"/>
    
    <fillUnits>
        <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="forageWagon" capacity="52500"/>
    </fillUnits>
        
    <fillRootNode index="0>" />
    <exactFillRootNode index="0|15" />
    <fillAutoAimTargetNode index="0|15|0" startZ="1.9" endZ="-4.5" invert="false" fillUnitIndex="1" startPercentage="25"/>
    <fillMassNode index="0>" />
    
    <movingTools>
        <movingTool index="0>0|12" playSound="true">
            <controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" invertMouseAxis="true" speedFactor="0.3"/>
            <rotation rotSpeed="60" rotAcceleration="160" rotMax="-90" rotMin="0" rotationAxis="1"/>
        </movingTool>
        <movingTool index="0>0|12|0" playSound="true">
            <controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" invertMouseAxis="true" speedFactor="0.3"/>
            <rotation rotSpeed="60" rotAcceleration="160" rotMax="-90" rotMin="0" rotationAxis="1"/>
        </movingTool>
    </movingTools>
    
    <movingParts>
        <!-- steering -->
        <movingPart index="0|13|2|0" referencePoint="0|13|2|2" referenceFrame="0>0|13|7"/>
        <movingPart index="0|13|3|0" referencePoint="0|13|3|2" referenceFrame="0>0|13|7"/>
        <movingPart index="0|13|0" referencePoint="0|13|3|1" referenceFrame="0>0|13|7">
            <translatingPart index="0|13|0|0"/>
        </movingPart>
        <movingPart index="0|13|1" referencePoint="0|13|2|1" referenceFrame="0>0|13|7">
            <translatingPart index="0|13|1|0"/>
        </movingPart>
        <!-- drawbar -->
        <movingPart index="0>0|1|0" referencePoint="0>0|13" referenceFrame="0>0|13" playSound="true">
            <translatingPart index="0>0|1|1" />
        </movingPart>
    </movingParts>
    
    <animations>
        <!-- move support bar -->
        <animation name="moveSupport">
            <part node="0|0" startTime="0" duration="2" startRot="0 0 170" endRot="0 0 0"/>
        </animation>
        <animation name="tipAnimationBack">
            <part node="0>0|2" startTime="0" endTime="4" startRot="0 0 0" endRot="90 0 0"/>
            <part node="0>0|4" startTime="0" endTime="4" startRot="-3.487 0 0" endRot="11.696 0 0"/>
            <part node="0>0|4|0" startTime="0" endTime="4" startTrans="0.001 0.421 -0.007" endTrans="0.001 0.955 -0.007"/>
        </animation>
        <!-- rotate pickup down/up -->
        <animation name="rotatePickup">
            <part node="1>5" startTime="0" endTime="1" startRot="-19 0 0" endRot="-8 0 0" />
            <part            startTime="0" endTime="1" componentJointIndex="0" startRotLimit="0 0 0" endRotLimit="15 0 0"/>
        </animation>
    </animations>
    
    <pickupAnimation name="rotatePickup" lowerSpeed="1.5" liftSpeed="-1" />
    <support animationName="moveSupport" />
    
    <tipScrollerNodes>
        <tipScrollerNode index="0>12" shaderParameterName="offsetUV"       scrollSpeed="0.2"                         shaderParameterComponent="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
    </tipScrollerNodes>
    
    <turnedOnRotationNodes>
        <turnedOnRotationNode index="1>5|0|0" rotSpeed="-500" type="forageWagon" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
        <turnedOnRotationNode index="1>5|0|1" rotSpeed="-500" type="forageWagon" rotAxis="1" turnOnFadeTime="1" turnOffFadeTime="1"/>
    </turnedOnRotationNodes>
    
    <speedRotatingParts>
        <speedRotatingPart index="1>5|0|1" wheelIndex="6" />
        <speedRotatingPart index="1>5|1" wheelIndex="7" />
        <speedRotatingPart index="1>5|2" radius="0.1" refNodeIndex="0" onlyActiveWhenLowered="true" rotateOnlyIfFillLevelIncreased="true" />
    </speedRotatingParts>
    
    <components count="3">
        <component1 centerOfMass="0 1.1 0" solverIterationCount="40"/>
        <component2 centerOfMass="0 0.716 3.42" solverIterationCount="10"/>
        <component3 centerOfMass="0 0 0" solverIterationCount="20"/>
        <joint component1="0" component2="1" index="1>4" rotLimit="0 0 0" transLimit="0 0 0 "/>
        <joint component1="0" component2="2" index="0>0|0|0" rotLimit="0 0 0" transLimit="0 0 0 "/>
    </components>
    
    <washable dirtDuration="90" washDuration="1" workMultiplier="4"/>
    <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" fileTurnedOn="$dataS2/menu/schemas/implementSchemaTurnedOn.png" fileSelectedTurnedOn="$dataS2/menu/schemas/implementSchemaSelectedTurnedOn.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>
    
    <storeData>
        <name>
            <de>Jumbo 6610 Combiline</de>
            <en>Jumbo 6610 Combiline</en>
        </name>
        <functions>
            <function>$l10n_function_forageWagon</function>
        </functions>
        <specs>
            <neededPower>160</neededPower>
        </specs>
        <image>store.dds</image>
        <price>85000</price>
        <dailyUpkeep>35</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>POETTINGER</brand>
        <category>loaderWagons</category>
    </storeData>
</vehicle>
 

moddesc

Spoiler

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<modDesc descVersion="32">
    <author>Desperados93</author>
    <annotation>daniel11 cyber11</annotation>
    <version>1.0.0.0</version>
    <title>
        <en>Poettinger Jumbo 6610 Combiline</en>
        <de>Poettinger Jumbo 6610 Combiline</de>
        <fr>Poettinger Jumbo 6610 Combiline</fr>
        <pl>Poettinger Jumbo 6610 Combiline</pl>
    </title>
    <description>
        <pl>Z połączone Jumbo ładowanie Combiline oferujemy maksymalną wszechstronność i zwiększone wykorzystanie maszyny. JUMBO combiline jest używana jako potężne lub kiszonka przyczepy zbiorów dla ciebie do multi-talent.</pl>
        <fr>Avec les jumbos de chargement combinés CombiLine nous offrons une polyvalence maximale et une utilisation accrue de la machine. Combiline JUMBO est utilisé comme puissant ou remorque ensileuse de récolte pour vous de talents multiples.</fr>
        <en>With the combined loading wagons JUMBO combiline we offer maximum versatility and increased machine utilization. As a powerful forage or silage harvest trailer the JUMBO Combiline serves a multi-talent for you.</en>
        <de>Mit dem kombinierten Ladewagen JUMBO combiline bieten wir Ihnen maximale Einsatzflexibilität und gesteigerte Maschinenauslastung. Als schlagkräftiger Silierwagen oder Häcksel-Transportwagen eingesetzt wird der JUMBO combiline für Sie zum Multitalent.</de>
    </description>
    <iconFilename>store.dds</iconFilename>
    <multiplayer supported="true"/>
    <storeItems>
        <storeItem xmlFilename="Jumbo7210.xml"/>
    </storeItems>
    <brands/>
</modDesc>

 

Link naar opmerking
Deel via andere websites

  • Master Moderator

In de voertuig.xml zitten meerdere fouten =

 

lijn 1 moet dit zijn =   

<?xml version="1.0" encoding="utf-8" standalone="no" ?>

iets verder in typedesc moet dit staan

<typeDesc>$l10n_typeDesc_forageWagon</typeDesc>

 

  <dynamicallyLoadedParts>     </dynamicallyLoadedParts>    gedeelte ofwel wissen of in commentaar zetten   (   <!--       bblabla  --> )

 

 

 

Link naar opmerking
Deel via andere websites

Gearchiveerd

Dit topic is nu gearchiveerd en gesloten voor verdere reacties.


×
×
  • Maak Nieuw...

Belangrijke Informatie

By using this site, you agree to our Gebruiksvoorwaarden.