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> | ||