Spring naar inhoud
NLD Community

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

Unknown vehicle type


Aanbevolen Bericht

Ik ben bezig met een mod aanpassen met andere rook, nu heb ik dit ingebouwd en krijg ik de error unknown vehicle type, weet iemand hoe je dit op moet lossen

Vehicle.xml

Spoiler

<vehicle type="CaseIH1056XL">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

    <storeData>
        <name>1056 XL Open Pipe</name>
        <specs>
            <power>180</power>
            <maxSpeed>40</maxSpeed>
        </specs>
        <functions>
            <function>$l10n_function_tractor</function>
            <function>$l10n_function_tractorFrontloader</function>
        </functions>
        <image>Textures/store_caseIH1455.png</image>
        <price>48000</price>
        <dailyUpkeep>210</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>0</rotation>
        <brand>CASEIH</brand>
        <category>tractors</category>
        <fieldJob sizeCategory="1" typeCategory="tractor" hasFrontAndBackHydraulics="true" />
        <vertexBufferMemoryUsage>0</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>0</indexBufferMemoryUsage>
        <textureMemoryUsage>0</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
    </storeData>

    <typeDesc>$l10n_typeDesc_tractor</typeDesc>
    <filename>CaseIH1056XL.i3d</filename>

    <size width="3.5" length="6"/>

         <wheelConfigurations>
        <wheelConfiguration name="$l10n_configuration_valueDefault" price="0">
            <wheels autoRotateBackSpeed="1.7">
                <wheel rotSpeed="1" restLoad="1.5" radius="0.62" repr="1>0|0" driveNode="1>0|0|0" forcePointRatio="0.2" filename="$data/vehicles/wheels/trelleborg/TM600_420_85R28.xml" configIndex="r5n8v1" isLeft="true"  color="0.7078 0.7078 0.7078 1.0" initialCompression="20" suspTravel="0.20" spring="34" damper="40" hasTireTracks="true" hasParticles="true" />
                <wheel rotSpeed="1" restLoad="1.5" radius="0.62" repr="1>0|1" driveNode="1>0|1|0" forcePointRatio="0.2" filename="$data/vehicles/wheels/trelleborg/TM600_420_85R28.xml" configIndex="r5n8v1" isLeft="false" color="0.7078 0.7078 0.7078 1.0" initialCompression="20" suspTravel="0.20" spring="34" damper="40" hasTireTracks="true" hasParticles="true" />
                <wheel rotSpeed="0" restLoad="1.3" radius="0.79" repr="0>0|0"                     forcePointRatio="0.3" filename="$data/vehicles/wheels/trelleborg/TM600_520_85R38.xml" configIndex="r5n8v2" isLeft="true"  color="0.7078 0.7078 0.7078 1.0" initialCompression="20" suspTravel="0.14" spring="38" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel rotSpeed="0" restLoad="1.3" radius="0.79" repr="0>0|1"                     forcePointRatio="0.3" filename="$data/vehicles/wheels/trelleborg/TM600_520_85R38.xml" configIndex="r5n8v2" isLeft="false" color="0.7078 0.7078 0.7078 1.0" initialCompression="20" suspTravel="0.14" spring="38" damper="50" hasTireTracks="true" hasParticles="true" />
            </wheels>
        </wheelConfiguration>
        <wheelConfiguration name="$l10n_configuration_valueWheelBroad" price="800" icon="$dataS2/menu/hud/configurations/config_wheel_broad.png" >
            <wheels autoRotateBackSpeed="1.7" ackermannSteeringIndex="2">
                <wheel rotSpeed="1" restLoad="2.1" repr="1>0|0" driveNode="1>0|0|0" forcePointRatio="0.2" filename="$data/vehicles/wheels/trelleborg/TM800_540_65R28.xml" configIndex="n10v12" isLeft="true"  initialCompression="20" suspTravel="0.2" spring="47" damper="50" hasTireTracks="true" hasParticles="true" fenderNode="1>0|0|3" fenderRotMax="30"  />
                <wheel rotSpeed="1" restLoad="2.1" repr="1>0|1" driveNode="1>0|1|0" forcePointRatio="0.2" filename="$data/vehicles/wheels/trelleborg/TM800_540_65R28.xml" configIndex="n10v12" isLeft="false" initialCompression="20" suspTravel="0.2" spring="47" damper="50" hasTireTracks="true" hasParticles="true" fenderNode="1>0|1|3" fenderRotMin="-30" />
                <wheel rotSpeed="0" restLoad="1.6" repr="0>0|0"                     forcePointRatio="0.3" filename="$data/vehicles/wheels/trelleborg/TM800_710_70R38.xml" configIndex="n10v14" isLeft="true"  initialCompression="20" suspTravel="0.2" spring="32" damper="50" hasTireTracks="true" hasParticles="true" />
                <wheel rotSpeed="0" restLoad="1.6" repr="0>0|1"                     forcePointRatio="0.3" filename="$data/vehicles/wheels/trelleborg/TM800_710_70R38.xml" configIndex="n10v14" isLeft="false" initialCompression="20" suspTravel="0.2" spring="32" damper="50" hasTireTracks="true" hasParticles="true" />
            </wheels>
            <objectChange node="1>0|0|0" translationActive="0.285 0 0" />
            <objectChange node="1>0|1|0" translationActive="-0.285 0 0" />
            <objectChange node="0>0|0" translationActive="0.94 0.9 -1.35" />
            <objectChange node="0>0|1" translationActive="-0.94 0.9 -1.35" />
        </wheelConfiguration>
    </wheelConfigurations>

    <axisColor>0.0152 0.0152 0.0152 1</axisColor>

    <ackermannSteeringConfigurations>
        <ackermannSteering rotSpeed="65" rotMax="42" rotCenterWheel1="2" rotCenterWheel2="3" />
        <ackermannSteering rotSpeed="65" rotMax="42" rotCenterWheel1="2" rotCenterWheel2="3" />
    </ackermannSteeringConfigurations>

    <differentials>
        <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="0" wheelIndex2="1" /> <!-- front left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.8" wheelIndex1="2" wheelIndex2="3" /> <!-- back left-right -->
        <differential torqueRatio="0.5" maxSpeedRatio="1.8" differentialIndex1="0" differentialIndex2="1" /> <!-- front-back -->
    </differentials>

    <motorConfigurations>
        <motorConfiguration name="$l10n_configuration_valueDefault" price="0">
            <motor torqueScale="0.445" minRpm="1000" maxRpm="2200" maxForwardSpeed="43" maxBackwardSpeed="15" brakeForce="4.5" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.0012" minForwardGearRatio="14.5" maxForwardGearRatio="300" minBackwardGearRatio="40" maxBackwardGearRatio="300">
                <torque normRpm="0.45" torque="0.9"/>
                <torque normRpm="0.5"  torque="0.97"/>
                <torque normRpm="0.59" torque="1"/>
                <torque normRpm="0.72" torque="1"/>
                <torque normRpm="0.86" torque="0.88"/>
                <torque normRpm="1"    torque="0.72"/>
            </motor>
        </motorConfiguration>
    </motorConfigurations>
     
    <fuelCapacity>100</fuelCapacity>

    <cameras count="2">
        <camera1 index="0>1|0|0" rotatable="true" rotateNode="0>1|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="35" >
            <raycastNode index="0>1|2"/>
            <raycastNode index="0>1|3"/>
        </camera1>
        <camera2 index="0>1|1" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" />
    </cameras>

    <lights>
        <low>
            <light                       decoration="0>2|0|0"   lightTypes="0 3" />
            <light realLight="0>2|0|1"                          lightTypes="0" excludedLightTypes="3" /> <!--FrontLights-->
            <light                       decoration="0>2|2|0"   lightTypes="0 1"/> <!--BackLights-->
            <light realLight="0>2|1|0|1" decoration="0>2|1|0|0" lightTypes="1"/> <!--WorklightBack-->
            <light                       decoration="0>2|1|1|0" lightTypes="2"/> <!--WorklightFront-->
            <light realLight="0>2|0|2"                          lightTypes="3"/> <!--HighBeam -->
        </low>
        <high>
            <light                       decoration="0>2|0|0"   lightTypes="0 3" />
            <light realLight="0>2|0|3"                          lightTypes="0" excludedLightTypes="2 3" /> <!--FrontLights-->
            <light realLight="0>2|2|1"   decoration="0>2|2|0"   lightTypes="0 3" /> <!--BackLights-->
            <light realLight="0>2|1|0|2" decoration="0>2|1|0|0" lightTypes="1" /> <!--WorklightBack  -->
            <light realLight="0>2|1|1|1" decoration="0>2|1|1|0" lightTypes="2"  /> <!--WorklightFront -->
            <light realLight="0>2|0|4"                          lightTypes="3" excludedLightTypes="2" /> <!--HighBeam-->
        </high>
        <states>
            <state lightTypes="0" />
            <state lightTypes="0 1" />
            <state lightTypes="0 1 2" />
        </states>
    </lights>

    <brakeLights>
        <brakeLight realLight="0>2|2|1" decoration="0>2|4|0" />
    </brakeLights>

    <turnLights>
        <turnLightLeft realLight="0>2|3|0|1" decoration="0>2|3|0|0" />
        <turnLightLeft realLight="0>2|3|0|2" />
        <turnLightRight realLight="0>2|3|1|1" decoration="0>2|3|1|0" />
        <turnLightRight realLight="0>2|3|1|2" />
    </turnLights>

    <beaconLights>
        <beaconLight index="0>2|5|0" speed="0.015" filename="$data/shared/beaconLights/beaconLight02.i3d" />
        <beaconLight index="0>2|5|1" speed="0.015" filename="$data/shared/beaconLights/beaconLight02.i3d" />
    </beaconLights>

    <mirrors>
        <mirror index="0>11|0" prio="1" />
        <mirror index="0>11|1" prio="1" />
    </mirrors>

    <indoorHud>
        <speed animName="speedDisplay" minValueAnim="6" maxValueAnim="32"  />
        <fuel animName="fuelDisplay" />
    </indoorHud>

    <enterReferenceNode index="0>"/>
    <exitPoint index="0>3"/>

    <attacherJoints comboDuration="2">
        <attacherJoint index="0>5|0|0|0|0" rotationNode="0>5|0|0" rotationNode2="0>5|0|0|0" upperRotation="32 0 0" lowerRotation="-15 0 0" upperDistanceToGround="1.13" lowerDistanceToGround="0.34" upperRotationOffset="0.91" moveTime="2.5" ptoOutputNode="0>5|2|0" comboTime="1">
            <bottomArm rotationNode="0>5|0|1" translationNode="0>5|0|1|0" referenceNode="0>5|0|1|0|0" zScale="-1" startRotation="-17 0 0" />
            <topArm baseNode="0>5|0|2" filename="$data/shared/vehicleParts/upperLink.i3d" zScale="-1" />
            <schema position="1 0" rotation="0" invertX="false" />
            <objectChange node="0>5|1|0" visibilityActive="false" visibilityInactive="true" />
        </attacherJoint>
        <!-- trailer attacher -->
        <attacherJoint index="0>5|1|0|0" transNode="0>5|1|0" transNodeMinY="0.719" transNodeMaxY="1.157" transNodeHeight="0.12" jointType="trailer" lowerRotLimit="10 50 50" upperRotRotationOffset="0" allowsJointLimitMovement="false" ptoOutputNode="0>5|2|0" comboTime="1">
            <schema position="1 0" rotation="0" invertX="false" />
            <objectChange node="0>5|1|1" visibilityActive="false"  visibilityInactive="true" />
        </attacherJoint>
        <attacherJoint index="0>5|1|1|0" transNode="0>5|1|1" transNodeMinY="0.4" transNodeMaxY="0.7" jointType="trailerLow" lowerRotLimit="10 50 50" upperRotRotationOffset="0" allowsJointLimitMovement="false" ptoOutputNode="0>5|2|0" comboTime="1">
            <schema position="1 0" rotation="0" invertX="false" />
            <objectChange node="0>5|0|1" rotationActive="35 0 0"  rotationInactive="-17 0 0" />
            <objectChange node="0>5|1|0" visibilityActive="false"  visibilityInactive="true" />
            <steeringBars leftNode="0>5|1|1|1" rightNode="0>5|1|1|2" />
        </attacherJoint>
    </attacherJoints>

    <frontloaderConfigurations>
        <frontloaderConfiguration name="$l10n_ui_no" price="0" >
            <objectChange node="0>5|3|0" visibilityActive="false" />
        </frontloaderConfiguration>
        <frontloaderConfiguration name="$l10n_ui_yes" price="800" icon="$dataS2/menu/hud/configurations/config_loader.png" >
            <objectChange node="0>5|3|0" visibilityActive="true" visibilityInactive="false"/>
            <!-- frontloader attacher -->
            <attacherJoint index="0>5|3|0|0" jointType="attachableFrontloader" upperRotation="0 0 0" lowerRotation="0 0 0" lowerTransLimit="0 0 0" lowerRotLimit="0 0 0" moveTime="2" >
                <schemaOverlay position="0 0.4" rotation="0" invertX="true" />
            </attacherJoint>
        </frontloaderConfiguration>
    </frontloaderConfigurations>
    
    <attacherJointConfigurations>
        <attacherJointConfiguration name="$l10n_configuration_valueDefault" price="0">
            <objectChange node="0>13|11" visibilityActive="false" />
            <objectChange node="0>5|0|4" visibilityActive="false" />
            <objectChange node="0>9|7"   visibilityActive="false" />
            <objectChange node="0>13|10" visibilityActive="true" />
            <attacherJoint index="0>5|1|3" jointType="trailer" lowerRotLimit="10 65 50" upperRotRotationOffset="0" allowsJointLimitMovement="false" comboTime="0">
                <schema position="0 0" rotation="0" invertX="true" />
            </attacherJoint>
        </attacherJointConfiguration>
        <attacherJointConfiguration name="Fronthydraulik" price="2000">
            <attacherJoint index="0>5|1|2" jointType="trailer" lowerRotLimit="10 65 50" upperRotRotationOffset="0" allowsJointLimitMovement="false" comboTime="0">
                <schema position="0 0" rotation="0" invertX="true" />
            </attacherJoint>
            <attacherJoint index="0>5|0|3|0|0" rotationNode="0>5|0|3" rotationNode2="0>5|0|3|0" upperRotation="-23 0 0" lowerRotation="23 0 0" upperDistanceToGround="1.1" lowerDistanceToGround="0.38" upperRotationOffset="0.43" moveTime="2.5" ptoOutputNode="0>5|2|1" comboTime="0">
                <bottomArm rotationNode="0>5|0|4" translationNode="0>5|0|4|0" referenceNode="0>5|0|4|0|0" zScale="1" startRotation="-35 0 0"/>
                <topArm baseNode="0>5|0|5" filename="$data/shared/vehicleParts/upperLink.i3d" zScale="1" toggleVisibility="true" />
                <schema position="0 0" rotation="0" invertX="true" />
                <objectChange node="0>5|0|4|0|2|0" rotationActive="0 0 0" />
                <objectChange node="0>5|0|4|0|3|0" rotationActive="0 0 0" />
            </attacherJoint>
            <objectChange node="0>13|11" visibilityActive="true" />
            <objectChange node="0>5|0|4" visibilityActive="true" />
            <objectChange node="0>9|7"   visibilityActive="true" />
            <objectChange node="0>13|10" visibilityActive="false" />
        </attacherJointConfiguration>
    </attacherJointConfigurations>

    <movingTools>
        <!-- attacher joint back bottom-->
        <movingTool index="0>5|0|1">
            <dependentPart index="0>9|0" />
        </movingTool>
        <!-- attacher joint front bottom-->
        <movingTool index="0>5|0|4">
            <!-- cylinder -->
            <dependentPart index="0>9|7" />
        </movingTool>
    </movingTools>

    <movingParts>
        <!-- back -->
        <movingPart index="0>9|0" referencePoint="0>5|0|1|0|1" localReferencePoint="0>9|0|0" referenceFrame="0>5|0|1" >
            <dependentPart index="0>9|0|0" />
            <dependentPart index="0>9|1" />
            <dependentPart index="0>9|2" />
        </movingPart>
        <movingPart index="0>9|0|0" referencePoint="0>5|0|1|0|1" referenceFrame="0>5|0|1|0|1" />
        <movingPart index="0>9|1" referencePoint="0>9|0|1" referenceFrame="0>9|3" >
            <translatingPart index="0>9|1|0" />
        </movingPart>
        <movingPart index="0>9|2" referencePoint="0>5|0|1|0|2" referenceFrame="0>5|0|1|0|2" />

        <!-- pto -->
        <movingPart index="1>1|3|1" referencePoint="0>9|6" referenceFrame="0>" isActiveDirty="true"/>

        <!-- steering -->
        <movingPart index="1>0|0|2" referencePoint="1>0|1|2" referenceFrame="1>0|1|2" isActiveDirty="true" />
        <movingPart index="1>1|0" referencePoint="1>0|1|3" referenceFrame="1>0|1|3" isActiveDirty="true" >
            <translatingPart index="1>1|0|0" />
            <dependentPart index="1>1|0|1" />
            <dependentPart index="1>1|0|2" />
        </movingPart>
        <movingPart index="1>1|0|1" referencePoint="0>9|4" referenceFrame="0>9|4" />
        <movingPart index="1>1|0|2" referencePoint="0>9|5" referenceFrame="0>9|5" />
        
        <!-- front -->
        <movingPart index="0>9|7" referencePoint="0>5|0|4|0|1" referenceFrame="0>5|0|4|0|1">
            <translatingPart index="0>9|7|0" />
        </movingPart>
        
        <movingPart index="0>13|9|4" referencePoint="0>13|9|0|0|0|0|6" referenceFrame="0>13|9|0|0|0|0|6" isActiveDirty="true" >
            <translatingPart index="0>13|9|4|1" />
        </movingPart>
        <movingPart index="0>13|9|5" referencePoint="0>13|9|1|0|0|0|7" referenceFrame="0>13|9|1|0|0|0|7" isActiveDirty="true" >
            <translatingPart index="0>13|9|5|1" />
        </movingPart>
        <movingPart index="0>13|9|2|4" referencePoint="0>13|9|3" referenceFrame="0>13|9|3" isActiveDirty="true" >
            <translatingPart index="0>13|9|2|4|0" />
        </movingPart>
    </movingParts>

    <exhaustEffects>
        <exhaustEffect index="0>8|0" filename="shared/Echapement.i3d" minRpmColor="0.9 0.9 0.9 0.1" maxRpmColor="0.9 0.9 0.9 0.4" minRpmScale="0.05" maxRpmScale="0.5" xzRotationsOffset="100 0" xzRotationsForward="100 0" xzRotationsBackward="-100 0" xzRotationsLeft="-40 -150" xzRotationsRight="-40 150" />
    </exhaustEffects>
    
    <newExhaustEffects maxMotorLoad="0.15">
        <particle node="0>8|0|0" position="0 0 0" rotation="0 0 0" file="shared/Fumer_Echapement.i3d" />
    </newExhaustEffects>
    
    <animations>
        <animation name="speedDisplay">
            <part node="0>10|0" startTime="0" endTime="1" startRot="0 0 0" endRot="-180 0 0" />
        </animation>
        <animation name="fuelDisplay">
            <part node="0>10|1" startTime="0" endTime="1" startRot="0 0 0" endRot="-42 0 0" />
        </animation>
        <animation name="backWindow">
            <part node="0>13|9|2" startTime="0" endTime="1" startRot="0 0 0" endRot="65 0 0" />
        </animation>
        <animation name="leftDoor">
            <part node="0>13|9|0|0|0" startTime="0" endTime="1" startRot="0 0 0" endRot="-2 45 0" />
        </animation>
        <animation name="rightDoor">
            <part node="0>13|9|1|0|0" startTime="0" endTime="1" startRot="0 0 0" endRot="-2 -45 0" />
        </animation>
    </animations>
    
    <!-- IC Components -->
    <interactiveComponents>
        <windows>
            <window name="backWindow"  mark="0>13|9|2|5"   size="0.1" animName="backWindow" onMessage="ic_component_open" offMessage="ic_component_close" />
            <window name="leftDoor"    mark="0>13|9|0|0|0|0|5" size="0.1" animName="leftDoor" onMessage="ic_component_open" offMessage="ic_component_close" />
            <window name="rightDoor"  mark="0>13|9|1|0|0|0|6" size="0.1" animName="rightDoor" onMessage="ic_component_open" offMessage="ic_component_close" />
        </windows>
    </interactiveComponents>
    
    <!--<animParts>
        <animPart index="0>13|9|2" id="Heckfenster1455" showHelp="true"  startRot="0 0 0" endRot="65 0 0" moveTime="1" />

        <animPart index="0>13|9|0|0|0" id="TuerLinks1455" showHelp="true"  startRot="0 0 0" endRot="0 35 0" moveTime="1" />
        
        <animPart index="0>13|9|1|0|0" id="TuerRechts1455" showHelp="true"  startRot="0 0 0" endRot="0 -35 0" moveTime="1" />
    </animParts>-->

    <speedRotatingParts>
        <speedRotatingPart index="0>9|6"       wheelIndex="0" />
        <speedRotatingPart index="1>1|3|0"     wheelIndex="0" />
        <speedRotatingPart index="1>1|3|1|0|0" wheelIndex="0" />
        <speedRotatingPart index="1>1|1"       wheelIndex="0" />
        <speedRotatingPart index="1>1|2"       wheelIndex="1" />
        <speedRotatingPart index="1>0|0|1"     wheelIndex="0" />
        <speedRotatingPart index="1>0|1|1"     wheelIndex="1" />
    </speedRotatingParts>

    <steering index="0>4|0" indoorRotation="540" outdoorRotation="50" />

    <characterNode index="0>6|0" cameraMinDistance="1.5" filename="$dataS2/character/player/player.xml" spineRotation="180 0 100" >
        <target ikChain="rightFoot" targetNode="0>6|1" />
        <target ikChain="leftFoot"  targetNode="0>6|2" />
        <target ikChain="rightArm"  targetNode="0>4|0|0" setDirty="true"/>
        <target ikChain="leftArm"   targetNode="0>4|0|1" setDirty="true" />
    </characterNode>

    <ai>
        <trafficCollisionTrigger index="0>7|0" />
    </ai>

    
    <exhaustFlap index="0>8|1|0" maxRot="90" />

    <motorStartDuration>1600</motorStartDuration>
    <motorStartSound file="$data/vehicles/steerable/caseIH/caseIH1455_start.wav"         pitchOffset="0.65"  volume="1.10"  indoorVolumeFactor="0.60"  indoorLowpassGain="0.95"/>
    <motorSound file="$data/vehicles/steerable/caseIH/caseIH1455_idle.wav"               pitchOffset="0.65"  volume="1.10"  indoorVolumeFactor="0.60"  indoorLowpassGain="0.95"  volumeMin="0.75" volumeMinSpeed="5" pitchMax="0.95" />
    <motorStopSound file="$data/vehicles/steerable/newHolland/newHollandT8320_stop.wav"  pitchOffset="0.80"  volume="1.10"  indoorVolumeFactor="0.60"  indoorLowpassGain="0.95"/>

    <motorSoundRun file="$data/vehicles/steerable/caseIH/caseIH1455_run.wav"             pitchOffset="0.52"  volume="1.10"  indoorVolumeFactor="0.65"  indoorLowpassGain="0.95" pitchMax="1.0" />
    <motorSoundLoad file="$data/vehicles/steerable/caseIH/caseIH1455_load.wav"           pitchOffset="0.50"  volume="1.30"  indoorVolumeFactor="0.65"  indoorLowpassGain="0.95" pitchMax="1.19" />

    <gearboxSound file="$data/sounds/transmission/transmissionSmall.wav"                 pitchOffset="0.65"  volume="0.23"  indoorVolumeFactor="0.80"  indoorLowpassGain="0.95" pitchMax="1.0" volumeMax="0.80"  />
    <retarderSound file="$data/sounds/transmission/transmissionOld.wav"                  pitchOffset="0.65"  volume="0.25"  indoorVolumeFactor="0.84"  indoorLowpassGain="0.95" minSpeed="1.0" pitchMax="1.75"   volumeMax="0.31"  />

    <attachSound file="$data/sounds/attach.wav"                                          pitchOffset="1.00"  volume="0.80"  indoorVolumeFactor="0.60"  indoorLowpassGain="0.95"/>
    <hydraulicSound file="$data/sounds/hydraulicUp.wav"                                  pitchOffset="0.55"  volume="0.80"  indoorVolumeFactor="0.60"  indoorLowpassGain="0.95" />
    <honkSound file="$data/sounds/horn.wav"                                              pitchOffset="1.00"  volume="1.00"  indoorVolumeFactor="0.60"  indoorLowpassGain="0.95" radius="70" innerRadius="10" />

    <brakeCompressor capacity="10000" fillSpeed="290" />
    <maximalAirConsumptionPerFullStop value="1500" />
    <brakeCompressorStartSound file="$data/sounds/technicalAccessories/brakeSmall.wav"            pitchOffset="1.10" volume="0.55"  indoorVolumeFactor="0.60"  indoorLowpassGain="0.95"/>
    <brakeCompressorRunSound file="$data/sounds/technicalAccessories/compressor_idle.wav"         pitchOffset="0.73" volume="0.15"  indoorVolumeFactor="0.75"  indoorLowpassGain="0.95" pitchMax="0.80"   />
    <brakeCompressorStopSound file="$data/sounds/technicalAccessories/compressor_stop.wav"        pitchOffset="0.70" volume="0.50"  indoorVolumeFactor="0.60"  indoorLowpassGain="0.95"/>
    <compressedAirSound file="$data/sounds/technicalAccessories/brakeOld.wav"                     pitchOffset="0.90" volume="0.65"  indoorVolumeFactor="0.85"  indoorLowpassGain="0.95"/>
    <airReleaseValveSound file="$data/sounds/technicalAccessories/brakeSmall.wav"                 pitchOffset="1.00" volume="0.65"  indoorVolumeFactor="0.80"  indoorLowpassGain="0.95"/>"

    <washable dirtDuration="50" washDuration="1" workMultiplier="4" />

    <components count="2">
        <component1 centerOfMass="0 1 0" solverIterationCount="20" />
        <component2 centerOfMass="0 0 0" solverIterationCount="20" />
        <joint component1="0" component2="1" index="0>0|2" rotLimit="0 0 5" transLimit="0 0 0" maxRotDriveForce="0 0 50" rotDriveRotation="- - 0" rotDriveSpring="0 0 5" rotDriveDamping="0 0 5" breakable="false"/>
    </components>

    <schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0" />

     <gearboxMogli autoStartStop="false" maxAIRange="1" rpmInSpeedHud="true" torqueConverterMaxFactor="1.25" torqueConverter="true" minClutchRatio="0.6">
            <gears defaultGear="3" shiftTimeMs="800">    
                <gear speed="3.9" name="1" />
                <gear speed="6.2" name="2" />
                <gear speed="9.7" name="3" />
                <gear speed="14.7" name="4" />
                <gear speed="23.5" name="5" />
                <gear speed="40.0" name="6" />
                <gear speed="8.8"  reverseOnly="true" name="R"/>
            

            </gears>
            <ranges defaultRange="3" shiftTimeMs="900">
                <range ratio="0.7825" name="A" />
                 <range ratio="1.0000" name="S" />


            </ranges>
            
        
            <realEngine idleRpm="900" ratedRpm="2200">
                <!-- 2200: 145(145) | 2200: 145(145) | 1600..1600: 529(529) | 95 | 0 | 249 | 1.8 | 2300 | 1360: 219 -->
                <torque rpm="350" motorTorque="396" fuelUsageRatio="250.7"/>
                <torque rpm="700" motorTorque="495" fuelUsageRatio="232.5"/>
                <torque rpm="900" motorTorque="509" fuelUsageRatio="225.6"/>
                <torque rpm="1000" motorTorque="514" fuelUsageRatio="223"/>
                <torque rpm="1100" motorTorque="519" fuelUsageRatio="221.1"/>
                <torque rpm="1200" motorTorque="522" fuelUsageRatio="219.8"/>
                <torque rpm="1300" motorTorque="525" fuelUsageRatio="219.1"/>
                <torque rpm="1400" motorTorque="527" fuelUsageRatio="219.1"/>
                <torque rpm="1500" motorTorque="529" fuelUsageRatio="219.7"/>
                <torque rpm="1600" motorTorque="529" fuelUsageRatio="221"/>
                <torque rpm="1700" motorTorque="527" fuelUsageRatio="223"/>
                <torque rpm="1800" motorTorque="522" fuelUsageRatio="225.7"/>
                <torque rpm="1850" motorTorque="518" fuelUsageRatio="227.3"/>
                <torque rpm="1900" motorTorque="512" fuelUsageRatio="229.1"/>
                <torque rpm="1950" motorTorque="506" fuelUsageRatio="231"/>
                <torque rpm="2000" motorTorque="500" fuelUsageRatio="233.1"/>
                <torque rpm="2050" motorTorque="492" fuelUsageRatio="235.4"/>
                <torque rpm="2100" motorTorque="483" fuelUsageRatio="237.9"/>
                <torque rpm="2150" motorTorque="473" fuelUsageRatio="240.5"/>
                <torque rpm="2200" motorTorque="463" fuelUsageRatio="243.3"/>
                <torque rpm="2250" motorTorque="437" fuelUsageRatio="247.7"/>
                <torque rpm="2300" motorTorque="373" fuelUsageRatio="268.2"/>
                <torque rpm="2350" motorTorque="277" fuelUsageRatio="311.9"/>
                <torque rpm="2400" motorTorque="151" fuelUsageRatio="384"/>
                <torque rpm="2500" motorTorque="0" fuelUsageRatio="486.7"/>
            </realEngine>

    </gearboxMogli>

moddesc.xml:

Spoiler

<modDesc descVersion="32">
    <author>GIANTS Software, Oylerhenry</author>
    <version>1.0</version>
    <title>
        <en>Case IH 1056XL</en>
        <de>Case IH 1056XL</de>
    </title>
    <description>
        <en><![CDATA[Case IH 1455XL]]></en>
        <de><![CDATA[Case IH 1455XL]]></de>
        <fr><![CDATA[Case IH 1455XL]]></fr>
        <pl><![CDATA[Case IH 1455XL]]></pl>
    </description>
    <iconFilename>Textures/store_caseIH1455.png</iconFilename>
    <multiplayer supported="true" />
    <storeItems>
        <storeItem rootNode="vehicle" xmlFilename="CaseIH1056XL.xml"/>
    </storeItems>
    
    <specializations>
        <specialization name="interactiveControl" className="InteractiveControl"  filename="Scripts/InteractiveControl.lua" />
        <specialization name="interactiveWindows" className="InteractiveWindows"  filename="Scripts/InteractiveWindows.lua" />
        <specialization name="interactiveButtons" className="InteractiveButtons"  filename="Scripts/InteractiveButtons.lua" />
        <specialization name="newExhaustEffects"    className="newExhaustEffects"    filename="Scripts/newExhaustEffects.lua"/>    
    </specializations>
    
    <vehicleTypes>
        <type name="CaseIH1056XL" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
            <specialization name="attacherJoints" />
            <specialization name="frontloaderAttacher" />
            <specialization name="lights" />
            <specialization name="animatedVehicle" />
            <specialization name="speedRotatingParts" />
            <specialization name="motorized" />
            <specialization name="steerable" />
            <specialization name="drivable" />
            <specialization name="cylindered" />
            <specialization name="aiVehicle" />
            <specialization name="bunkerSiloCompacter" />
            <specialization name="honk" />
            <specialization name="washable" />
            <specialization name="mountable" />
            <specialization name="wheelRotations" />
            <specialization name="interactiveControl" />
            <specialization name="interactiveWindows" />
            <specialization name="interactiveButtons" />
            <specialization name="newExhaustEffects" />
        </type>
    </vehicleTypes>
    
    <l10n>
        <text name="INTERACTIVE_CONTROL_SWITCH">
            <en>Switch IC State</en>
            <de>IC an/abschalten</de>
            <fr>Activer/Désactiver le CI</fr>
        </text>
        <text name="InteractiveControl_Off">
            <en>Disable IC</en>
            <de>IC ausschalten</de>
            <fr>Désactiver le CI</fr>
        </text>
        <text name="InteractiveControl_On">
            <en>Enable IC</en>
            <de>IC anschalten</de>
            <fr>Activer le CI</fr>
        </text>
        <text name="ic_component_close">
            <en>Left Mouse Button: close %s</en>
            <de>Linke Maustaste: %s schließen</de>        
            <fr>Clic gauche : fermer %s</fr>
        </text>
        <text name="ic_component_open">
            <en>Left Mouse Button: open %s</en>
            <de>Linke Maustaste: %s öffnen</de>        
            <fr>Clic gauche : ouvrir %s</fr>
        </text>
        <text name="ic_button_on">
            <en>Left Mouse Button: activate %s</en>
            <de>Linke Maustaste: %s anschalten</de>        
            <fr>Clic gauche : activer %s</fr>
        </text>
        <text name="ic_button_off">
            <en>Left Mouse Button: deactivate %s</en>
            <de>Linke Maustaste: %s ausschalten</de>        
            <fr>Clic gauche : désactiver %s</fr>
        </text>
        <text name="backWindow">
            <en>Back window</en>
            <de>Heck-Fenster</de>            
        </text>
        <text name="leftDoor">
            <en>Left door</en>
            <de>Linke Tür</de>            
        </text>
        <text name="rightDoor">
            <en>Right door</en>
            <de>Rechte Tür</de>            
        </text>
    </l10n>
    
    <inputBindings>
        <input name="INTERACTIVE_CONTROL_SWITCH" category="VEHICLE" key1="KEY_space" key2="" button="" device="0" mouse="" />
    </inputBindings>
</modDesc>

 

Alvast bedankt!

Link naar opmerking
Deel via andere websites

  • Master Moderator

ik zou eerst de xml eens laten nalezen ( validators genoeg online )

,  als hij voor de wijzigengen werkte, is het een schrijffout

 

 

ps als de bovenste xml compleet is, is er minstens een Endtag fout

 

=  1XML document structures must start and end within the same entity.

 

 

Link naar opmerking
Deel via andere websites

  • 2 months later...

Ik ben op dit moment een mod aan het converteren, alleen wil de game geen custom vehicletypes registreren, de hele xml klopt als ik hem door de validator haal, enige error die ik krijg is unknown vehicle type, dit komt omdat hij ze bij het opstarten niet registreert. Iemand een idee hoe ik dit op moet lossen?

 

Alvast bedankt

Link naar opmerking
Deel via andere websites

Op 9-4-2017 om 19:24 zei Maaslandmods:

vrij makkelijk op te lossen, verander

<vehicle type="CaseIH1056XL">

 

naar

 

<vehicle type="tractor">

 

Alleen werkt er dan geen 1 later opgebouwd script meer dus dit is niet wat hij wil...

 

Denk inderdaad een schrijf fout, misschien kan je je log hier eens in een spoiler plaatsen?

 

Mvg

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.