Script-Probleme im Traktor

Eure Foren für alle Diskussionen rund ums Thema Modding.
HolzrollerBR142
Posts: 5
Joined: Fri Apr 02, 2021 3:23 pm

Script-Probleme im Traktor

Post by HolzrollerBR142 »

Hallo zusammen,

Ich habe nun folgendes Problem: Kürzlich hatte ich in meinem Trecker (K744) das LightExtension Skript installiert. In der Shopauswahl funktioniert es einwandfrei, kaufe ich das Fahrzeug aber, funktioniert es nicht.
Nun habe ich das addConfig Skript installiert. In der Shopvoransicht kann ich alles richtig und korrekt konfigurieren, allerdings kaufe ich das Fahrzeug, werden mir alle zusätzlichen Konfigurationen angezeigt, obwohl ich das nichtmal ausgewählt hab.
Hat da jemand einen Rat oder Erfahrungen zu?

ModDesc
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="53">
<author>voiyka_13(Владимир Кузинкин),Aluha74rus</author>
<version>3</version>
<title>
<en>K744R4 Premium</en>
<de>K744R4 Premium</de>
<ru>Кировец K744 Р4 Премиум</ru>
</title>
<description>
<en><![CDATA[K744R4 Premium]]></en>
<de><![CDATA[K744R4 Premium]]></de>
<fr><![CDATA[K744R4 Premium]]></fr>
<pl><![CDATA[K744R4 Premium]]></pl>
<ru></ru>
</description>
<iconFilename>Store/Petersburg_tractor_factory.dds</iconFilename>
<multiplayer supported="true" />

<brands>
<brand name="PTZKIROWEC" title="PTZKIROWEC" image="Store/Petersburg_tractor_factory.dds" />
<brand name="REDSTAR" title="REDSTAR" image="Store/RedStar.dds" />
</brands>

<universalPassenger xmlFile="VehiclesOfModHub.xml"/>

<l10n>
<!-- sondersignalConfigurations -->
<text name="configuration_sondersignal">
<en>beacon lights</en>
<de>Rundumleuchten</de>
</text>
<text name="configuration_keinesondersignale">
<en>No beacon lights</en>
<de>Keine Rundumleuchten</de>
</text>
<text name="configuration_rtk6">
<en>RTK6</en>
<de>RTK6</de>
</text>
<text name="configuration_rul">
<en>two beacon lights</en>
<de>2 Rundumleuchten</de>
</text>

<!-- lightsConfigurations -->
<text name="configuration_lights">
<en>Extra Lights</en>
<de>Zusatzscheinwerfer</de>
</text>
</l10n>

<specializations>
<specialization name="lightExtension" className="LightExtension" filename="scripts/LightExtension.lua"/>
<specialization name="addConfig" className="AddConfig" filename="scripts/AddConfig.lua"/>
</specializations>

<vehicleTypes>
<type name="K744R4" parent="baseDrivable" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="lightExtension" />
<specialization name="addConfig"/>
</type>
</vehicleTypes>

<newConfigurations>
<newConfiguration configName="sondersignal" isColorConfig="false" />
<newConfiguration configName="lights" isColorConfig="false" />
</newConfigurations>

<storeItems>
<storeItem rootNode="vehicle" xmlFilename="K744R4.xml" />
<storeItem rootNode="vehicle" xmlFilename="Protiwowes.xml" />
<storeItem rootNode="vehicle" xmlFilename="LopataK744R4.xml" />
</storeItems>
<site link="" title="" />
</modDesc>
K744R4.xml
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="K744R4">
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
<storeData>
<name>K744 P4</name>
<specs>
<power>428</power>
<maxSpeed>46</maxSpeed>
</specs>
<functions>
<function>$l10n_function_tractor</function>
</functions>
<image>Store/K744R4.dds</image>
<price>214200</price>
<lifetime>800</lifetime>
<rotation>0</rotation>
<brand>PTZKIROWEC</brand>
<category>tractorsL</category>
<vertexBufferMemoryUsage>1900092</vertexBufferMemoryUsage>
<indexBufferMemoryUsage>360942</indexBufferMemoryUsage>
<textureMemoryUsage>26738976</textureMemoryUsage>
<instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
<instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
<dailyUpkeep>0</dailyUpkeep></storeData>
<base>
<typeDesc>$l10n_typeDesc_tractor</typeDesc>
<filename>K744R4.i3d</filename>
<size width="3.5" length="8" />
<components>
<component centerOfMass="0.00 1 1.18" solverIterationCount="10" mass="9000" />
<component centerOfMass="-0.00 0.63 -1.44" solverIterationCount="10" mass="7000" />
<joint component1="1" component2="2" node="0>8" rotLimit="0 0 10" transLimit="0 0 0" />
<!-- <joint component1="1" component2="3" node="0>9" rotLimit="0 0 0" transLimit="0 0 0"/> -->
</components>
<schemaOverlay attacherJointPosition="0.5 0">
<default name="DEFAULT_VEHICLE" />
<selected name="DEFAULT_VEHICLE_SELECTED" />
</schemaOverlay>
</base>
<vehicleTypeConfigurations>
<vehicleTypeConfiguration name="Стандарт" price="0" vehicleType="tractor" />
<vehicleTypeConfiguration name="Бризговики" price="700" vehicleType="tractor">
<objectChange node="0>3|2" visibilityActive="true" visibilityInactive="false" />
</vehicleTypeConfiguration>
<vehicleTypeConfiguration name="Бризговики + Ящик" price="2700" vehicleType="tractor">
<objectChange node="0>3|2" visibilityActive="true" visibilityInactive="false" />
<objectChange node="0>3|33" visibilityActive="true" visibilityInactive="false" />
</vehicleTypeConfiguration>
<vehicleTypeConfiguration name="Крепление лопаты" price="7000" vehicleType="tractor">
<objectChange node="0>11" visibilityActive="true" visibilityInactive="false" />
<objectChange node="0>11|1" translationActive="0 -0.243 1.269" translationInactive="0 0.969 -0.132" />
<objectChange node="0>14" visibilityActive="true" visibilityInactive="false" />
</vehicleTypeConfiguration>
<vehicleTypeConfiguration name="Крепление лопаты + Бризговики" price="7700" vehicleType="tractor">
<objectChange node="0>3|2" visibilityActive="true" visibilityInactive="false" />
<objectChange node="0>11" visibilityActive="true" visibilityInactive="false" />
<objectChange node="0>11|1" translationActive="0 -0.243 1.269" translationInactive="0 0.969 -0.132" />
<objectChange node="0>14" visibilityActive="true" visibilityInactive="false" />
</vehicleTypeConfiguration>
<vehicleTypeConfiguration name="Крепление лопаты + Ящик" price="9000" vehicleType="tractor">
<objectChange node="0>3|33" visibilityActive="true" visibilityInactive="false" />
<objectChange node="0>11" visibilityActive="true" visibilityInactive="false" />
<objectChange node="0>11|1" translationActive="0 -0.243 1.269" translationInactive="0 0.969 -0.132" />
<objectChange node="0>14" visibilityActive="true" visibilityInactive="false" />
</vehicleTypeConfiguration>
<vehicleTypeConfiguration name="Крепление лопаты + Ящик + Бризговики" price="9700" vehicleType="tractor">
<objectChange node="0>3|33" visibilityActive="true" visibilityInactive="false" />
<objectChange node="0>11" visibilityActive="true" visibilityInactive="false" />
<objectChange node="0>11|1" translationActive="0 -0.243 1.269" translationInactive="0 0.969 -0.132" />
<objectChange node="0>3|2" visibilityActive="true" visibilityInactive="false" />
<objectChange node="0>14" visibilityActive="true" visibilityInactive="false" />
</vehicleTypeConfiguration>
</vehicleTypeConfigurations>
<wheels>
<wheelConfigurations>
<wheelConfiguration name="Стандартная резина" price="0">
<wheels autoRotateBackSpeed="0.9">
<wheel filename="wheels/K744R4.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
<physics rotSpeed="1" restLoad="5.7" repr="0>0|0" driveNode="0>0|0|0" forcePointRatio="0.3" initialCompression="45" suspTravel="0.39" spring="38" damper="100" maxLatStiffness="150" showSteeringAngle="false" />
</wheel>
<wheel filename="wheels/K744R4.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
<physics rotSpeed="1" restLoad="5.7" repr="0>0|1" driveNode="0>0|1|0" forcePointRatio="0.3" initialCompression="45" suspTravel="0.39" spring="38" damper="100" maxLatStiffness="150" showSteeringAngle="false" />
</wheel>
<wheel filename="wheels/K744R4.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
<physics rotSpeed="1" restLoad="4.7" repr="1>0" forcePointRatio="0.3" initialCompression="70" suspTravel="0.2" spring="62" damper="100" showSteeringAngle="false" />
</wheel>
<wheel filename="wheels/K744R4.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
<physics rotSpeed="1" restLoad="4.7" repr="1>1" forcePointRatio="0.3" initialCompression="70" suspTravel="0.2" spring="62" damper="100" showSteeringAngle="false" />
</wheel>
</wheels>
</wheelConfiguration>
<wheelConfiguration name="Спарка стандарт" price="1500" icon="$dataS2/menu/hud/configurations/config_wheel_twin.png">
<wheels autoRotateBackSpeed="0.9">
<wheel filename="wheels/K744R4.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
<physics rotSpeed="1" restLoad="5.7" repr="0>0|0" driveNode="0>0|0|0" forcePointRatio="0.3" initialCompression="45" suspTravel="0.39" spring="38" damper="100" maxLatStiffness="150" showSteeringAngle="false" />
<additionalWheel filename="wheels/K744R4.xml" isLeft="false" offset="0.15" hasParticles="true" hasTireTracks="true">
<connector filename="wheels/WheelsK744.i3d" node="0|9" />
</additionalWheel>
</wheel>
<wheel filename="wheels/K744R4.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
<physics rotSpeed="1" restLoad="5.7" repr="0>0|1" driveNode="0>0|1|0" forcePointRatio="0.3" initialCompression="45" suspTravel="0.39" spring="38" damper="100" maxLatStiffness="150" showSteeringAngle="false" />
<additionalWheel filename="wheels/K744R4.xml" isLeft="true" offset="0.15" hasParticles="true" hasTireTracks="true">
<connector filename="wheels/WheelsK744.i3d" node="0|8" />
</additionalWheel>
</wheel>
<wheel filename="wheels/K744R4.xml" isLeft="true" hasTireTracks="true" hasParticles="true">
<physics rotSpeed="1" restLoad="4.7" repr="1>0" forcePointRatio="0.3" initialCompression="70" suspTravel="0.2" spring="62" damper="100" showSteeringAngle="false" />
<additionalWheel filename="wheels/K744R4.xml" isLeft="true" offset="0.15" hasParticles="true" hasTireTracks="true">
<connector filename="wheels/WheelsK744.i3d" node="0|8" />
</additionalWheel>
</wheel>
<wheel filename="wheels/K744R4.xml" isLeft="false" hasTireTracks="true" hasParticles="true">
<physics rotSpeed="1" restLoad="4.7" repr="1>1" forcePointRatio="0.3" initialCompression="70" suspTravel="0.2" spring="62" damper="100" showSteeringAngle="false" />
<additionalWheel filename="wheels/K744R4.xml" isLeft="false" offset="0.15" hasParticles="true" hasTireTracks="true">
<connector filename="wheels/WheelsK744.i3d" node="0|9" />
</additionalWheel>
</wheel>
</wheels>
</wheelConfiguration>
</wheelConfigurations>
</wheels>

<articulatedAxis componentJointIndex="1" rotSpeed="-40" rotMax="28" rotMin="-28" anchorActor="0" aiRevereserNode="1>6" />

<speedRotatingParts>
<speedRotatingPart node="0>0|0|1|1|0|0" wheelIndex="3" wheelScale="2" />
<speedRotatingPart node="0>3|7|0" wheelIndex="3" wheelScale="2" />
<speedRotatingPart node="0>3|8|0" wheelIndex="3" wheelScale="2" />
<speedRotatingPart node="1>2|1|0" wheelIndex="3" wheelScale="2" />
<speedRotatingPart node="1>2|2|0" wheelIndex="3" wheelScale="2" />
<speedRotatingPart node="1>2|4|0" wheelIndex="3" wheelScale="2" />
</speedRotatingParts>

<attachable>
<airConsumer usage="3000" />
</attachable>

<attacherJoints>
<attacherJoint node="1>3|0|0|0" rootNode="1>" moveTime="2.5" comboTime="1">
<distanceToGround lower="0.39" upper="1.02" />
<rotationNode node="1>3|0" upperRotation="35 0 0" lowerRotation="-18 0 0" />
<rotationNode2 node="1>3|0|0" />
<bottomArm rotationNode="1>3|1" translationNode="1>3|1|0" referenceNode="1>3|1|0|0" zScale="-1" />
<topArm rotationNode="1>3|4" translationNode="1>3|4|0|0|0" referenceNode="1>3|4|0|0|0|0" zScale="1" />
<schema position="1 0" rotation="0" invertX="false" />
<objectChange node="1>3|1|0|3|0|1" visibilityActive="true" visibilityInactive="false" />
<objectChange node="1>3|1|0|3|1|1" visibilityActive="true" visibilityInactive="false" />
</attacherJoint>
<attacherJoint node="0>10" jointType="semitrailer" comboTime="1">
<schema position="0 0" rotation="0" invertX="true" />
</attacherJoint>
<attacherJoint node="1>3|1|0|4|0" rootNode="1>" jointType="trailerLow" lowerRotLimit="10 80 80" allowsJointLimitMovement="false" upperRotRotationOffset="0">
<schema position="0.5 0" rotation="0" invertX="false" />
<objectChange node="1>3|1|0|3|0|1" visibilityActive="true" visibilityInactive="false" />
<objectChange node="1>3|1|0|3|1|1" visibilityActive="true" visibilityInactive="false" />
<objectChange node="1>3|1|0|4|1" visibilityActive="true" visibilityInactive="false" />
</attacherJoint>
<attacherJoint node="1>3|1|0|4|0" rootNode="1>" jointType="trailer" lowerRotLimit="10 80 80" allowsJointLimitMovement="false" upperRotRotationOffset="0">
<schema position="0.5 0" rotation="0" invertX="false" />
<objectChange node="1>3|1|0|3|0|1" visibilityActive="true" visibilityInactive="false" />
<objectChange node="1>3|1|0|3|1|1" visibilityActive="true" visibilityInactive="false" />
<objectChange node="1>3|1|0|4|1" visibilityActive="true" visibilityInactive="false" />
</attacherJoint>
<attacherJoint node="0>11|1|0|0" moveTime="2.5" comboTime="1">
<distanceToGround lower="0" upper="0" />
<rotationNode node="0>11|1" upperRotation="0 0 0" lowerRotation="0 0 0" />
<rotationNode2 node="0>11|1|0" />
<schema position="0 0" rotation="0" invertX="true" />
</attacherJoint>

<sounds>
<attach template="ATTACH_01" linkNode="0>" />
<hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>" />
</sounds>

</attacherJoints>

<powerTakeOffs>
<output outputNode="1>3|5" attacherJointIndices="1" />
</powerTakeOffs>

<lights>
<states>
<state lightTypes="0" />
<state lightTypes="0 1" />
</states>
<realLights>
<low>
<light node="0>1|2|6|0" lightTypes="0" />
<light node="0>1|10|1" lightTypes="0 1" />
<light node="1>7|2|1" lightTypes="0 1" />
<light node="0>1|2|6|2" lightTypes="0 1" />
<light node="0>1|6|4|0|1" lightTypes="2" />
<light node="0>1|6|5|0|1" lightTypes="2" />
<light node="0>1|6|6|0|1" lightTypes="2" />
<light node="0>1|6|7|0|1" lightTypes="2" />
</low>
<high>
<light node="0>1|2|6|0" lightTypes="0" />
<light node="0>1|10|1" lightTypes="0 1" />
<light node="1>7|2|1" lightTypes="0 1" />
<light node="0>1|2|6|2" lightTypes="0 1" />
<light node="0>1|6|4|0|1" lightTypes="2" />
<light node="0>1|6|5|0|1" lightTypes="2" />
<light node="0>1|6|6|0|1" lightTypes="2" />
<light node="0>1|6|7|0|1" lightTypes="2" />
<turnLightLeft node="1>7|0|1" />
<turnLightLeft node="0>1|9|1" />
<turnLightLeft node="1>7|0|2" />
<turnLightLeft node="0>1|9|2" />
<turnLightRight node="1>7|1|1" />
<turnLightRight node="0>1|8|1" />
<turnLightRight node="1>7|1|2" />
<turnLightRight node="0>1|8|2" />
<brakeLight node="1>7|3|1" />
</high>
</realLights>

<sounds>
<switchLight template="SWITCH_01" />
<turnLight template="SWITCH_TURNLIGHT" />
</sounds>

<defaultLights>
<defaultLight node="0>1|6|0|0" lightTypes="0" />
<defaultLight node="0>1|6|0|1" lightTypes="1" />
<defaultLight node="0>1|2|6" lightTypes="0" />
<defaultLight node="0>1|7|0|0" lightTypes="0" />

<defaultLight node="0>1|6|0|0" lightTypes="0" />
<defaultLight node="0>1|6|0|1" lightTypes="1" />
<defaultLight node="0>1|2|6" lightTypes="0" />
<defaultLight node="0>1|7|0|0" lightTypes="0" />

<defaultLight node="0>1|6|4|0|0|0" lightTypes="2" />
<defaultLight node="0>1|6|5|0|0|0" lightTypes="2" />
<defaultLight node="0>1|6|6|0|0|0" lightTypes="2" />
<defaultLight node="0>1|6|7|0|0|0" lightTypes="2" />
</defaultLights>>

<brakeLights> --> --> -->
<brakeLight node="1>7|3|0" /> -->
</brakeLights> --> --> -->

<beaconLights>
<beaconLight node="0>17|2|0" filename="RTK6_SL/beaconLight/beaconLight01.xml"/>
<beaconLight node="0>17|2|1" filename="RTK6_SL/beaconLight/beaconLight01.xml"/>
<beaconLight node="0>17|2|2" filename="RTK6_SL/beaconLight/beaconLight01.xml"/>
<beaconLight node="0>17|2|3" filename="RTK6_SL/beaconLight/beaconLight01.xml"/>

<beaconLight node="0>17|3|0" filename="$data/shared/assets/beaconLights/lizard/beaconLight01.xml"/>
<beaconLight node="0>17|3|1" filename="$data/shared/assets/beaconLights/lizard/beaconLight01.xml"/>
</beaconLights>

<dashboards>
<dashboard displayType="EMITTER" valueType="lightState" node="0>1|1|2|12|1" baseColor="BLACK" emitColor="GREEN" intensity="0.5" lightTypes="0 1 2 3" groups="MOTOR_ACTIVE"/>
<dashboard displayType="EMITTER" valueType="turnLightLeft" node="0>1|1|2|12|2" baseColor="BLACK" emitColor="GREEN" groups="MOTOR_ACTIVE"/>
<dashboard displayType="EMITTER" valueType="turnLightRight" node="0>1|1|2|12|3" baseColor="BLACK" emitColor="GREEN" groups="MOTOR_ACTIVE"/>
<dashboard displayType="emitter" valueType="beaconLight" node="0>1|1|2|12|4" baseColor="BLACK" emitColor="ORANGE" groups="MOTOR_ACTIVE"/>
<dashboard displayType="EMITTER" valueType="lightState" node="0>1|1|2|12|0" baseColor="BLACK" emitColor="YELLOW" intensity="0.5" lightTypes="1" groups="MOTOR_ACTIVE"/>
</dashboards>
</lights>

<simpleIC outsideInteractionTrigger="0>16|0">
<animation animationName="kapot" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.1" >
<outsideTrigger triggerPoint="0>1|2|7" triggerPointSize="0.04" />
</animation>
<animation animationName="door" animationSpeed="1" sharedAnimation="false" soundVolumeIncreasePercentage="0.5" >
<insideTrigger triggerPoint="0>1|1|1|0|6" triggerPointSize="0.04" />
<outsideTrigger triggerPoint="0>1|1|1|0|5" triggerPointSize="0.04" />
</animation>
</simpleIC>

<enterable>
<exitPoint node="0>7" />
<enterReferenceNode node="0>" />
<enterAnimation name="enterAnimation" />
<characterNode node="0>1|1|0|0|1|0" cameraMinDistance="1.5" spineRotation="-90 0 90">
<target ikChain="rightFoot" targetNode="0>1|1|5|0" />
<target ikChain="leftFoot" targetNode="0>1|1|5|1" />
<target ikChain="rightArm" targetNode="0>3|17|0|0|1" />
<target ikChain="leftArm" targetNode="0>1|1|2|0|0|0" />
</characterNode>
<cameras>
<camera node="0>2|0|0" rotatable="true" rotateNode="0>2|0" limit="true" useWorldXZRotation="true" rotMinX="-1.4" rotMaxX="1" transMin="4" transMax="40">
<raycastNode node="0>2|1" />
<raycastNode node="0>2|2" />
<raycastNode node="0>2|3" />
</camera>
<camera node="0>1|1|0|0|0" rotatable="true" limit="true" rotMinX="-1.1" rotMaxX="0.4" transMin="0" transMax="0" useMirror="true" isInside="true" />
</cameras>
<mirrors>
<mirror node="0>1|4|0|0" prio="1" />
<mirror node="0>1|4|1|0" prio="1" />
</mirrors>
</enterable>
<motorized>

<consumerConfigurations>
<consumerConfiguration>
<consumer fillUnitIndex="1" usage="141" fillType="diesel" /> <!-- usage is per hour at max load and max rpm -->
<consumer fillUnitIndex="2" usage="3.0" fillType="def" /> <!-- usage is per hour at max load and max rpm -->
<consumer fillUnitIndex="3" usage="250" fillType="air" permanentConsumption="false" refillLitersPerSecond="350" refillCapacityPercentage="0.5" /> <!-- usage per second at full brake power -->
</consumerConfiguration>
</consumerConfigurations>

<motorConfigurations>
<motorConfiguration name="Mercedes Benz OM 460" price="0" hp="428">
<motor torqueScale="1.947" minRpm="600" maxRpm="2100" maxForwardSpeed="46" maxBackwardSpeed="25" brakeForce="10" lowBrakeForceScale="0.22" lowBrakeForceSpeedLimit="1" rotInertia="0.002">
<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>
<transmission minForwardGearRatio="17.2" maxForwardGearRatio="150" minBackwardGearRatio="37" maxBackwardGearRatio="150" />
</motorConfiguration>
</motorConfigurations>

<differentialConfigurations>
<differentialConfiguration>
<differentials>
<differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="1" wheelIndex2="2" />
<differential torqueRatio="0.5" maxSpeedRatio="1.4" wheelIndex1="3" wheelIndex2="4" />
<differential torqueRatio="0.5" maxSpeedRatio="1.1" differentialIndex1="1" differentialIndex2="2" />
</differentials>
</differentialConfiguration>
</differentialConfigurations>

<exhaustEffects>
<exhaustEffect node="0>5|0" filename="$data/particleSystems/shared/exhaust.i3d" minRpmColor="0.1 0.1 0.1 0.01" maxRpmColor="0.05 0.05 0.05 7" minRpmScale="0.05" maxRpmScale="0.7" />
</exhaustEffects>

<motorStartDuration>5000</motorStartDuration>
<sounds externalSoundFile="Sound/744.xml" />

<animationNodes>
<animationNode node="0>1|5" rotSpeed="1200" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="2" />
<animationNode node="0>3|9|0" rotSpeed="1200" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="2" />
<animationNode node="0>3|18|2" rotSpeed="800" rotAxis="3" turnOnFadeTime="1" turnOffFadeTime="2" />
</animationNodes>


<dashboards>
<dashboard displayType="ANIMATION" valueType="speed" animName="speedDisplay" groups="MOTOR_ACTIVE"/>
<dashboard displayType="ANIMATION" valueType="rpm" animName="rpmDisplay" groups="MOTOR_ACTIVE"/>
</dashboards>

</motorized>

<drivable>
<steeringWheel node="0>1|1|2|0|0" indoorRotation="540" outdoorRotation="50" />
</drivable>

<animations>
<animation name="rpmDisplay">
<part node="0>1|1|2|11|2" startTime="0" endTime="0.27" startRot="0 0 0" endRot="0 -75 0" />
</animation>
<animation name="fuelDisplay">
<part node="0>1|1|2|11|0" startTime="0" endTime="1" startRot="0 0 0" endRot="-180 38.429 -180" />
</animation>
<animation name="speedDisplay">
<part node="0>1|1|2|11|1" startTime="0" endTime="1" startRot="0 0 0" endRot="0 -70.688 0" />
</animation>
<animation name="enterAnimation">
<part node="0>1|1|2|9" startTime="0" endTime="3" startRot="0 0 0" endRot="-90 0 0" />
<part node="0>1|1|2|9" startTime="3" endTime="3.1" startRot="-90 0 0" endRot="0 0 0" />
<part node="0>1|1|2" startTime="0.5" endTime="3" startRot="14 0 0" endRot="0 0 0" />
</animation>
<animation name="KlawishaMassa">
<part node="0>1|1|2|2" startTime="0" endTime="0.2" startRot="0 0 0" endRot="-7 0 0" />
</animation>
<animation name="Zagiganie">
<part node="0>1|1|2|6|0" startTime="0.1" endTime="0.2" startRot="0 0 0" endRot="0 -75 0" />
</animation>
<animation name="Monitor">
<part node="0>1|12|0" startTime="0" endTime="0.5" startScale="1 1 0" endScale="1 1 1" />
</animation>
<animation name="MonitorDisp">
<part node="0>1|12|2|0" startTime="0" endTime="1.5" startScale="1 1 1" endScale="1 1 0" />
</animation>
<!-- <animation name="leftDoor"> -->
<!-- <part node="0>1|1|1" startTime="0" endTime="2.7" startRot="0 0 0" endRot="0 -90 1.61"/> -->
<!-- <part node="0>1|1|1|0" startTime="0" endTime="1.35" startRot="0 0 0" endRot="1.07 0 -0.44"/> -->
<!-- <part node="0>1|1|1|0" startTime="1.35" endTime="2.7" startRot="1.07 0 -0.44" endRot="1.53 0 -1.51"/> -->
<!-- <part node="0>1|1|1|0|2" startTime="0" endTime="0.2" startRot="0 0 0" endRot="-45 0 0"/> -->
<!-- <part node="0>1|1|1|0|2" startTime="0.2" endTime="2.7" startRot="-45 0 0" endRot="0 0 0"/> -->
<!-- <part node="0>1|1|1|0|0" startTime="0" endTime="0.2" startTrans="0.024 0.45268199 -0.62837398" endTrans="0.015 0.45268199 -0.62837398"/> -->
<!-- </animation> -->
<animation name="kapot">
<part node="0>1|2" startTime="0" endTime="3.05" startRot="0 0 0" endRot="-34 0 0" />
<part node="0>3|18" startTime="1.5" endTime="3.05" startRot="0 0 0" endRot="-22 0 0" />
</animation>
<animation name="door">
<part node="0>1|1|1" startTime="0" endTime="2" startRot="0 0 0" endRot="0 -80 0" />
</animation>
<animation name="BortComp">
<part node="0>1|12" startTime="0" endTime="0.1" visibility="false" />
<part node="0>1|12" startTime="0.1" endTime="0.3" visibility="true" />
</animation>
<animation name="SwetTop">
<part node="0>1|3|9" startTime="0" endTime="0.3" startRot="0 0 0" endRot="-7 0 0" />
<part node="0>1|6|0|0" startTime="0" endTime="0.1" visibility="false" />
<part node="0>1|6|0|0" startTime="0.1" endTime="0.3" visibility="true" />
<part node="0>1|6|1|0" startTime="0" endTime="0.1" visibility="false" />
<part node="0>1|6|1|0" startTime="0.1" endTime="0.3" visibility="true" />
<part node="0>1|6|2|0" startTime="0" endTime="0.1" visibility="false" />
<part node="0>1|6|2|0" startTime="0.1" endTime="0.3" visibility="true" />
<part node="0>1|6|3|0" startTime="0" endTime="0.1" visibility="false" />
<part node="0>1|6|3|0" startTime="0.1" endTime="0.3" visibility="true" />
<part node="0>1|1|4|1|0|0" startTime="0" endTime="0.1" visibility="false" />
<part node="0>1|1|4|1|0|0" startTime="0.1" endTime="0.3" visibility="true" />
</animation>
<animation name="SwetTop1">
<part node="0>1|3|10" startTime="0" endTime="0.3" startRot="0 0 0" endRot="-7 0 0" />
<part node="0>1|6|0|1" startTime="0" endTime="0.1" visibility="false" />
<part node="0>1|6|0|1" startTime="0.1" endTime="0.3" visibility="true" />
<part node="0>1|6|1|1" startTime="0" endTime="0.1" visibility="false" />
<part node="0>1|6|1|1" startTime="0.1" endTime="0.3" visibility="true" />
<part node="0>1|6|2|1" startTime="0" endTime="0.1" visibility="false" />
<part node="0>1|6|2|1" startTime="0.1" endTime="0.3" visibility="true" />
<part node="0>1|6|3|1" startTime="0" endTime="0.1" visibility="false" />
<part node="0>1|6|3|1" startTime="0.1" endTime="0.3" visibility="true" />
<part node="0>1|1|4|2|0|0" startTime="0" endTime="0.1" visibility="false" />
<part node="0>1|1|4|2|0|0" startTime="0.1" endTime="0.3" visibility="true" />
</animation>
<animation name="SwetKab">
<part node="0>1|1|2|3" startTime="0" endTime="0.3" startRot="0 0 0" endRot="-7 0 0" />
<part node="0>1|7|0|0" startTime="0" endTime="0.1" visibility="false" />
<part node="0>1|7|0|0" startTime="0.1" endTime="0.3" visibility="true" />
</animation>
</animations>

<sondersignalConfigurations title="$l10n_configuration_sondersignal">
<sondersignalConfiguration name="$l10n_configuration_keinesondersignale" price="0">
<objectChange node="0>17|0" visibilityActive="false" visibilityInactive="true"/>
<objectChange node="0>17|1" visibilityActive="false" visibilityInactive="true"/>
<objectChange node="0>17|2" visibilityActive="false" visibilityInactive="true"/>
<objectChange node="0>17|3" visibilityActive="false" visibilityInactive="true"/>
</sondersignalConfiguration>
<sondersignalConfiguration name="$l10n_configuration_rtk6" price="3000">
<objectChange node="0>17|0" visibilityActive="true" visibilityInactive="false"/>
<objectChange node="0>17|1" visibilityActive="true" visibilityInactive="false"/>
<objectChange node="0>17|2" visibilityActive="true" visibilityInactive="false"/>
<objectChange node="0>17|3" visibilityActive="false" visibilityInactive="true"/>
</sondersignalConfiguration>
<sondersignalConfiguration name="$l10n_configuration_rul" price="300">
<objectChange node="0>17|3" visibilityActive="true" visibilityInactive="false"/>
<objectChange node="0>17|0" visibilityActive="false" visibilityInactive="true"/>
<objectChange node="0>17|1" visibilityActive="false" visibilityInactive="true"/>
<objectChange node="0>17|2" visibilityActive="false" visibilityInactive="true"/>
</sondersignalConfiguration>
</sondersignalConfigurations>

<lightsConfigurations>
<lightsConfiguration name="Keine Zusatzscheinwerfer" price="0">
<objectChange node="0>1|6|4|0" visibilityActive="false" visibilityInactive="false"/>
<objectChange node="0>1|6|5|0" visibilityActive="false" visibilityInactive="false"/>
<objectChange node="0>1|6|6|0" visibilityActive="false" visibilityInactive="false"/>
<objectChange node="0>1|6|7|0" visibilityActive="false" visibilityInactive="false"/>
</lightsConfiguration>
<lightsConfiguration name="Zusatzscheinwerfer" price="1250">
<objectChange node="0>1|6|4|0" visibilityActive="true" visibilityInactive="false"/>
<objectChange node="0>1|6|5|0" visibilityActive="true" visibilityInactive="false"/>
<objectChange node="0>1|6|6|0" visibilityActive="true" visibilityInactive="false"/>
<objectChange node="0>1|6|7|0" visibilityActive="true" visibilityInactive="false"/>
</lightsConfiguration>
</lightsConfigurations>

<cylindered>
<movingTools>
<movingTool node="0>1|1|0|0">
<controls axis="AXIS_SID" invertAxis="false" />
<translation transSpeed="0.2" transAcceleration="40" transMax="0.033" transMin="-0.082" translationAxis="2" />
<animation startTrans="0" />
</movingTool>
<movingTool node="0>1|4|0">
<controls axis="ZERKALO_LEWOE" invertAxis="false" />
<rotation rotSpeed="25" rotAcceleration="25" rotMax="30" rotMin="-7" rotationAxis="2" startRot="20" />
</movingTool>
<movingTool node="0>1|4|1">
<controls axis="ZERKALO_PRAWOE" invertAxis="false" />
<rotation rotSpeed="25" rotAcceleration="25" rotMax="7" rotMin="-27" rotationAxis="2" startRot="-22" />
</movingTool>
<movingTool node="1>3|1">
<controls axis="AXIS_FRONTLOADER_ARM" invertAxis="false" />
<rotation rotSpeed="25" rotAcceleration="400" rotMax="35" rotMin="-10" startRot="0" />
<attacherJoint jointIndices="0 2" />
<dependentPart node="1>3|3" />
<dependentPart node="1>3|2" />
</movingTool>
<movingTool node="1>3|1|0|4">
<controls axis="AXIS_FRONTLOADER_ARM" invertAxis="true" />
<rotation rotSpeed="25" rotAcceleration="400" rotMax="10" rotMin="-35" startRot="0" />
<attacherJoint jointIndices="0 2" />
</movingTool>
<movingTool node="1>3|1|0|3|0">
<controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="false" />
<rotation rotSpeed="25" rotAcceleration="400" rotMax="5" rotMin="-5" rotationAxis="2" startRot="5" />
</movingTool>
<movingTool node="1>3|1|0|3|1">
<controls axis="AXIS_FRONTLOADER_TOOL" invertAxis="true" />
<rotation rotSpeed="25" rotAcceleration="400" rotMax="5" rotMin="-5" rotationAxis="2" startRot="-5" />
</movingTool>
<!-- <movingTool node="0>1|2"> -->
<!-- <dependentPart node="0>3|14|0"/> -->
<!-- <dependentPart node="0>3|14|1"/> -->
<!-- <dependentPart node="0>3|14|2"/> -->
<!-- <dependentPart node="0>3|14|3"/> -->
<!-- </movingTool> -->
</movingTools>
<movingParts>
<movingPart node="1>3|3|0|0" referencePoint="1>3|1|0|3|1|0" referenceFrame="1>3|1|0|3|1|0" isActiveDirty="true" />
<movingPart node="1>3|3|0|1" referencePoint="1>3|1|0|3|0|0" referenceFrame="1>3|1|0|3|0|0" isActiveDirty="true" />
<movingPart node="1>3|2" referencePoint="1>3|3|1" referenceFrame="1>3|3|1" isActiveDirty="true">
<translatingPart node="1>3|2|0" />
</movingPart>
<movingPart node="1>3|3" referencePoint="1>3|1|0|1" localReferencePoint="1>3|3|0" referenceFrame="1>" invertZ="true">
<dependentPart node="1>3|3|0" />
</movingPart>
<movingPart node="1>3|3|0" referencePoint="1>3|1|0|1" referenceFrame="1>" isActiveDirty="true" />



<movingPart node="0>3|14|4" referencePoint="1>9|0|0|1" referenceFrame="1>" isActiveDirty="true">
<translatingPart node="0>3|14|4|0" />
</movingPart>


<movingPart node="0>3|14|5" referencePoint="1>9|0|0|0" referenceFrame="1>" isActiveDirty="true">
<translatingPart node="0>3|14|5|0" />
</movingPart>
<movingPart node="0>0|0|1" referencePoint="0>0|1|1" referenceFrame="0>" isActiveDirty="true" />
<movingPart node="0>3|14|6" referencePoint="0>0|0|1|3" referenceFrame="0>" isActiveDirty="true" scaleZ="true">
<translatingPart node="0>3|14|6|0" />
</movingPart>
<movingPart node="0>3|14|7" referencePoint="0>0|0|1|2" referenceFrame="0>" isActiveDirty="true" scaleZ="true">
<translatingPart node="0>3|14|7|0" />
</movingPart>
<movingPart node="0>3|14|0" referencePoint="0>1|2|2" referenceFrame="0>1|2|2">
<translatingPart node="0>3|14|0|0" />
</movingPart>
<movingPart node="0>3|14|1" referencePoint="0>1|2|3" referenceFrame="0>1|2|3">
<translatingPart node="0>3|14|1|0" />
</movingPart>
<movingPart node="0>3|14|2" referencePoint="0>1|2|5" referenceFrame="0>1|2|5">
<translatingPart node="0>3|14|2|0" />
</movingPart>
<movingPart node="0>3|14|3" referencePoint="0>1|2|4" referenceFrame="0>1|2|4">
<translatingPart node="0>3|14|3|0" />
</movingPart>
<movingPart node="0>0|0|1|1|0|0|0" referencePoint="0>3|7|0|0" referenceFrame="0>3|7|0|0" isActiveDirty="true" scaleZ="true" />
<movingPart node="0>3|8|0|0" referencePoint="1>2|1|0|0" referenceFrame="1>2|1|0|0" isActiveDirty="true" />
<movingPart node="1>2|3" referencePoint="1>2|4|0|0" referenceFrame="1>2|4|0|0" isActiveDirty="true" />
<movingPart node="0>3|26|0" referencePoint="0>1|1|1|0|4" referenceFrame="0>1|1|1|0|4" isActiveDirty="true">
<translatingPart node="0>3|26|0|0" />
</movingPart>
</movingParts>

<sounds>
<hydraulic template="DEFAULT_HYDRAULIC_SOUND" linkNode="0>" />
</sounds>
</cylindered>

<dashboard>
<groups>
<group name="MOTOR_STARTING" isMotorStarting="true"/>
<group name="MOTOR_ACTIVE" isMotorStarting="true" isMotorRunning="true"/>
<group name="FRONT_ATTACHMENT" attacherJointIndices="2 5"/>
<group name="BACK_ATTACHMENT" attacherJointIndices="1 3 4"/>
</groups>
</dashboard>

<fillUnit>
<fillUnitConfigurations>
<fillUnitConfiguration>
<fillUnits>
<fillUnit unit="$l10n_unit_literShort" showOnHud="false" showInShop="false" fillTypes="diesel" capacity="800">
<dashboard displayType="ANIMATION" valueType="fillLevel" animName="fuelDisplay" groups="MOTOR_ACTIVE"/>
</fillUnit>
<fillUnit capacity="198" unit="$l10n_unit_literShort" fillTypes="def" showOnHud="false" showInShop="false" />
<fillUnit capacity="4000" unit="$l10n_unit_literShort" fillTypes="air" showOnHud="false" showInShop="false" />
</fillUnits>
</fillUnitConfiguration>
</fillUnitConfigurations>
</fillUnit>
<washable dirtDuration="50" washDuration="1" workMultiplier="4" />

<ai>
<collisionTrigger node="0>6|0" />
<minTurningRadius value="6" />
</ai>

<honk>
<sound template="HONK_FENDT511C" linkNode="0>" />
</honk>

<foliageBending>
<bendingNode minX="-1.45" maxX="1.45" minZ="-0.5" maxZ="2.4" yOffset="0.8" />
<bendingNode minX="-1.45" maxX="1.45" minZ="-3.6" maxZ="-1.25 " yOffset="0.8" node="1>" />
<bendingNode minX="-0.9" maxX="0.9" minZ="-1.4" maxZ="4.1" yOffset="0.8" />
</foliageBending>

</vehicle>
HolzrollerBR142
Posts: 5
Joined: Fri Apr 02, 2021 3:23 pm

Re: Script-Probleme im Traktor

Post by HolzrollerBR142 »

Problem hat sich gelöst.......

<vehicleTypeConfiguration name="Стандарт" price="0" vehicleType="tractor" />
Ich hab da vergessen, die vehicleTypes umzuändern :confusednew: :lol:
Post Reply