Pflugmod

Ford 5095
Posts: 1
Joined: Sun Mar 03, 2013 2:59 pm

Pflugmod

Post by Ford 5095 »

Hallo,
ich habe versucht den Pflugmod einzubauen. Jetzt bekomm ich aber immer diesen Fehler:
D:/Code/Giants/lsim2013/build/finalbin/dataS/scripts/Utils.lua(30) : attempt to index field '?' (a nil value)
ich weiß nicht welcher index das sein könnte oder hat dieser fehler einen anderen Grund?
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="FordTW35">
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
<name>
<en>Ford TW35</en>
<de>Ford TW35</de>
</name>
<description></description>
<filename>FordTW35.i3d</filename>

<wheels autoRotateBackSpeed="2.5">
<wheel rotSpeed="70" rotMax="34" rotMin="-34" driveMode="2" repr="5>1" driveNode="5>1|0" radius="1.038" deltaY="0.20" suspTravel="0.25" spring="100" damper="20" mass="0.42" lateralStiffness="25" />
<wheel rotSpeed="70" rotMax="34" rotMin="-34" driveMode="2" repr="6>1" driveNode="6>1|0" radius="1.038" deltaY="0.20" suspTravel="0.25" spring="100" damper="20" mass="0.42" lateralStiffness="25" />
<wheel rotSpeed="0" driveMode="1" repr="7>1" radius="1.128" deltaY="0.15" suspTravel="0.2" spring="150" damper="20" mass="0.5" lateralStiffness="25" />
<wheel rotSpeed="0" driveMode="1" repr="8>1" radius="1.128" deltaY="0.15" suspTravel="0.2" spring="150" damper="20" mass="0.5" lateralStiffness="25" />
</wheels>


<motor minRpm="100" maxRpm="750 1450 2000 1000" maxTorques="3.3 4.9 -1 4.7" brakeForce="7" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" forwardGearRatio="11.9" backwardGearRatio="9" differentialRatio="1" rpmFadeOutRange="50">
<torque rpm="2000" torque="8.4"/>

<backwardTorque rpm="150" torque="9"/>
<backwardTorque rpm="400" torque="1.4"/>
</motor>
<accelerationSpeed maxAcceleration="0.16" deceleration="0.5" />
<fuelCapacity>280</fuelCapacity>
<fuelUsage>0.0018</fuelUsage>
<downForce>8</downForce>
<cameras count="2">
<camera1 index="4|0" rotatable="true" rotateNode="4" limit="true" rotMinX="-1.4" rotMaxX="1.1" transMin="4" transMax="50" />
<camera2 index="5" rotatable="true" limit="false" rotMinX="0" rotMaxX="0" transMin="0" transMax="0" />
</cameras>

<steering index="17|0" rotationSpeed="6"/>
<enterReferenceNode index="0>" />
<exitPoint index="9" />
<size width="3.5" length="5.5" lengthOffset="-0.4"/>
<cuttingAreas count="0">
<!--cuttingArea1 startIndex="6" widthIndex="7" heightIndex="8" losing="true"/-->
</cuttingAreas>

<!--attacherJoint index="10" /-->
<trailerAttacherJoints>
<trailerAttacherJoint index="10" shaft="30" />
<trailerAttacherJoint index="20" low="true" shaft="30" />
</trailerAttacherJoints>
<tipCamera index="11" />

<attachSound file="sound/attach.wav" pitchOffset="1" />
<motorStartSound file="sound/magnumStart.wav" pitchOffset="1" volume="1.5" />
<motorSound file="sound/magnumIdle.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.45" volume="1.5" />
<motorSoundRun file="sound/magnumRun.wav" pitchOffset="0.5" pitchScale="0.033" pitchMax="1.05" volume="1.5" />
<motorStopSound file="sound/magnumOut.wav" pitchOffset="1" volume="1" />
<compressedAirSound file="sound/compressedAir.wav" pitchOffset="1" volume=".1"/>
<compressionSound file="sound/compressorWork.wav" pitchOffset="1" volume="1.5"/>
<aiMotorSound file="sound/magnumIdleAI.wav" pitchOffset="1" radius="25" innerRadius="4" volume="1.5" />
<honkSound file="sound/horn.wav" client="sound/horn3d.wav" volume="2" radius="50" innerRadius="20" />

<exhaustParticleSystems count="1">
<exhaustParticleSystem1 position="0.19021 3.25573 0.85855 " rotation="0 0 0" file="$data/vehicles/particleSystems/exhaustParticleSystem.i3d" />
</exhaustParticleSystems>

<exhaustParticleSystemExtra1 position="0.19021 3.25573 0.85855 " rotation="0 0 0" file="particleSystems/exhaustParticleSystem4.i3d" />
<exhaustParticleSystemExtra2 position="0.19021 3.25573 0.85855 " rotation="0 0 0" file="particleSystems/exhaustParticleSystem5.i3d" />
<exhaustParticleSystemExtra3 position="0.19021 3.25573 0.85855 " rotation="0 0 0" file="particleSystems/exhaustParticleSystem5.i3d" />
<exhaustParticleSystemExtra4 position="0.19021 3.25573 0.85855 " rotation="0 0 0" file="particleSystems/exhaustParticleSystem2.i3d" />
<exhaustParticleSystemExtra11 position="0.19021 3.25573 0.85855 " rotation="0 0 0" file="particleSystems/exhaustParticleSystem2.i3d" />
<exhaustParticleSystemExtra12 position="0.19021 3.25573 0.85855 " rotation="0 0 0" file="particleSystems/exhaustParticleSystem3.i3d" />


<attacherJoints>
<attacherJoint index="14|0|0" rotationNode="14" maxRot="-18 0 0" rotationNode2="14|0" maxRot2="8 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.5" shaft="34">
<bottomArm rotationNode="15" translationNode="15|0" referenceNode="15|0|0" zScale="-1" />
<topArm rotationNode="16" translationNode="16|0" referenceNode="16|0|0" zScale="-1" />
</attacherJoint>
<attacherJoint index="34|0|0|0" rotationNode="34|0" maxRot="10 0 0" rotationNode2="34|0|0" maxRot2="-7 0 0" maxTransLimit="0 0.4 0" maxRotLimit="0 0 20" moveTime="1.5">
<bottomArm rotationNode="34|1" translationNode="34|1|0" referenceNode="34|1|0|0" zScale="1" />
<topArm rotationNode="34|2" translationNode="34|2|0" referenceNode="34|2|0|0" zScale="1" />
</attacherJoint>
</attacherJoints>

<characterNode index="19" cameraMinDistance="1.5" />
<aiTrafficCollisionTrigger index="21" />
<components count="1">
<component1 centerOfMass="0 0 -0.15" solverIterationCount="10" />
</components>

<speedDisplayEntries><!--Supports Floats until 999.99 -->
<displayEntry displayEntry="second" control_0="0>47|3|0" control_1="0>47|3|1" control_2="0>47|3|2" control_3="0>47|3|3" control_4="0>47|3|4" control_5="0>47|3|5" control_6="0>47|3|6" control_7="0>47|3|7" control_8="0>47|3|8" control_9="0>47|3|9" />
<displayEntry displayEntry="first" control_0="0>47|2|0" control_1="0>47|2|1" control_2="0>47|2|2" control_3="0>47|2|3" control_4="0>47|2|4" control_5="0>47|2|5" control_6="0>47|2|6" control_7="0>47|2|7" control_8="0>47|2|8" control_9="0>47|2|9" />
<displayEntry displayEntry="comma_first" control_0="0>47|0|0" control_1="0>47|0|1" control_2="0>47|0|2" control_3="0>47|0|3" control_4="0>47|0|4" control_5="0>47|0|5" control_6="0>47|0|6" control_7="0>47|0|7" control_8="0>47|0|8" control_9="0>47|0|9" />
</speedDisplayEntries>

<beaconLights>
<beaconLight index="42|0" speed="0.016" />
<beaconLight index="42|1" speed="-0.016" />
</beaconLights>

<!-- Lights -->
<lights count="1">
<light1 index="43|0|2" />
</lights>
<lightCoronas>
<lightCorona index="43|0|0" />
</lightCoronas>
<lightCones>
<lightCone index="43|0|1" />
</lightCones>


<lightsaddon lightsStayOn="false">
<light type="work" index="43|1" real="43|1|0" beam="43|1|1" inputName="lys1" stayOn="true"/>
<light type="work" index="43|2" real="43|2|0" beam="43|2|1" inputName="lys2" stayOn="true"/>
<light type="brake" index="43|7" />
<light type="dirLeft" index="43|3" />
<light type="dirRight" index="43|4" />
<light type="parkLeft" index="43|5" />
<light type="parkRight" index="43|6" />
<light type="reverse" index="43|8" />
<light type="work" index="0|1|0" inputName="skaerm" stayOn="true"/>
<light type="work" index="1|1|0" inputName="skaerm" stayOn="true"/>
<light type="work" index="34" inputName="lift" stayOn="true"/>
<light type="work" index="54" inputName="vaegt" stayOn="true"/>
</lightsaddon>


<dirt updateInterval="0.01" cleaningInterval="15" dirtInterval="0.005">
<dirtComponent index="0>0|0|0"/>
<dirtComponent index="0>1|0|0"/>
<dirtComponent index="0>0|0|0|0"/>
<dirtComponent index="0>1|0|0|0"/>
<dirtComponent index="0>2|0"/>
<dirtComponent index="0>2|0|0"/>
<dirtComponent index="0>3|0"/>
<dirtComponent index="0>3|0|0"/>

<dirtComponent index="0>55|2"/>
<dirtComponent index="0>54"/>
<dirtComponent index="0>34"/>
<dirtComponent index="0>55|7"/>
<dirtComponent index="0>55|8"/>
<dirtComponent index="0>55|7"/>
<dirtComponent index="0>36"/>
<dirtComponent index="0>36"/>

</dirt>

<components count="5">
<!-- main component -->
<component1 centerOfMass="0 0.1 0" solverIterationCount="190" />
<!-- front right wheel component -->
<component2 centerOfMass="0 -0.8 0" solverIterationCount="190" />
<!-- front left wheel component -->
<component3 centerOfMass="0 -0.8 0" solverIterationCount="190" />
<!-- back right wheel component -->
<component4 centerOfMass="0 -0.8 0" solverIterationCount="190" />
<!-- back left wheel component -->
<component5 centerOfMass="0 -0.8 0" solverIterationCount="190" />
<!-- front right wheel joint (componentJointIndex = 1) -->
<joint component1="0" component2="1" index="??" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
<!-- front left wheel joint (componentJointIndex = 2) -->
<joint component1="0" component2="2" index="??" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
<!-- back right wheel joint (componentJointIndex = 3) -->
<joint component1="0" component2="3" index="??" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
<!-- back left wheel joint (componentJointIndex = 4) -->
<joint component1="0" component2="4" index="??" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
<!-- disable collisions between existing components -->
<collisionPair component1="0" component2="1" enabled="false"/>
<collisionPair component1="0" component2="2" enabled="false"/>
<collisionPair component1="0" component2="3" enabled="false"/>
<collisionPair component1="0" component2="4" enabled="false"/>
</components>
<!-- main ploughing mod code -->
<frontRightWheel wheelIndex="5>1" componentJointIndex="5" furrowDepth="0.25" fallSpeed="0.25" tireWidth="0.4" />
<frontLeftWheel wheelIndex="6>1" componentJointIndex="6" furrowDepth="0.25" fallSpeed="0.25" tireWidth="0.4" />
<backRightWheel wheelIndex="7>1" componentJointIndex="7" furrowDepth="0.25" fallSpeed="0.25" tireWidth="0.45" />
<backLeftWheel wheelIndex="8>1" componentJointIndex="8" furrowDepth="0.25" fallSpeed="0.25" tireWidth="0.45" />
<!-- end main ploughing mod code -->
<!-- optional ploughing mod code -->
<workExhaustParticleSystems count="1">
<workExhaustParticleSystem1 node="25" file="$data/vehicles/particleSystems/exhaustParticleSystemBig.i3d" />
</workExhaustParticleSystems>
<increaseRpmDuringPloughing value="true" />
<!-- end optional ploughing mod code -->
</vehicle>
d8006
Posts: 35
Joined: Fri Nov 30, 2012 5:39 pm

Re: Pflugmod

Post by d8006 »

ich bekomms auch nicht hin
d8006
Posts: 35
Joined: Fri Nov 30, 2012 5:39 pm

Re: Pflugmod

Post by d8006 »

ich hab hier mal ein Bild aus dem Giants editor:
http://www.pic-upload.de/view-19812598/i3d.png.html
und die xml
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="7810">
<annotation>6630powr</annotation>
<name>
<en>John Deere 7810</en>
<de>John Deere 7810</de>
</name>
<description></description>
<filename>JD7810.i3d</filename>


<wheels autoRotateBackSpeed="2.5">
<!-- front right wheel (wheelIndex = 1) -->
<wheel rotSpeed="70" rotMax="34" rotMin="-34" driveMode="2" repr="1>1" driveNode="1>1|1" radius="1.038" deltaY="0.20" suspTravel="0.25" spring="100" damper="20" mass="0.42" lateralStiffness="25" />
<!-- front left wheel (wheelIndex = 2) -->
<wheel rotSpeed="70" rotMax="34" rotMin="-34" driveMode="2" repr="2>1" driveNode="2>1|1" radius="1.038" deltaY="0.20" suspTravel="0.25" spring="100" damper="20" mass="0.42" lateralStiffness="25" />
<!-- back right wheel (wheelIndex = 3) -->
<wheel rotSpeed="0" driveMode="1" repr="3>1" radius="1.128" deltaY="0.15" suspTravel="0.2" spring="150" damper="20" mass="0.5" lateralStiffness="25" />
<!-- back left wheel (wheelIndex = 4) -->
<wheel rotSpeed="0" driveMode="1" repr="4>1" radius="1.128" deltaY="0.15" suspTravel="0.2" spring="150" damper="20" mass="0.5" lateralStiffness="25" />
</wheels>

<motor minRpm="100" maxRpm="450 800 1975 500" maxTorques="-0.3 -0.4 -0.475 -0.3" brakeForce="3" lowBrakeForceScale="0.5" compensateWheelRadius="true" lowBrakeForceSpeedLimit="1" forwardGearRatio="14" backwardGearRatio="17" differentialRatio="1" rpmFadeOutRange="20">
<torque rpm="500" torque="0.4"/>
<torque rpm="1900" torque="0.3"/>
<backwardTorque rpm="500" torque="0.2"/>
<backwardTorque rpm="1000" torque="0.4"/>
</motor>

<fender leftIndex="22|0" rightIndex="21|0" leftRotMax="30" rightRotMax="-30"/>

<bunkerSiloCompacter compactingScale="3"/>


<accelerationSpeed maxAcceleration="0.2" deceleration="0.4" />
<fuelCapacity>392</fuelCapacity>
<fuelUsage>0.005</fuelUsage>
<downForce>6</downForce>

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

<tipCamera index="8" />

<size width="3.8" length="13" lengthOffset="-0.2"/>

<exitPoint index="7" />
<steering index="0>15|2|0" rotationSpeed="6"/>

<enterReferenceNode index="0>" />

<motorStartDuration>2500</motorStartDuration>
<motorStartSound file="sounds/JD_start.wav" pitchOffset="1" volume="1.4" />
<motorSound file="sounds/JD_idle.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.25" volume="1.4" />
<motorSoundRun file="sounds/JD_Run.wav" pitchOffset="1" pitchScale="0.02" pitchMax="1.35" volume="1.0" />
<motorStopSound file="sounds/JD_stop.wav" pitchOffset="1" volume="1.4" />

<attachSound file="$data/vehicles/steerable/deutz/attach.wav" pitchOffset="1" />
<compressedAirSound file="$data/vehicles/steerable/deutz/compressedAir.wav" pitchOffset="1" volume="1.0"/>
<compressionSound file="$data/vehicles/steerable/deutz/compressorWork.wav" pitchOffset="1" volume="1.5"/>
<aiMotorSound file="$data/vehicles/steerable/deutz/agro620_idleAI.wav" pitchOffset="1" radius="50" innerRadius="20" volume="1.25" />

<powerIn file="sounds/jd_rpm_start.wav" pitchOffset="1" volume="1.6"/>
<powerIdle file="sounds/jd_rpm_idle.wav" pitchOffset="1" volume="1.6"/>
<powerOut file="sounds/jd_rpm_out.wav" pitchOffset="1" volume="1.6"/>

<honkSound file="$dataS2/sounds/hornBig.wav" volume="1" radius="80" innerRadius="35" />

<attacherJoints>
<attacherJoint index="9|0|0" rotationNode="9" maxRot="-12 0 0" rotationNode2="9|0" maxRot2="11 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="1.5" ptoOutputNode="0>25|10" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d">
<bottomArm rotationNode="10" translationNode="10|0" referenceNode="10|0|0" zScale="-1" />
<topArm rotationNode="11" translationNode="11|0" referenceNode="11|0|0" zScale="-1" />
</attacherJoint>
<attacherJoint index="12|0|0" rotationNode="12" maxRot="10 0 0" rotationNode2="12|0" maxRot2="-7 0 0" maxTransLimit="0 0.7 0" maxRotLimit="0 0 20" moveTime="1.5" ptoOutputNode="0>25|11" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d">
<bottomArm rotationNode="13" translationNode="13|0" referenceNode="13|0|0|2" zScale="1"/>
<topArm rotationNode="14" translationNode="14|0|0" referenceNode="14|0|0|0|0" zScale="1"/>
</attacherJoint>
<attacherJoint index="0>25|3|0" jointType="trailer" maxRotLimit="10 80 80" allowsLowering="false" allowsJointLimitMovement="false" ptoOutputNode="0>25|10" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d" />
<attacherJoint index="25|4" jointType="trailerLow" maxRotLimit="10 50 50" allowsLowering="false" allowsJointLimitMovement="false" ptoOutputNode="0>25|10" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d" />
</attacherJoints>

<exhaustParticleSystems count="1">
<exhaustParticleSystem1 node="0>24|0" position="0 0 0" rotation="0 0 0" file="particel/KirovetsK700A_ExhaustParticleSystem.i3d" />
</exhaustParticleSystems>

<dynamicExhaustingSystem minAlpha="0.1" maxAlpha="1.0" param="alphaScale" >
<startSequence>
<key time="0.0" value="0 0 0 0"/>
<key time="0.4" value="0 0 0 0.5"/>
<key time="0.58" value="0 0 0 0.2"/>
<key time="0.6" value="0 0 0 0.2"/>
<key time="0.75" value="0 0 0 1"/>
<key time="0.93" value="0 0 0 1"/>
<key time="1.0" value="0 0 0 0.2"/>
</startSequence>
</dynamicExhaustingSystem>

<movingTools>
<!-- attacher joint back bottom-->
<movingTool index="0>10">
<!-- cylinder 1 -->
<dependentPart index="0>23|9" />
<!-- cylinder 2 -->
<dependentPart index="0>23|8" />
</movingTool>
<!-- attacher joint front bottom-->
<movingTool index="13" verify="true">
<dependentPart index="0>23|10|0" />
</movingTool>
</movingTools>
<animParts>
<animPart index="0>31|0|3" id="RULDrehkoerper" permRotAxis="2" moveTime="0.1" listenTo="beaconLightsActive" />
<animPart index="0>31|0" id="RULKlappen" showHelp="false" rotMin="-90 0 0" rotMax="0 0 0" moveTime="1" />

<animPart index="0>30|0|3" id="RULDrehkoerper" permRotAxis="2" moveTime="0.1" listenTo="beaconLightsActive" />
<animPart index="0>30|0" id="RULKlappen" showHelp="false" rotMin="-90 0 0" rotMax="0 0 0" moveTime="1" />
</animParts>


<movingParts>
<!-- attacher joint back bottom cylinder 1 -->
<movingPart index="0>23|9" referencePoint="0>23|8|1" referenceFrame="0>" >
<translatingPart index="0>23|9|0" />
</movingPart>
<!-- attacher joint back bottom cylinder 2 -->
<movingPart index="0>23|8" referencePoint="0>10|0|1" localReferencePoint="0>23|8|2" referenceFrame="0>" >
<dependentPart index="0>23|8|2" />
</movingPart>
<!-- attacher joint back bottom cylinder 2b -->
<movingPart index="0>23|8|2" referencePoint="0>10|0|1" referenceFrame="0>23|8|0" >
</movingPart>
<!-- attacher joint front bottom cylinder -->
<movingPart index="23|10|0" referencePoint="13|0|0|4" referenceFrame="23">
<translatingPart index="23|10|0|0" />
</movingPart>
<!-- steering -->
<movingPart index="0>27" referencePoint="21|2" referenceFrame="0>" isActiveDirty="true" playSound="false" scaleZ="true">
</movingPart>
<movingPart index="0>26" referencePoint="22|2" referenceFrame="0>" isActiveDirty="true" playSound="false" scaleZ="true">
</movingPart>
</movingParts>

<characterNode index="25|5|1" cameraMinDistance="0.9" />
<aiTrafficCollisionTrigger index="20" />


<lights count="1">
<light1 index="0>25|6|0|0" />
</lights>
<lightCoronas>
<lightCorona index="0>25|6|0|2" />
</lightCoronas>
<lightCones>
<lightCone index="0>25|6|0|1" />
</lightCones>

<beaconLights>
<beaconLight index="0>31|0|2" speed="0.016" />
<beaconLight index="0>30|0|2" speed="0.016" />
</beaconLights>

<interactiveComponents>
<windows>
<window name="backWindow" mark="0>25|2|4|1" size="0.1" animName="backWindow" onMessage="ic_component_open" offMessage="ic_component_close"/>
<window name="rightDoor" mark="0>25|2|0|1" size="0.1" animName="rightDoor" onMessage="ic_component_open" offMessage="ic_component_close"/>
<window name="leftDoor" mark="0>25|2|1|1" size="0.1" animName="leftDoor" onMessage="ic_component_open" offMessage="ic_component_close"/>
<window name="FH" mark="0>25|2|12" size="0.1" animName="klappen" onMessage="ic_component_open" offMessage="ic_component_close"/>
</windows>
</interactiveComponents>

<animations>
<animation name="backWindow">
<part node="0>25|2|4" startTime="0" duration="4" startRot="0 0 0" endRot="75 0 0"/>
</animation>
<animation name="rightDoor">
<part node="0>25|2|0" startTime="0" duration="4" startRot="0 0 0" endRot="-8.99423 -45.0003 0.00283205"/>
</animation>
<animation name="leftDoor">
<part node="0>25|2|1" startTime="0" duration="4" startRot="0 0 0" endRot="-8.99423 45.0003 0.00283205"/>
</animation>
<animation name="klappen">
<part node="0>13|0|0|0" startTime="0" duration="4" startRot="0 8.64605 0" endRot="-70 8.64605 0"/>
<part node="0>13|0|0|1" startTime="0" duration="4" startRot="0 -8.64605 0" endRot="-70 -8.64605 0"/>
</animation>
</animations>

<beaconLights>

</beaconLights>

<visByAttObj reverseAttacherNum="true" >
<Fronthydraulik Oberlenker="0>14" />
</visByAttObj>


<lightsaddon lightsStayOn="true" blinkSpeed="0.5">
<light type="work" index="25|6|2" real="25|6|2|0" beam="25|6|2|1" inputName="frontwork" helptext="frontwork" stayOn="true"/>
<light type="work" index="25|6|3" real="25|6|3|0" beam="25|6|3|1" inputName="rearwork" helptext="rearwork" stayOn="true"/>
<light type="work" index="1|1" inputName="Zwillinge" stayOn="true"/>
<light type="work" index="0|1" inputName="Zwillinge" stayOn="true"/>
<light type="dirLeft" index="25|6|6" />
<light type="dirRight" index="25|6|5" />
<light type="brake" index="25|6|4" />
<flashers soundfile="Scripts/blinktick.wav" lowPitch="0.6" highPitch="0.8" volume="0.675" autoreturn="true" tolerance="0.9"/>
</lightsaddon>

<components count="1">
<component1 centerOfMass="0 0 0" solverIterationCount="10" />
</components>

<schemaOverlay file="$data/vehicles/schemas/vehicleSchema.png" fileSelected="$data/vehicles/schemas/vehicleSchemaSelected.png" width="0.5" height="0.5" attacherJointPosition="0.5 0">
<attacherJoint position="1 0" rotation="0" invertX="false" />
<attacherJoint position="0 0" rotation="0" invertX="true" />
<attacherJoint position="1 0" rotation="0" invertX="false" />
<attacherJoint position="1 0" rotation="0" invertX="false" />
</schemaOverlay>




<components count="5">

<!-- main component -->
<component1 centerOfMass="0 0.1 0" solverIterationCount="190" />
<!-- front right wheel component -->
<component2 centerOfMass="0 -0.8 0" solverIterationCount="190" />
<!-- front left wheel component -->
<component3 centerOfMass="0 -0.8 0" solverIterationCount="190" />
<!-- back right wheel component -->
<component4 centerOfMass="0 -0.8 0" solverIterationCount="190" />
<!-- back left wheel component -->
<component5 centerOfMass="0 -0.8 0" solverIterationCount="190" />


<!-- front right wheel joint (componentJointIndex = 1) -->
<joint component1="0" component2="1" index="1>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
<!-- front left wheel joint (componentJointIndex = 2) -->
<joint component1="0" component2="2" index="2>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
<!-- back right wheel joint (componentJointIndex = 3) -->
<joint component1="0" component2="3" index="3>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
<!-- back left wheel joint (componentJointIndex = 4) -->
<joint component1="0" component2="4" index="4>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>


<!-- disable collisions between existing components -->
<collisionPair component1="0" component2="1" enabled="false"/>
<collisionPair component1="0" component2="2" enabled="false"/>
<collisionPair component1="0" component2="3" enabled="false"/>
<collisionPair component1="0" component2="4" enabled="false"/>
</components>

<!-- main ploughing mod code -->
<frontRightWheel wheelIndex="1>0" componentJointIndex="1>0" furrowDepth="0.25" fallSpeed="0.25" tireWidth="0.4" />
<frontLeftWheel wheelIndex="2>0" componentJointIndex="2>0" furrowDepth="0.25" fallSpeed="0.25" tireWidth="0.4" />
<backRightWheel wheelIndex="3>0" componentJointIndex="3>0" furrowDepth="0.25" fallSpeed="0.25" tireWidth="0.45" />
<backLeftWheel wheelIndex="4>0" componentJointIndex="4>0" furrowDepth="0.25" fallSpeed="0.25" tireWidth="0.45" />
<!-- end main ploughing mod code -->
<!-- optional ploughing mod code -->
<workExhaustParticleSystems count="1">
<workExhaustParticleSystem1 node="25" file="$data/vehicles/particleSystems/exhaustParticleSystemBig.i3d" />
</workExhaustParticleSystems>
<increaseRpmDuringPloughing value="true" />
<!-- end optional ploughing mod code -->

</vehicle>
Attachments
JD7810.xml
(13.56 KiB) Downloaded 130 times
Post Reply