Antwort schreiben

Problem mit Abkippseite

Sonntag 25. Februar 2018, 20:59

Ich brauche mal wieder einen Denkanstoss! Ich bin dabei mir den Fliegl Greenline/Agravis Trailer für mich herzurichten.
Das Problem was der Trailer hat ist das man die Abkippseite wechseln kann obwohl in der XML nur eine tipAnimationBack vorhanden ist. Drückt man die Taste U fürs wechseln der Abkippseite hauts Fehler in die Log!
Jetzt wäre meine Frage wo kann ich die Auswahl der Abkippseite ausschalten, sodass er nur noch nach hinten kippt wie er soll?
Ich hab mal moddesc und XML angehängt:
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<modDesc descVersion="38">
    <author>LS15 Der Bachl,MR.Deez/ LS17 david,STv-Modding/Meerstonk</author>
    <version>2.1.0.0</version>
    <title>
        <en>Agrarvis Trailer</en>
        <de>Agrarvis Trailer</de>
    </title>
    <description>
        <en>This is the Menci Trailer tipper with 49m³ fillvolume.</en>
        <de>Dies ist die Menci Trailer Mulde mit 49m³ Füllvolumen.</de>
    </description>
    <iconFilename>store.png</iconFilename>
    <multiplayer supported="true"/>
   
   <specializations>
      <specialization name="dynamicHose"    className="DynamicHose"     filename="scripts/DynamicHose.lua"/>
        <specialization name="numberPlates"   className="numberPlates"      filename="scripts/numberPlates.lua"/>      
   </specializations>
   
   <vehicleTypes>
      <type name="Menci" className="Vehicle" filename="$dataS/scripts/vehicles/Vehicle.lua">
        <specialization name="attacherJoints" />
          <specialization name="lights" />
          <specialization name="attachable" />
          <specialization name="animatedVehicle" />
          <specialization name="cylindered" />
          <specialization name="fillable" />
          <specialization name="fillVolume" />
          <specialization name="trailer" />
          <specialization name="cover" />
          <specialization name="washable" />
          <specialization name="mountable" />
        <specialization name="dynamicHose" />
        <specialization name="numberPlates"/>
      </type>
    </vehicleTypes>
   
   <storeItems>
       <storeItem rootNode="vehicle" xmlFilename="MenciTrailer.xml"/>
   </storeItems>
   
   <brands>
        <brand name="MENCI" title="Menci" image="brand.png"/>
    </brands>
   
    <inputBindings>
      <input name="vehicleLicense" category="VEHICLE"  key1="KEY_lctrl KEY_y" button="" />
   </inputBindings>
   
   <l10n>
       <text name="MichelinXFA2">
            <en>Michelin XFA2</en>
            <de>Michelin XFA2</de>
         <it>Michelin XFA2</it>
        </text>
      <text name="AllianceFloat">
            <en>Alliance Flotation</en>
            <de>Alliance Flotation</de>
         <it>Alliance Flotation</it>
        </text>
      <text name="input_vehicleLicense">   <de><![CDATA[%s zulassen]]></de>   <en><![CDATA[register %s]]></en>   </text>
      <text name="Char142">            <de><![CDATA[Ä]]></de>            <en><![CDATA[A]]></en>            </text>
      <text name="Char153">            <de><![CDATA[Ö]]></de>            <en><![CDATA[O]]></en>            </text>
      <text name="Char154">            <de><![CDATA[Ü]]></de>            <en><![CDATA[U]]></en>            </text>
      <text name="npNorm">            <de><![CDATA[Typ wählen:]]></de>   <en><![CDATA[Choose type:]]></en>   </text>
      <text name="npCountry">            <de><![CDATA[Land wählen:]]></de>   <en><![CDATA[Choose country:]]></en></text>
      <text name="npGerman">            <de><![CDATA[Deutschland]]></de>   <en><![CDATA[Germany]]></en>      </text>
      <text name="npAustria">            <de><![CDATA[Österreich]]></de>      <en><![CDATA[Austria]]></en>      </text>
      <text name="npDIN">               <de><![CDATA[DIN]]></de>         <en><![CDATA[DIN]]></en>         </text>
      <text name="npEURO">            <de><![CDATA[EURO]]></de>         <en><![CDATA[EURO]]></en>         </text>
      <text name="vehicleLicenseAllreadyTaken"><de><![CDATA[Dieses Kennzeichen wird bereits für
%s
verwendet, bitte ein anderes wählen.]]></de><en><![CDATA[This license plate already used for
%s
please choose another one.]]></en></text>
   </l10n>
   
</modDesc>

Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="Menci">
    <annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
   
   <storeData>
        <name>Rimorchio</name>
        <functions>
            <function>$l10n_function_tipper</function>
        </functions>
      <specs>
            <combination>Dolly EA</combination>
        </specs>
        <image>store.dds</image>
        <price>54800</price>
        <dailyUpkeep>85</dailyUpkeep>
        <lifetime>600</lifetime>
        <rotation>180</rotation>
        <brand>MENCI</brand>
        <category>tippers</category>
        <vertexBufferMemoryUsage>502160</vertexBufferMemoryUsage>
        <indexBufferMemoryUsage>75882</indexBufferMemoryUsage>
        <textureMemoryUsage>9787128</textureMemoryUsage>
        <instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
        <instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
   </storeData>
   
   <typeDesc>$l10n_typeDesc_tipper</typeDesc>
    <filename>body_vis.i3d</filename>
    <size width="3" length="12"/>
   
   <wheelConfigurations>
        <wheelConfiguration name="$l10n_MichelinXFA2" price="0">
            <wheels>
                <wheel tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>18|0" driveNode="0>18|0|0" forcePointRatio="0.2" filename="wheels/MichelinXFA2.xml"  isLeft="true"  initialCompression="10" suspTravel="0.25" spring="32" damper="70"  />
                <wheel tipOcclusionAreaGroupId="2" restLoad="1.3" repr="0>18|1" driveNode="0>18|1|0" forcePointRatio="0.2" filename="wheels/MichelinXFA2.xml"  isLeft="false" initialCompression="10" suspTravel="0.25" spring="32" damper="70" />
                <wheel tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>0"                      forcePointRatio="0.2" filename="wheels/MichelinXFA2.xml"  isLeft="true"  initialCompression="15" suspTravel="0.25" spring="50" damper="85" />
                <wheel tipOcclusionAreaGroupId="2" restLoad="1.3" repr="0>1"                         forcePointRatio="0.2" filename="wheels/MichelinXFA2.xml"  isLeft="false" initialCompression="15" suspTravel="0.25" spring="50" damper="85" />
                <wheel tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>6|0"  driveNode="0>6|0|0"  forcePointRatio="0.3" filename="wheels/MichelinXFA2.xml"  isLeft="true"  initialCompression="20" suspTravel="0.25" spring="32" damper="75"  hasTireTracks="true" hasParticles="true" steeringAxleScale="-0.7" steeringAxleRotMax="22" steeringAxleRotMin="-22"/>
                <wheel tipOcclusionAreaGroupId="2" restLoad="1.3" repr="0>6|1"  driveNode="0>6|1|0"  forcePointRatio="0.3" filename="wheels/MichelinXFA2.xml"  isLeft="false" initialCompression="20" suspTravel="0.25" spring="32" damper="75"  hasTireTracks="true" hasParticles="true" steeringAxleScale="-0.7" steeringAxleRotMax="22" steeringAxleRotMin="-22"/>
            </wheels>
        </wheelConfiguration>
      <wheelConfiguration name="$l10n_AllianceFloat" price="2000">
            <wheels>
                <wheel tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>18|0" driveNode="0>18|0|0" forcePointRatio="0.2" filename="wheels/AllianceFloat.xml"  isLeft="true"  initialCompression="10" suspTravel="0.25" spring="32" damper="70"  />
                <wheel tipOcclusionAreaGroupId="2" restLoad="1.3" repr="0>18|1" driveNode="0>18|1|0" forcePointRatio="0.2" filename="wheels/AllianceFloat.xml"  isLeft="false" initialCompression="10" suspTravel="0.25" spring="32" damper="70" />
                <wheel tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>0"                      forcePointRatio="0.2" filename="wheels/AllianceFloat.xml"  isLeft="true"  initialCompression="15" suspTravel="0.25" spring="50" damper="85" />
                <wheel tipOcclusionAreaGroupId="2" restLoad="1.3" repr="0>1"                         forcePointRatio="0.2" filename="wheels/AllianceFloat.xml"  isLeft="false" initialCompression="15" suspTravel="0.25" spring="50" damper="85" />
                <wheel tipOcclusionAreaGroupId="1" restLoad="1.3" repr="0>6|0"  driveNode="0>6|0|0"  forcePointRatio="0.3" filename="wheels/AllianceFloat.xml"  isLeft="true"  initialCompression="20" suspTravel="0.25" spring="32" damper="75" hasTireTracks="true" hasParticles="true" steeringAxleScale="-0.7" steeringAxleRotMax="22" steeringAxleRotMin="-22"/>
                <wheel tipOcclusionAreaGroupId="2" restLoad="1.3" repr="0>6|1"  driveNode="0>6|1|0"  forcePointRatio="0.3" filename="wheels/AllianceFloat.xml"  isLeft="false" initialCompression="20" suspTravel="0.25" spring="32" damper="75" hasTireTracks="true" hasParticles="true" steeringAxleScale="-0.7" steeringAxleRotMax="22" steeringAxleRotMin="-22"/>
            </wheels>
        </wheelConfiguration>
    </wheelConfigurations>
   
   <axisColor>0.6388 0.0103 0.0103 1</axisColor>
   
   <!-- <rimColorConfigurations useDefaultColors="true" defaultColorIndex="1" price="500" icon="$dataS2/menu/hud/configurations/config_rimColor.png">
        <colorNode node="0>0" />
    </rimColorConfigurations> -->
   
   <steeringAxleAngleScale startSpeed="5" endSpeed="20" />
    <brakeForce>5</brakeForce>
    <maximalAirConsumptionPerFullStop value="0.5" />
   
   <lights>
        <low>
            <light realLight="0>15|0|1" decoration="0>15|0|0" lightTypes="0 3"/>
        </low>
        <high>
            <light realLight="0>15|0|1" decoration="0>15|0|0" lightTypes="0 3"/>
        </high>
    </lights>
    <brakeLights>
        <brakeLight realLight="0>15|2|1" decoration="0>15|2|0" />
    </brakeLights>

    <turnLights>
        <turnLightLeft realLight="0>15|1|0|1" decoration="0>15|1|0|0" />
        <turnLightRight realLight="0>15|1|1|1" decoration="0>15|1|1|0" />
    </turnLights>

    <reverseLights>
        <reverseLight realLight="0>15|3|1" decoration="0>15|3|0" />
    </reverseLights>
   
   <fillUnits>
        <fillUnit unit="$l10n_unit_literShort" fillTypeCategories="bulk" capacity="62000" />
    </fillUnits>
   
   <fillVolumes>
        <volumes>
            <volume index="0>2|2|8|0" maxDelta="0.12" maxAllowedHeapAngle="15" />
        </volumes>
        <unloadInfos>
            <unloadInfo> <!-- back -->
                <node index="0>2|2|8|1" width="1.0" length="1.7" />
            </unloadInfo>
        </unloadInfos>
        <heights>
            <height fillVolumeIndex="1" >
                <refNode index="0>2|2|6|0" />
                <refNode index="0>2|2|6|1" />
                <node index="0>2|11|0" baseScale="1 1.5 1"  transAxis="0 1 0" />
            </height>
        </heights>
    </fillVolumes>
   
   <tipReferencePoints>
        <tipReferencePoint index="0>7" width="2.5" />
        <tipReferencePoint index="0>7" width="0.5" />
    </tipReferencePoints>
   
   <tipAnimations>
        <tipAnimation speedScale="1" openSpeedScale="0.6" animationName="tipAnimationBack" dischargeStartTime="4" dischargeEndTime="20" name="info_tipSideBack" >
            <tipEffect>
                <effectNode effectNode="0>2|11|0|0" materialType="unloading" materialTypeId="3" position="0 0 0" fadeTime="0.5" />
                <effectNode effectNode="0>2|11|0|1" materialType="smoke"     materialTypeId="1" position="0 0 0" fadeTime="0.5" />
            </tipEffect>
            <emitterShape node="0>2|11|1|0" />
            <fillVolume>
                <unloadInfo index="1"/>
                <height index="1"/>
            </fillVolume>
        </tipAnimation>
    </tipAnimations>
   
   <fillRootNode index="0>" />
    <exactFillRootNode index="0>2|2|3" />
    <fillAutoAimTargetNode index="0>8" startZ="3.2" endZ="-6.5" invert="false" fillUnitIndex="1" startPercentage="25"/>
    <fillMassNode index="0>" />
    <supportsFillTriggers value="true" />
   
   <cylinderedHydraulicSound file="$data/sounds/hydraulicUp.wav"  pitchOffset="0.8" volume="0.5" indoorVolumeFactor="0.75" />
    <fillSound file="$data/maps/sounds/siloFillSound.wav" pitchOffset="1.0" volume="1.5"/>
   
   <inputAttacherJoints>
        <inputAttacherJoint index="0>2|5" jointType="semitrailer"/>
    </inputAttacherJoints>
   
   <!-- DynamicHose -->
    <dynamicHose>
        <set toolIndices="1">
          <hose type="hydraulic"  attached="0>19|1|0|0"  detached="0>19|1|1|0"  lastHoseIKNode="0>19|1|0|0|0|0" />
            <hose type="hydraulic"  attached="0>19|1|0|1"  detached="0>19|1|1|1"  lastHoseIKNode="0>19|1|0|1|0|0" />
         <hose type="air"        attached="0>19|1|0|4"  detached="0>19|1|1|2"  lastHoseIKNode="0>19|1|0|4|0|0" />
         <hose type="air"        attached="0>19|1|0|5"  detached="0>19|1|1|3"  lastHoseIKNode="0>19|1|0|5|0|0" />
         <hose type="electric"   attached="0>19|1|0|6"  detached="0>19|1|1|4"  lastHoseIKNode="0>19|1|0|6|0|0" />
         <hose type="electric"   attached="0>19|1|0|7"  detached="0>19|1|1|7"  lastHoseIKNode="0>19|1|0|7|0|0" />
        </set>
    </dynamicHose>
   
    <movingTools>
        <movingTool index="0>2|2">
            <dependentPart index="0>2|4"/>
        </movingTool>
    </movingTools>
    <movingParts>
    <movingPart index="0>2|4" referencePoint="0>2|2|7" referenceFrame="0>2|2|7" scaleZ="false" isActiveDirty="false">
            <translatingPart index="0>2|4|0"/>
            <translatingPart index="0>2|4|0|0"/>
            <translatingPart index="0>2|4|0|0|0"/>
            <translatingPart index="0>2|4|0|0|0|0"/>
            <translatingPart index="0>2|4|0|0|0|0|0"/>
    </movingPart>
    </movingParts>
   
   <animations>
        <!-- backtipping -->
        <animation name="tipAnimationBack">
            <part node="0>2|2|2" startTime="0" endTime="0.9" startRot="0 0 0" endRot="90 0 0"/>
            <part node="0>2|2|1" startTime="0.9" endTime="1.2" startRot="0 0 0" endRot="28 0 0"/>
            <part node="0>2|2|0" startTime="1.2" endTime="13" startRot="0 0 0" endRot="-40 0 0"/>
            <part node="0>2|2" startTime="3" endTime="13" startRot="0 0 0" endRot="40 0 0"/>
        </animation>
        <!-- move support wheel down/up -->
        <animation name="moveSupport">
            <part node="0>12" startTime="0" endTime="0.05" visibility="false"/>
            <part node="0>11" startTime="0.05" endTime="0.1" visibility="true"/>
            <part node="0>3" startTime="0" endTime="0.2" startTrans="0 0.417 0.195" endTrans="0 -0.1 0.195"/>
        </animation>
        <!--cover-->
        <animation name="toggleCover">
            <part node="0>2|2|11" startTime="0" endTime="0.05" visibility="true"/>
            <part node="0>2|2|12" startTime="0" endTime="0.05" visibility="false"/>
            <part node="0>2|2|11" startTime="0.05" endTime="0.1" visibility="false"/>
            <part node="0>2|2|12" startTime="0.05" endTime="0.1" visibility="true"/>
        </animation>
    </animations>
   
    <support animationName="moveSupport"/>
   
   <cover animationName="toggleCover"/>
   
   <components count="1">
        <component1 centerOfMass="0 0.6 -1.2" solverIterationCount="10"/>
        <!-- <component2 centerOfMass="0 0 0" solverIterationCount="20"/>
        <joint component1="0" component2="1" index="0>5" rotLimit="0 0 8" transLimit="0 0 0"/> -->
   </components>
   
   <washable dirtDuration="50" washDuration="1" workMultiplier="8"/>
   
   <numberplates interfacePath="textur/">
      <plate index="0>2|20" />
   </numberplates>
   
   <schemaOverlay file="$dataS2/menu/schemas/implementSchema.png" fileSelected="$dataS2/menu/schemas/implementSchemaSelected.png" fileTurnedOn="$dataS2/menu/schemas/implementSchemaTurnedOn.png" fileSelectedTurnedOn="$dataS2/menu/schemas/implementSchemaSelectedTurnedOn.png" width="0.5" height="0.5" attacherJointPosition="0 0"/>
   
   <designColorConfigurations useDefaultColors="true" price="200" defaultColorIndex="1" icon="$dataS2/menu/hud/configurations/config_color.png">
        <colorNode node="0>2|2|11" recursive="true"/>
        <colorNode node="0>2|2|12" recursive="true"/>
   </designColorConfigurations>
   
    <designConfigurations>
        <!--designConfiguration name="Fliegl" price="750" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <objectChange node="0>2|2" visibilityActive="true" visibilityInactive="false" />
         <objectChange node="0>2|2|0" visibilityActive="true" visibilityInactive="false" />
         <objectChange node="0>2|2|1" visibilityActive="true" visibilityInactive="false" />
         <objectChange node="0>2|2|2" visibilityActive="true" visibilityInactive="false" />      
        </designConfiguration-->   
        <designConfiguration name="Nordzucker" price="750" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <material node="0>2|2"       refNode="0>2|21|0" />
            <material node="0>2|2|0"       refNode="0>2|21|0|0" />         
            <material node="0>2|2|1"       refNode="0>2|21|0|1" />         
            <material node="0>2|2|2"       refNode="0>2|21|0|2" />         
        </designConfiguration>
        <designConfiguration name="Menci" price="750" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <material node="0>2|2"       refNode="0>2|21|1" />
            <material node="0>2|2|0"       refNode="0>2|21|1|0" />         
            <material node="0>2|2|1"       refNode="0>2|21|1|1" />         
            <material node="0>2|2|2"       refNode="0>2|21|1|2" />         
        </designConfiguration>   
        <designConfiguration name="Agravis" price="750" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <material node="0>2|2"       refNode="0>2|21|2" />
            <material node="0>2|2|0"       refNode="0>2|21|2|0" />         
            <material node="0>2|2|1"       refNode="0>2|21|2|1" />         
            <material node="0>2|2|2"       refNode="0>2|21|2|2" />      
        </designConfiguration>
        <designConfiguration name="RWZ" price="750" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <material node="0>2|2"       refNode="0>2|21|3" />
            <material node="0>2|2|0"       refNode="0>2|21|3|0" />         
            <material node="0>2|2|1"       refNode="0>2|21|3|1" />         
            <material node="0>2|2|2"       refNode="0>2|21|3|2" />      
        </designConfiguration>
        <designConfiguration name="Deuka" price="750" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <material node="0>2|2"       refNode="0>2|21|4" />
            <material node="0>2|2|0"       refNode="0>2|21|4|0" />         
            <material node="0>2|2|1"       refNode="0>2|21|4|1" />         
            <material node="0>2|2|2"       refNode="0>2|21|4|2" />      
        </designConfiguration>
        <designConfiguration name="Poweroil" price="750" icon="$dataS2/menu/hud/configurations/config_edition.png">
            <material node="0>2|2"       refNode="0>2|21|5" />
            <material node="0>2|2|0"       refNode="0>2|21|5|0" />         
            <material node="0>2|2|1"       refNode="0>2|21|5|1" />         
            <material node="0>2|2|2"       refNode="0>2|21|5|2" />      
        </designConfiguration>      
    </designConfigurations>      
   
   
</vehicle>


Vielleicht hat ja jemand einen Tip für mich was ich übersehe! :(

Gruß Meerstonk

Sonntag 25. Februar 2018, 20:59

Re: Problem mit Abkippseite

Sonntag 25. Februar 2018, 22:10

weiß es aber nicht genau, aber nehme doch mal den eintrag " name="info_tipSideBack" " bei der tipAnimation raus und teste mal, dann kannste keine andere kippseite auswählen

Re: Problem mit Abkippseite

Sonntag 25. Februar 2018, 22:53

Leider nicht, haut mir immernoch die Log voll! :(


Naja solange ich die Taste nicht drücke is` alles gut! :)

Mal weiter suchen!

Gruß Meerstonk

Re: Problem mit Abkippseite

Montag 26. Februar 2018, 09:26

nimmste in der XML bei tipReferencePoints die Indexe raus die du nicht brauchst ,dann sollte es gehen

Re: Problem mit Abkippseite

Montag 26. Februar 2018, 11:25

Danke Actros genau das war´s! :D Nu isser sauber!
Antwort schreiben



Bei iphpbb3.com bekommen Sie ein kostenloses Forum mit vielen tollen Extras
Forum kostenlos einrichten - Hot Topics - Tags
Beliebteste Themen: Bau, Bild, Erde, USA, WG

Impressum | Datenschutz