Script: Dooropener

bbgnt
Posts: 40
Joined: Sat Sep 29, 2012 4:13 pm

Script: Dooropener

Post by bbgnt »

Hi zusammen

Diesmal habe ich ein problem mit dem "dooropener -Script", welches dem Spieler ermöglicht die Türen von aussen zu öffnen ( ihr kennt dass vielleicht vom Fendt 936 von surrealclash (falls ich mich nicht täusche) ).
Ich habe dies bei einem anderen Traktor probiert und war erfolgreich, bis auf ein kleines Detail; Anstatt das sich die Tür öffnet, öffnet sich das Heckfenster :D Weiss jemand was ich falsch gemacht habe?

Danke schon im Voraus für die Antworten

Mfg bbgnt
User avatar
böserlöwe
GIANTS Software | Support Engineer
Posts: 10817
Joined: Thu Oct 01, 2009 10:09 pm
Location: Kreis Schaumburg
Contact:

Re: Script: Dooropener

Post by böserlöwe »

Da hast du dich wohl im Index verzählt.
Entweder in der id3 oder in der xml passt da was nicht zusammen.
Beides nochmal gründlich checken.
bbgnt
Posts: 40
Joined: Sat Sep 29, 2012 4:13 pm

Re: Script: Dooropener

Post by bbgnt »

Hi, danke schon mal für die Antwort.
Das habe ich vorerst auch gedacht, man arbeitet jedoch nur mit der Traktor xml
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<vehicle type="JohnDeere">
<annotation>Sotillo&MiguelFontanar1</annotation>
<name>
<en>John Deere 7710</en>
<de>John Deere 7710</de>
</name>
<description></description>
<filename>JohnDeere.i3d</filename>

<!-- Wheels -->
<wheels autoRotateBackSpeed="2.7">
<wheel rotSpeed="55" rotMax="30" rotMin="-30" driveMode="2" repr="2>1" driveNode="2>1|1|1" spring="40" radius="0.685" mass="0.3" longitudalStiffness="0.8" lateralStiffness="2.2" />
<wheel rotSpeed="55" rotMax="30" rotMin="-30" driveMode="2" repr="3>1" driveNode="3>1|1|1" spring="40" radius="0.685" mass="0.3" longitudalStiffness="0.8" lateralStiffness="2.2" />
<wheel rotSpeed="0" driveMode="1" repr="4>1" spring="40" radius="0.92" mass="0.4" longitudalStiffness="1" lateralStiffness="1.8" />
<wheel rotSpeed="0" driveMode="1" repr="5>1" spring="40" radius="0.92" mass="0.4" longitudalStiffness="1" lateralStiffness="1.8" />
</wheels>
<!-- Wheels -->

<!-- RadsturzV2 -->
<Radsturz multiplicator="30" linksRechtsDifferenz="1">
<Rechts index="2>1|1" />
<Links index="3>1|1" />
</Radsturz>
<!-- RadsturzV2 -->

<!-- Engine -->
<motor minRpm="100" maxRpm="760 1200 2350 483" maxTorques="-1 -1 -1 -1" brakeForce="5" lowBrakeForceScale="0.5" compensateWheelRadius="true" accelerations="1 1 1 1" lowBrakeForceSpeedLimit="5" forwardGearRatio="13.6" backwardGearRatio="17" differentialRatio="1" rpmFadeOutRange="50">
<torque rpm="2350" torque="0.76"/>
<backwardTorque rpm="100" torque="1"/>
<backwardTorque rpm="600" torque="0.4"/>
<backwardTorque rpm="720" torque="0"/>
</motor>

<accelerationSpeed maxAcceleration="0.2" deceleration="0.35" backwardDeceleration="0.7" />

<fuelCapacity>270</fuelCapacity>
<fuelUsage>0.0021</fuelUsage>
<downForce>11</downForce>
<!-- Engine -->

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

<!-- Lighting -->
<lights>
<light realLight="0>16|0" fakeLight="0>18|0" decoration="0>17|0" lightType="0"/>
</lights>

<beaconLights stayOn="true">
<beaconLight index="0>19|0|1" speed="0.016" />
</beaconLights>

<lightsaddon lightsStayOn="true" blinkSpeed="0.5">
<light type="work" index="0>17|1" real="0>16|1" beam="0>18|1" inputName="frontwork" helptext="frontwork" stayOn="true"/>
<light type="work" index="0>17|2" real="0>16|2" beam="0>18|2" inputName="rearwork" helptext="rearwork" stayOn="true"/>
<light type="dirLeft" index="0>21"/>
<light type="dirRight" index="0>22"/>
<light type="brake" index="0>28" />
<flashers soundfile="Sounds/blinktick.wav" lowPitch="0.6" highPitch="0.8" volume="0.675"/>
</lightsaddon>
<!-- Lighting -->

<!-- Sounds -->
<motorStartDuration>4000</motorStartDuration>
<motorStartSound file="sounds/start_JD7810.wav" pitchOffset="1" volume="0.7" />
<motorSound file="sounds/idle_JD7810.wav" pitchOffset="1" pitchScale="0.03" pitchMax="4" volume="0.7" radius="50" innerRadius="20" />
<motorSoundRun file="sounds/run_JD7810.wav" pitchOffset="0.3" pitchScale="0.015" pitchMax="1.3" volume="2" />
<motorStopSound file="$data/vehicles/steerable/deutz/agrotron_x_out.wav" pitchOffset="1" volume="0.7" />

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

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

<indoorSounds camIndex="2" >
<sound id="attachSound" percent="0.4" />
<sound id="motorSound" percent="0.4" volume="0.3" />
<sound id="motorStartSound" percent="0.4" volume="0.6" />
<sound id="motorStopSound" percent="0.4" />
<sound id="motorSoundRun" percent="0.4" volume="0.3" />
<sound id="compressionSound" percent="0.4" />
</indoorSounds>
<!-- Sounds -->

<!-- AttacherJoints -->
<attacherJoints>
<attacherJoint index="9|0|0" rotationNode="9" maxRot="-14 0 0" rotationNode2="9|0" maxRot2="9 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="-15 0 0" maxTransLimit="0 0.4 0" maxRotLimit="0 0 20" moveTime="1.5" shaft="25|11">
<bottomArm rotationNode="13" translationNode="13|0" referenceNode="13|0|0" zScale="1" />
<topArm rotationNode="14" translationNode="14|0" referenceNode="14|0|0" zScale="1" />
</attacherJoint>
<attacherJoint index="0>25|3" 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 80 80" allowsLowering="false" allowsJointLimitMovement="false" ptoOutputNode="0>25|10" ptoFilename="$data/vehicles/steerable/powerTakeoff.i3d" />
</attacherJoints>
<!-- AttacherJoints -->

<!-- Ploughspec -->
<frontRightWheel wheelIndex="1" componentJointIndex="2" furrowDepth="0.20" fallSpeed="0.4" tireWidth="0.35" />
<frontLeftWheel wheelIndex="2" componentJointIndex="3" furrowDepth="0.20" fallSpeed="0.4" tireWidth="0.35" />
<backRightWheel wheelIndex="3" componentJointIndex="4" furrowDepth="0.24" fallSpeed="0.4" tireWidth="0.4" />
<backLeftWheel wheelIndex="4" componentJointIndex="5" furrowDepth="0.24" fallSpeed="0.4" tireWidth="0.4" />
<!-- Ploughspec -->

<!-- ExhaustPS -->
<exhaustParticleSystems count="1">
<exhaustParticleSystem1 node="24" position="0 0 0" rotation="0 0 0" file="Scripts/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>
<!-- ExhaustPS -->

<!-- Digi display -->
<speedDisplayEntries>
<displayEntry displayEntry="comma_first" control_0="0>30|0|0|0" control_1="0>30|0|0|1" control_2="0>30|0|0|2" control_3="0>30|0|0|3" control_4="0>30|0|0|4" control_5="0>30|0|0|5" control_6="0>30|0|0|6" control_7="0>30|0|0|7" control_8="0>30|0|0|8" control_9="0>30|0|0|9" />
<displayEntry displayEntry="first" control_0="0>30|0|2|0" control_1="0>30|0|2|1" control_2="0>30|0|2|2" control_3="0>30|0|2|3" control_4="0>30|0|2|4" control_5="0>30|0|2|5" control_6="0>30|0|2|6" control_7="0>30|0|2|7" control_8="0>30|0|2|8" control_9="0>30|0|2|9" />
<displayEntry displayEntry="second" control_0="0>30|0|3|0" control_1="0>30|0|3|1" control_2="0>30|0|3|2" control_3="0>30|0|3|3" control_4="0>30|0|3|4" control_5="0>30|0|3|5" control_6="0>30|0|3|6" control_7="0>30|0|3|7" control_8="0>30|0|3|8" control_9="0>30|0|3|9" />
</speedDisplayEntries>
<RPMDisplayEntries>
<displayEntry displayEntry="first" control_0="0>30|1|0|0" control_1="0>30|1|0|1" control_2="0>30|1|0|2" control_3="0>30|1|0|3" control_4="0>30|1|0|4" control_5="0>30|1|0|5" control_6="0>30|1|0|6" control_7="0>30|1|0|7" control_8="0>30|1|0|8" control_9="0>30|1|0|9" />
<displayEntry displayEntry="second" control_0="0>30|1|1|0" control_1="0>30|1|1|1" control_2="0>30|1|1|2" control_3="0>30|1|1|3" control_4="0>30|1|1|4" control_5="0>30|1|1|5" control_6="0>30|1|1|6" control_7="0>30|1|1|7" control_8="0>30|1|1|8" control_9="0>30|1|1|9" />
<displayEntry displayEntry="third" control_0="0>30|1|2|0" control_1="0>30|1|2|1" control_2="0>30|1|2|2" control_3="0>30|1|2|3" control_4="0>30|1|2|4" control_5="0>30|1|2|5" control_6="0>30|1|2|6" control_7="0>30|1|2|7" control_8="0>30|1|2|8" control_9="0>30|1|2|9" />
<displayEntry displayEntry="fourth" control_0="0>30|1|3|0" control_1="0>30|1|3|1" control_2="0>30|1|3|2" control_3="0>30|1|3|3" control_4="0>30|1|3|4" control_5="0>30|1|3|5" control_6="0>30|1|3|6" control_7="0>30|1|3|7" control_8="0>30|1|3|8" control_9="0>30|1|3|9" />
</RPMDisplayEntries>
<!-- Digi display -->

<!-- Interactive and animations -->
<interactiveComponents>
<windows>
<window name="backWindow" mark="0>25|2|12|1" size="0.1" animName="backWindow" onMessage="ic_component_open" offMessage="ic_component_close"/>
<window name="rightDoor" mark="0>25|12|1" size="0.1" animName="rightDoor" onMessage="ic_component_open" offMessage="ic_component_close"/>
<window name="leftDoor" mark="0>25|13|1" size="0.1" animName="leftDoor" onMessage="ic_component_open" offMessage="ic_component_close"/>
<window name="engineCoverTop" mark="0>31|0" size="0.1" animName="engineCoverTop" onMessage="ic_component_open" offMessage="ic_component_close"/>
<window name="engineCoverRight" mark="0>31|2" size="0.1" animName="engineCoverRight" onMessage="ic_component_open" offMessage="ic_component_close"/>
<window name="engineCoverLeft" mark="0>31|1" size="0.1" animName="engineCoverLeft" onMessage="ic_component_open" offMessage="ic_component_close"/>
<window name="rightWindow" mark="0>25|14|1" size="0.1" animName="rightWindow" onMessage="ic_component_open" offMessage="ic_component_close"/>
<window name="leftWindow" mark="0>25|15|1" size="0.1" animName="leftWindow" onMessage="ic_component_open" offMessage="ic_component_close"/>
<window name="FrontArms" mark="0>31|3" size="0.1" animName="FrontArms" onMessage="ic_component_open" offMessage="ic_component_close"/>
</windows>
</interactiveComponents>

<animations>
<animation name="backWindow">
<part node="0>25|2|12" startTime="0" duration="1.2" startRot="0 0 0" endRot="65 0 0"/>
</animation>
<animation name="rightDoor">
<part node="0>25|12" startTime="0" duration="1" startRot="0 0 0" endRot="-30.22541 -71.74712 21.10129"/>
</animation>
<animation name="leftDoor">
<part node="0>25|13" startTime="0" duration="1" startRot="0 0 0" endRot="-30.22541 71.74712 -21.10129"/>
</animation>
<animation name="engineCoverTop">
<part node="0>25|2|14|0" startTime="0" duration="3" startRot="0 0 0" endRot="-40 0 0"/>
</animation>
<animation name="engineCoverRight">
<part node="0>25|2|14|2" startTime="0" duration="0.1" startTrans="0 0 0" endTrans="0 -0.22 0" startRot="0 0 0" endRot="140 0 -90"/>
</animation>
<animation name="engineCoverLeft">
<part node="0>25|2|14|1" startTime="0" duration="0.1" startTrans="0 0 0" endTrans="0 -0.22 0" startRot="0 0 0" endRot="150 0 90"/>
</animation>
<animation name="wiper">
<!-- front wiper -->
<part node="0>25|2|10|7" startTime="0" endTime="1" startRot="0 0 0" endRot="-8.5 0 -22.5"/>
<part node="0>25|2|10|7" startTime="1" endTime="2" startRot="-8.5 0 -22.5" endRot="-11.5 0 -45"/>
<part node="0>25|2|10|7" startTime="2" endTime="3" startRot="-11.5 0 -45" endRot="-8.5 0 -67.5"/>
<part node="0>25|2|10|7" startTime="3" endTime="4" startRot="-8.5 0 -67.5" endRot="0 0 -90"/>
<part node="0>25|2|10|7" startTime="4" endTime="5" startRot="0 0 -90" endRot="-8.5 0 -67.5"/>
<part node="0>25|2|10|7" startTime="5" endTime="6" startRot="-8.5 0 -67.5" endRot="-11.5 0 -45"/>
<part node="0>25|2|10|7" startTime="6" endTime="7" startRot="-11.5 0 -45" endRot="-8.5 0 -22.5"/>
<part node="0>25|2|10|7" startTime="7" endTime="8" startRot="-8.5 0 -22.5" endRot="0 0 0"/>
</animation>
<animation name="rightWindow">
<part node="0>25|14" startTime="0" duration="1" startRot="0 0 0" endRot="-2 -10 -3"/>
</animation>
<animation name="leftWindow">
<part node="0>25|15" startTime="0" duration="1" startRot="0 0 0" endRot="-2 10 2"/>
</animation>
<animation name="FrontArms">
<part node="0>13|0|2" startTime="0" duration="1" startRot="0 0 0" endRot="-90 0 0"/>
</animation>
</animations>
<!-- Interactive and animations -->

<!-- ZylinderV2 -->
<ZylinderV2>
<Rotations count="2">
<Rotation1 index="1>7" ref="3>1|1|1" addDegrees="0" rotAxis="x" getRotAxis="x" lengthMultiplicator="-3" />
<Rotation2 index="1>8" ref="3>1|1|1" addDegrees="0" rotAxis="x" getRotAxis="x" lengthMultiplicator="-3" />
</Rotations>
<Directions count="1">
<Direction1 index="3>1|3|0" ref="2>1|3" doScaleBool="true" scaleRef="3>1|3|0|0" /> <!-- Spurstange -->
</Directions>
<Zylinder count="1" >
<Zylinder1 dir1="0>13|0|1|0" dir2="0>27|0" />
</Zylinder>
</ZylinderV2>
<!-- ZylinderV2 -->

<!-- Hydraulic animations -->
<hydraulicAnimation>
<backArm index="0>23|5" getRotRef="10" />
<streben index="0>23|5|2" refPoint="0>10|0|1" doScaleBool="true" scaleRefPoint="0>23|5|2|0" />
<zylinder index="0>23|6" stempelIndex="0>23|5|3|0" />
</hydraulicAnimation>
<!-- Hydraulic animations -->

<!-- Components and all -->
<components count="6">
<component1 centerOfMass="0.00 0.00 -1.6975" solverIterationCount="190" />
<component2 centerOfMass="0 -1 0" solverIterationCount="190" />
<component3 centerOfMass="0 -0.8 0" solverIterationCount="190" />
<component4 centerOfMass="0 -0.8 0" solverIterationCount="190" />
<component5 centerOfMass="0 -0.8 0" solverIterationCount="190" />
<component6 centerOfMass="0 -0.8 0" solverIterationCount="190" />

<joint component1="0" component2="1" index="1>0" rotLimit="0 0 10" transLimit="0 0 0" breakable="false"/>
<joint component1="1" component2="2" index="2>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
<joint component1="1" component2="3" index="3>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
<joint component1="0" component2="4" index="4>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>
<joint component1="0" component2="5" index="5>0" rotLimit="0 0 0" transLimit="0 0 0" breakable="false"/>

<collisionPair component1="0" component2="1" enabled="false"/>
<collisionPair component1="1" component2="2" enabled="false"/>
<collisionPair component1="1" component2="3" enabled="false"/>
<collisionPair component1="1" component2="4" enabled="false"/>
<collisionPair component1="1" component2="5" enabled="false"/>
<collisionPair component1="0" component2="2" enabled="false"/>
<collisionPair component1="0" component2="3" enabled="false"/>
<collisionPair component1="0" component2="4" enabled="false"/>
<collisionPair component1="0" component2="5" enabled="false"/>
</components>
<!-- Components and all -->

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

<!-- steering -->
<movingParts>
<movingPart index="1>3|1" referencePoint="2>1|2" referenceFrame="1>" isActiveDirty="true" playSound="false" scaleZ="true">
</movingPart>
<movingPart index="1>3|0" referencePoint="3>1|2" referenceFrame="1>" isActiveDirty="true" playSound="false" scaleZ="true">
</movingPart>
</movingParts>
<!-- steering -->

<controlPanels count="2" >
<controlPanel1 index="0>32|0" />
<controlPanel2 index="0>32|1" />
</controlPanels>

<wiper animName="wiper" speed="3.0" />
<fender leftIndex="3>1|0" rightIndex="2>1|0" leftRotMax="30" rightRotMax="-30"/>
<tipCamera index="0>1|0"/>
<size width="3.8" length="13" lengthOffset="-0.2"/>
<exitPoint index="7" />
<steering index="0>15|0|0" rotationSpeed="6"/>
<enterReferenceNode index="0>" />

<increaseRpmDuringPloughing value="true" />

<characterNode index="25|5|0" cameraMinDistance="0.9" />
<aiTrafficCollisionTrigger index="20" />
<doorOpener trigger="0>33" icIndex="1" />

</vehicle>
und der Moddesc
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="9">
<author>Sotillo&MiguelFontanar1</author>
<version>1.0</version>
<title>
<en>John Deere 7810</en>
<de>John Deere 7810</de>
</title>
<description>
<en>John Deere tractor</en>
<de>John Deere tractor</de>
</description>
<iconFilename>store_7810.dds</iconFilename>
<multiplayer supported="true"/>

<l10n>
<!-- BELEUCTHUNG V3.1-->
<text name="BEL3LEFT">
<de>Blinker links</de>
<en>Left turnlights</en>
</text>
<text name="BEL3RIGHT">
<de>Blinker rechts</de>
<en>Right turnlights</en>
</text>
<text name="BEL3WARN">
<de>Warnblinker</de>
<en>Hazard lights</en>
</text>
<text name="frontwork">
<de>ArbeitslichtV</de>
<en>Worklight front</en>
</text>
<text name="rearwork">
<de>ArbeitslichtH</de>
<en>Worklight rear</en>
</text>

<!-- DOOROPENER -->
<text name="SET_DOOROPENER">
<en>Open/Close door</en>
<de>Tür öffnen/schließen</de>

</text>

<!-- INTERACTIVE CONTROL -->
<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>
<text name="engineCoverTop">
<en>Top engine cover</en>
<de>Top Motorabdeckung</de>
</text>
<text name="engineCoverRight">
<en>Right engine cover</en>
<de>Rechte Motorabdeckung</de>
</text>
<text name="engineCoverLeft">
<en>Left engine cover</en>
<de>Linke Motorabdeckung</de>
</text>
<text name="FrontArms">
<en>Front Arms</en>
<de>Front Arms</de>
</text>
<text name="leftWindow">
<en>Left window</en>
<de>Linke Fenster</de>
</text>
<text name="rightWindow">
<en>Right window</en>
<de>Rechte Fenster</de>
</text>
</l10n>

<inputBindings>
<!-- BELEUCTHUNG V3.1-->
<input name="BEL3LEFT" key1="KEY_KP_1" button="" />
<input name="BEL3WARN" key1="KEY_KP_2" button="" />
<input name="BEL3RIGHT" key1="KEY_KP_3" button="" />
<input name="frontwork" key1="KEY_KP_5" button="" />
<input name="rearwork" key1="KEY_KP_6" button="" />
<!-- INTERACTIVE CONTROL -->
<input name="INTERACTIVE_CONTROL_SWITCH" category="VEHICLE" key1="KEY_space" key2="" button="" device="0" mouse="" />
<!-- DOOROPENER -->
<input name="SET_DOOROPENER" category="onfoot" key1="KEY_r" key2="" button="" device="0" mouse="" />

</inputBindings>

<specializations>
<specialization name="beleuchtung31" className="BEL3" filename="Scripts/beleuchtungV31.lua"/>
<specialization name="interactiveControl" className="InteractiveControl" filename="Scripts/InteractiveControl.lua" />
<specialization name="interactiveWindows" className="InteractiveWindows" filename="Scripts/InteractiveWindows.lua" />
<specialization name="PloughingSpec" className="PloughingSpec" filename="Scripts/PloughingSpec.lua"/>
<specialization name="RadsturzV2" className="RadsturzV2" filename="Scripts/RadsturzV2.lua" />
<specialization name="hydraulicAnimations" className="hydraulicAnimations" filename="Scripts/hydraulicAnimations.lua" />
<specialization name="zylinderV2" className="zylinderV2" filename="Scripts/zylinderV2.lua" />
<specialization name="indoorSound" className="IndoorSound" filename="Scripts/IndoorSound.lua" />
<specialization name="dynamicExhaustingSystem" className="DynamicExhaustingSystem" filename="Scripts/DynamicExhaustingSystem.lua" />
<specialization name="DigitalDisplayControl" className="DigitalDisplayControl" filename="Scripts/DigitalDisplayControl.lua" />
<specialization name="wipers" className="Wipers" filename="Scripts/Wipers.lua" />
<specialization name="controlPanelAttacher" className="ControlPanelAttacher" filename="Scripts/ControlPanelAttacher.lua" />
<specialization name="doorOpener" className="DoorOpener" filename="scripts/DoorOpener.lua" />
</specializations>

<vehicleTypes>
<type name="JohnDeere" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="motorized" />
<specialization name="steerable" />
<specialization name="cylindered" />
<specialization name="hirable" />
<specialization name="aiTractor" />
<specialization name="animatedVehicle" />
<specialization name="honk" />
<specialization name="indoorSound" />
<specialization name="PloughingSpec" />
<specialization name="beleuchtung31" />
<specialization name="bunkerSiloCompacter" />
<specialization name="interactiveControl" />
<specialization name="interactiveWindows" />
<specialization name="RadsturzV2" />
<specialization name="hydraulicAnimations" />
<specialization name="zylinderV2" />
<specialization name="dynamicExhaustingSystem" />
<specialization name="DigitalDisplayControl" />
<specialization name="wipers" />
<specialization name="controlPanelAttacher" />
<specialization name="doorOpener" />
</type>
</vehicleTypes>
<storeItems>
<storeItem>
<en>
<name>John Deere 7810</name>
<description>
<![CDATA[The John Deere 7710 is a model of the 7010er series. It was produced until 2003. John Deere PowerTech turbocharged aftercooled diesel 6-cylinder liquid-cooled engine.]]>
</description>
<specs>
<![CDATA[
Capacity (L): 8.1
Power: 160cv@2100rpm
Maintenance: %s / Tag]]>
</specs>
</en>
<de>
<name>John Deere 7810</name>
<description>
<![CDATA[Der John Deere 7710 ist ein Modell der 7010er Serie. Es wurde bis 2003 produziert. John Deere PowerTech-Turbo-Ladeluftkühler Diesel 6-Zylinder-Motor mit Flüssigkeitskühlung.]]>
</description>
<specs>
<![CDATA[
Capacity (L): 8.1
Motorleistung: 160PS@2100rpm
Unterhaltskosten: %s / Tag]]>
</specs>
</de>
<rotation>0</rotation>
<image active="store_7810.dds" brand="brand_jd.png"/>
<price>72580</price>
<dailyUpkeep>63</dailyUpkeep>
<xmlFilename>JohnDeere.xml</xmlFilename>
<brand>John Deere</brand>
<machineType>tractors</machineType>
</storeItem>
</storeItems>
</modDesc>

Nur in der Traktor xml verzeichnet man einen index und zwar der des Triggers (0>33) : http://abload.de/img/jd1efpdjk.png

Hoffe meine frage wurde richtig verstanden

mfg bbgnt
Post Reply