Ich habe Probleme damit, die IC-Steuerung zu aktivieren, genauer bedeutet es;
Die IC Components sind schon in der Kabine, ohne das man die "spacebar" drückt. Ich habe schon verschiedene Themen zum Thema gelesen, doch nichts davon kann mir helfen.
Ausserdem wen ich die "vehicle Type" von "tractor" auf bspweise "JohnDeere" wechsle, kann ich den Traktor nicht mehr kaufen.
Die Log ist bis auf einige Sound-Fehler leer und gibt keine Informationen über dieses Problem. Zuerst hatte ich die Meldung
Error: Not all prerequisites of specialization JD6620.InteractiveControles are fulfilled, welche sich jedoch durch das Anpassen und richtige Anordnen der Vehicle Type Spezi erledigt hat.
Ich hoffe jemand kennt das Problem und kann mir weiterhelfen.
MFG
bbgnt
Hier noch die Moddesc und Traktor xml
Code: Select all
<?xml version="4.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="21">
<author>MB3D-Modelling</author>
<version>1.0</version>
<title>
<en>John Deere 6620</en>
<de>John Deere 6620</de>
</title>
<description>
<en>
<![CDATA[Model: grünerBauer
Texture: grünerBauer
Script: grünerBauer
Sound : grünerBauer
]]>
</en>
<de>
<![CDATA[Modell: grünerBauer
Textur: grünerBauer
Script: grünerBauer
Sound : grünerBauer
]]>
</de>
</description>
<multiplayer supported="true" />
<iconFilename>
<en>Textur/store.dds</en>
<de>Textur/store.dds</de>
</iconFilename>
<specializations>
<specialization name="interactiveControl" className="InteractiveControl" filename="InteractiveControl.lua" />
<specialization name="interactiveWindows" className="InteractiveWindows" filename="InteractiveWindows.lua" />
</specializations>
<vehicleTypes>
<type name="tractor" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="animatedVehicle" />
<specialization name="motorized" />
<specialization name="steerable" />
<specialization name="drivable" />
<specialization name="cylindered" />
<specialization name="hirable" />
<specialization name="aiTractor" />
<specialization name="bunkerSiloCompacter" />
<specialization name="honk" />
<specialization name="indoorHud" />
<specialization name="washable" />
<specialization name="mountable" />
<specialization name="interactiveControl" />
<specialization name="interactiveWindows" />
</type>
</vehicleTypes>
<l10n>
<text name="INTERACTIVE_CONTROL_SWITCH"> <en>Switch IC State</en> <de>IC an/abschalten</de> </text>
<text name="InteractiveControl_Off"> <en>Disable IC</en> <de>IC ausschalten</de> </text>
<text name="InteractiveControl_On"> <en>Enable IC</en> <de>IC anschalten</de> </text>
<text name="ic_component_close"> <en>Left Mouse Button: close %s</en> <de>Linke Maustaste: %s schließen</de> </text>
<text name="ic_component_open"> <en>Left Mouse Button: open %s</en> <de>Linke Maustaste: %s öffnen</de> </text>
<text name="ic_button_on"> <en>Left Mouse Button: activate %s</en> <de>Linke Maustaste: %s anschalten</de> </text>
<text name="ic_button_off"> <en>Left Mouse Button: deactivate %s</en> <de>Linke Maustaste: %s ausschalten</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>
<text name="backWindow"> <en>Back window</en> <de>Heck-Fenster</de> </text>
<text name="console"> <en>Console</en> <de>Console</de> </text>
<text name="SET_DOOROPENER"> <en>Open/Close door</en> <de>Open/Close door</de> </text>
<text name="Fronthydraulik"> <en>toggle Frontattacher</en> <de>Fronthydraulik ein/ausklappen</de> </text>
</l10n>
<inputBindings>
<input name="INTERACTIVE_CONTROL_SWITCH" category="VEHICLE" key1="KEY_space" key2="" button="" device="0" mouse="" />
</inputBindings>
<storeItems>
<storeItem>
<de>
<name>John Deere 6620</name>
<description>
<![CDATA[Motor: 6,8 Liter 6-Zylinder Motor mit 125PS und 560,7Nm bei 1365U/min
Getriebe: PowerQuad-Getriebe mit 4 Lastschaltstufen und einer Geschwindigkeit mit 2,4 bis 40km/h
Tankinhalt: 207 Liter
Kabine: TechCenter mit Klimaanlage und Grammer-Komfortsitz
Eigengewicht: 5169kg
Federung: TLS-Vorderachsfederung
Frontkraftheber: Degenhart mit 4,5t Hubkraft
grünerBauer, MB3D-Modelling]]>
</description>
<specs>
<![CDATA[125 PS Nennleistung
40 km/h
Baujahr: 2001
Unterhaltskosten: 10 / Tag
]]>
</specs>
</de>
<en>
<name>John Deere 6620</name>
<description>
<![CDATA[Engine: 6,8 liter, 125 HP
tank: 207 liter
weight: 5169 kg
front hydraulic: Degenhart with 4,5t lifting capacity
grünerBauer, MB3D-Modelling]]>
</description>
<specs>
<![CDATA[125 HP
40 km/h
Year: 2001
upkeep: 10 / Tag
]]>
</specs>
</en>
<rotation>180</rotation>
<image active="Textur/store.dds" brand="Textur/brand.dds"/>
<price>35000</price>
<dailyUpkeep>10</dailyUpkeep>
<xmlFilename>JohnDeere6620.xml</xmlFilename>
<brand>John Deere</brand>
<category>tractors</category>
<specs>
<power>180</power>
</specs>
</storeItem>
</storeItems>
</modDesc>
Code: Select all
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="tractor">
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
<name>
<en>John Deere 6620</en>
<de>John Deere 6620</de>
</name>
<filename>JohnDeere6620.i3d</filename>
<size width="3.5" length="6"/>
<wheels autoRotateBackSpeed="1.8">
<wheel rotSpeed="1" restLoad="2.7" repr="0>0" forcePointRatio="0.2" driveNode="0>0|0" radius="0.7" width="0.54" initialCompression="50" suspTravel="0.2" spring="30" damper="50" mass="0.269" fenderNode="0>37|0|0|4|1" fenderRotMin="-36" hasTyreTracks="true" />
<wheel rotSpeed="1" restLoad="2.7" repr="0>1" forcePointRatio="0.2" driveNode="0>1|0" radius="0.7" width="0.54" initialCompression="50" suspTravel="0.2" spring="30" damper="50" mass="0.269" fenderNode="0>37|0|0|5|1" fenderRotMax="36" hasTyreTracks="true" />
<wheel rotSpeed="0" restLoad="2.9" repr="0>2" forcePointRatio="0.3" radius="0.9" width="0.65" initialCompression="50" suspTravel="0.2" spring="30" damper="50" mass="0.56" hasTyreTracks="true" />
<wheel rotSpeed="0" restLoad="2.9" repr="0>3" forcePointRatio="0.3" radius="0.9" width="0.65" initialCompression="50" suspTravel="0.2" spring="30" damper="50" mass="0.56" hasTyreTracks="true" />
</wheels>
<dynamicallyLoadedParts>
<dynamicallyLoadedPart node="1|0" linkNode="0>0|0" filename="Wheels/JD_wheels.i3d" />
<dynamicallyLoadedPart node="1|1" linkNode="0>1|0" filename="Wheels/JD_wheels.i3d" />
<dynamicallyLoadedPart node="0|0" linkNode="0>2" filename="Wheels/JD_wheels.i3d" />
<dynamicallyLoadedPart node="0|1" linkNode="0>3" filename="Wheels/JD_wheels.i3d" />
</dynamicallyLoadedParts>
<ackermannSteering rotSpeed="60" rotMax="36" rotCenterWheel1="2" rotCenterWheel2="3" />
<differentials>
<differential torqueRatio="0.5" maxSpeedRatio="1.2" wheelIndex1="0" wheelIndex2="1" /> <!-- front left-right -->
<differential torqueRatio="0.5" maxSpeedRatio="1.3" wheelIndex1="2" wheelIndex2="3" /> <!-- back left-right -->
<differential torqueRatio="0.5" maxSpeedRatio="1.1" differentialIndex1="0" differentialIndex2="1" /> <!-- front-back -->
</differentials>
<motor torqueScale="0.598" minRpm="500" maxRpm="2200" maxBackwardSpeed="15" brakeForce="8" lowBrakeForceScale="0.5" lowBrakeForceSpeedLimit="1" minForwardGearRatio="13.5" maxForwardGearRatio="130" minBackwardGearRatio="50" maxBackwardGearRatio="130">
<torque normRpm="0.2" torque="1.5"/>
<torque normRpm="0.45" torque="0.9"/>
<torque normRpm="0.5" torque="0.97"/>
<torque normRpm="0.59" torque="1.1"/>
<torque normRpm="0.72" torque="1.2"/>
<torque normRpm="0.86" torque="0.95"/>
<torque normRpm="1" torque="0.88"/>
</motor>
<fuelCapacity>207</fuelCapacity>
<fuelUsage>12</fuelUsage>
<cameras count="2">
<camera1 index="4|0" rotatable="true" rotateNode="4" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="35" >
<raycastNode index="0>6"/>
<raycastNode index="0>7"/>
</camera1>
<camera2 index="5" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" />
</cameras>
<lights>
<light realLight="0>9|0|0" fakeLight="0>9|0|2" decoration="0>9|0|1" lightType="0"/>
<light decoration="0>23|7|4" lightType="0"/>
<light decoration="0>23|2|0" lightType="0"/>
<light decoration="0>23|3|0" lightType="0"/>
<light decoration="0>23|4|0" lightType="0"/>
<light decoration="0>23|5|0" lightType="0"/>
<light realLight="0>9|1|0" decoration="0>9|1|1" lightType="1"/>
</lights>
<brakeLights>
<brakeLight index="0>9|3" />
</brakeLights>
<beaconLights>
<beaconLight index="0>35|13|0|0|0" speed="0.016" filename="Beacon/beaconLight02.i3d" />
<beaconLight index="0>35|14|0|0|0" speed="0.012" filename="Beacon/beaconLight02.i3d" />
<beaconLight index="0>9|2|0" speed="0" />
</beaconLights>
<turnSignals>
<turnSignalLeft index="0>9|4|0" />
<turnSignalLeft index="0>23|7|2" />
<turnSignalRight index="0>9|4|1" />
<turnSignalRight index="0>23|7|1" />
</turnSignals>
<steering index="0>23|0" rotationSpeed="6"/>
<enterReferenceNode index="0>"/>
<exitPoint index="0>8"/>
<attacherJoints>
<attacherJoint index="0>11|0|0" rotationNode="0>11" minRot="18 0 0" minRot2="-7 0 0" maxRot="-6 0 0" rotationNode2="0>11|0" maxRot2="2 0 0" maxTransLimit="0 0.5 0" maxRotLimit="0 0 20" moveTime="2.5" ptoOutputNode="0>20" ptoFilename="$data/vehicles/shared/powerTakeoff.i3d">
<bottomArm rotationNode="0>12" translationNode="0>12|0" referenceNode="0>12|0|0" zScale="-1" />
<topArm baseNode="0>13" filename="Oberlenker.i3d" zScale="-1" />
</attacherJoint>
<attacherJoint index="0>16|0|0" rotationNode="0>16" minRot="-20 0 0" minRot2="12 0 0" maxRot="9 0 0" rotationNode2="16|0" maxRot2="-10 0 0" maxTransLimit="0 0.4 0" maxRotLimit="0 0 20" moveTime="2.5" ptoOutputNode="0>22" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d">
<bottomArm rotationNode="0>17" translationNode="17|0" referenceNode="17|0|0" zScale="1" />
<topArm baseNode="0>18" filename="Oberlenker.i3d" zScale="1" />
</attacherJoint>
<attacherJoint index="0>19|0" jointType="trailer" transNode="0>19" transMinYHeight="0.62" transMaxYHeight="1.1" maxRotLimit="10 80 80" minRotRotationOffset="0" allowsJointLimitMovement="false" ptoOutputNode="0>20" ptoFilename="$data/vehicles/shared/powerTakeoff.i3d"/>
<attacherJoint index="0>21" jointType="trailerLow" maxRotLimit="10 50 50" minRotRotationOffset="0" allowsJointLimitMovement="false" ptoOutputNode="0>20" ptoFilename="$data/vehicles/shared/powerTakeoff.i3d"/>
</attacherJoints>
<attacherJointLowerCombo duration="2">
<attacherJoint index="2" time="0" />
<attacherJoint index="1" time="1" />
<attacherJoint index="3" time="1" />
<attacherJoint index="4" time="1" />
</attacherJointLowerCombo>
<movingTools>
<!-- attacher joint back bottom-->
<movingTool index="0>12">
<!-- cylinder 1 -->
<dependentPart index="0>14" />
<!-- cylinder 2 -->
<dependentPart index="0>15" />
</movingTool>
<!-- attacher joint front bottom-->
<movingTool index="0>17">
<!-- cylinder -->
</movingTool>
</movingTools>
<movingParts>
<!-- attacher joint back bottom cylinder 1 -->
<movingPart index="0>14" referencePoint="0>15|1" referenceFrame="0>" invertZ="true">
<translatingPart index="0>14|0" />
</movingPart>
<!-- attacher joint back bottom cylinder 2 -->
<movingPart index="0>15" referencePoint="0>12|0|1" localReferencePoint="0>15|2" referenceFrame="0>" invertZ="true">
<dependentPart index="0>15|2" />
</movingPart>
<!-- attacher joint back bottom cylinder 2b -->
<movingPart index="0>15|2" referencePoint="0>12|0|1" referenceFrame="0>15|0" invertZ="true">
</movingPart>
<!-- Federung -->
<movingPart index="0>0|1" referencePoint="0>1|1" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<movingPart index="0>36" referencePoint="0>0|1|0" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<movingPart index="0>37" referencePoint="0>36|0" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<movingPart index="0>38" referencePoint="0>0|2" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<movingPart index="0>37|0" referencePoint="0>0|2" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<movingPart index="0>37|0|0|2|0" referencePoint="0>35|6" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<movingPart index="0>35|6" referencePoint="0>37|0|0|2|0" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<movingPart index="0>37|0|0|3|0" referencePoint="0>35|7" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<movingPart index="0>35|7" referencePoint="0>37|0|0|3|0" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<movingPart index="0>35|9" referencePoint="0>37|0|0|6" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<movingPart index="0>35|10" referencePoint="0>37|0|0|7" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<!-- Lenkung -->
<movingPart index="0>37|0|0|4" referencePoint="0>0|3" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<movingPart index="0>37|0|0|5" referencePoint="0>1|2" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<movingPart index="0>37|0|0|4|0" referencePoint="0>37|0|0|0" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
<movingPart index="0>37|0|0|5|0" referencePoint="0>37|0|0|0" referenceFrame="0>" scaleZ="false" playSound="false" isActiveDirty="true">
</movingPart>
</movingParts>
<animations>
<animation name="backWindow">
<part node="0>35|1|1" startTime="0" duration="2" startRot="180 0 180" endRot="106 0 180"/>
</animation>
<animation name="console">
<part node="0>23" startTime="0" duration="2" startRot="-45 0 0" endRot="-10 0 0"/>
</animation>
<animation name="leftDoor">
<part node="0>35|1|4" startTime="0" duration="2" startRot="0 0 10.2" endRot="0 65 10.2"/>
</animation>
<animation name="rightDoor">
<part node="0>35|1|5" startTime="0" duration="2" startRot="0 0 -10.2" endRot="0 -65 -10.2"/>
</animation>
</animations>
<interactiveComponents>
<windows>
<window name="backWindow" mark="0>35|1|1|5" size="0.1" animName="backWindow" onMessage="ic_component_open" offMessage="ic_component_close" />
<window name="console" mark="0>23|9" size="0.1" animName="console" onMessage="ic_component_open" offMessage="ic_component_close"/>
<window name="leftDoor" mark="0>35|1|4|2" size="0.1" animName="leftDoor" onMessage="ic_component_open" offMessage="ic_component_close" />
<window name="rightDoor" mark="0>35|1|5|2" size="0.1" animName="righttDoor" onMessage="ic_component_open" offMessage="ic_component_close" />
<window name="console" mark="0>48|3|4" size="0.1" animName="console" onMessage="ic_component_open" offMessage="ic_component_close" />
</windows>
</interactiveComponents>
<characterNode index="0>24|0" cameraMinDistance="2.0" filename="$dataS2/character/player/player.i3d" characterMesh="1" characterGloves="2" characterSkin="0" spineNode="0|0" leftArmIKChainId="leftArm" rightArmIKChainId="rightArm" spineRotation="180 0 104" >
<ikChains>
<ikChain id="rightFoot" target="0>24|1" targetOffset="0 0.1 0" alignToTarget="true" isDirtyOnLoad="true" >
<node index="0|1" />
<node index="0|1|0" minRx="0" maxRx="0" minRy="-20" maxRy="20" minRz="0" maxRz="90" />
<node index="0|1|0|0" minRx="0" maxRx="0" minRy="0" maxRy="0" minRz="270" maxRz="360" />
<node index="0|1|0|0|0" />
</ikChain>
<ikChain id="leftFoot" target="0>24|2" targetOffset="0 0.1 0" alignToTarget="true" isDirtyOnLoad="true">
<node index="0|2" />
<node index="0|2|0" minRx="0" maxRx="0" minRy="-20" maxRy="20" minRz="0" maxRz="90" />
<node index="0|2|0|0" minRx="0" maxRx="0" minRy="0" maxRy="0" minRz="270" maxRz="360" />
<node index="0|2|0|0|0" />
</ikChain>
<ikChain id="rightArm" target="0>23|0|1" targetOffset="0.025 0.066 0" alignToTarget="true" isDirtyOnLoad="true">
<node index="0|0|0|1" />
<node index="0|0|0|1|0" minRx="0" maxRx="0" minRy="-40" maxRy="90" minRz="0" maxRz="90" />
<node index="0|0|0|1|0|0" minRx="0" maxRx="0" minRy="0" maxRy="0" minRz="7" maxRz="90" />
<node index="0|0|0|1|0|0|0" />
<rotationNode index="0|0|0|1|0|0|0|0" rotation="0 0 -60" />
<rotationNode index="0|0|0|1|0|0|0|0|0" rotation="0 0 -60" />
<rotationNode index="0|0|0|1|0|0|0|1" rotation="-90 20 -40" />
<rotationNode index="0|0|0|1|0|0|0|1|0" rotation="0 0 -40" />
</ikChain>
<ikChain id="leftArm" target="0>23|0|2" targetOffset="-0.025 0.066 0" alignToTarget="true" isDirtyOnLoad="true">
<node index="0|0|0|2" />
<node index="0|0|0|2|0" minRx="0" maxRx="0" minRy="-40" maxRy="90" minRz="0" maxRz="90" />
<node index="0|0|0|2|0|0" minRx="0" maxRx="0" minRy="0" maxRy="0" minRz="7" maxRz="90" />
<node index="0|0|0|2|0|0|0" />
<rotationNode index="0|0|0|2|0|0|0|0" rotation="0 0 -60" />
<rotationNode index="0|0|0|2|0|0|0|0|0" rotation="0 0 -60" />
<rotationNode index="0|0|0|2|0|0|0|1" rotation="-90 20 -40" />
<rotationNode index="0|0|0|2|0|0|0|1|0" rotation="0 0 -40" />
</ikChain>
</ikChains>
</characterNode>
<aiTrafficCollisionTrigger index="0>25" />
<exhaustEffects>
<exhaustEffect index="0>26" filename="$data/vehicles/particleAnimations/shared/exhaust.i3d" minRpmColor="0.9 0.9 0.9 0.05" maxRpmColor="0.9 0.9 0.9 0.2" minRpmScale="0.05" maxRpmScale="0.4" forwardXRotations="-250 0 250" forwardZRotations="0 0 0" steerXRotations="0 0 0" steerZRotations="120 0 -50" />
</exhaustEffects>
<motorStartDuration>2500</motorStartDuration>
<attachSound file="$data/vehicles/shared/attach.wav" pitchOffset="1" />
<motorStartSound file="sound/outdoor_start.ogg" pitchOffset="1" volume="1.25" />
<motorSound file="sound/outdoor_idle.ogg" pitchOffset="1" pitchScale="0.02" pitchMax="1.55" volume="1.25" radius="50" innerRadius="20" />
<motorSoundRun file="sound/outdoor_run.ogg" pitchOffset="0.45" pitchScale="0.026" pitchMax="1.35" volume="1.3" />
<motorSoundRun2 file="$data/vehicles/shared/transmissionOld.wav" pitchOffset="0.65" volume="0.2" pitchMax="1.4" volumeMax="0.45"/>
<motorStopSound file="sound/outdoor_out.ogg" pitchOffset="1" volume="1.5" />
<compressedAirSound file="$data/vehicles/shared/brakeOld.wav" pitchOffset="1" volume="2"/>
<compressionSound file="$data/vehicles/shared/compressorWork.wav" pitchOffset="1" volume="1.5"/>
<driveGroundParticleSystems>
<driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="1" />
<driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="2" />
<driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="3" />
<driveGroundParticleSystem file="$data/vehicles/particleAnimations/shared/drivingParticleSystem.i3d" wheel="4" />
</driveGroundParticleSystems>
<washable dirtDuration="50" washDuration="1" workMultiplier="4" />
<components count="1">
<component1 centerOfMass="0 0.01 0.1" solverIterationCount="10" />
</components>
<schemaOverlay file="$dataS2/menu/schemas/vehicleSchema.png" fileSelected="$dataS2/menu/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>
</vehicle>