Modkonvertierung von LS19 auf LS22

Eure Foren für alle Diskussionen rund ums Thema Modding.
RauchFranz
Posts: 31
Joined: Mon Mar 30, 2020 8:38 pm

Modkonvertierung von LS19 auf LS22

Post by RauchFranz »

Grüß euch,

Habe dank eurer Unterstützung meine Map aus dem LS19 geholt. Nun möchte ich das auch mit ein paar Geräten und Fahrzeugen machen.

Begonnen habe ich hier mit dem Dreipunktanbau Ballenwickler von Tanco (für private Zwecke).

Ein paar Warnings konnte ich beheben. Aber bei den LUA Fehlern stehe ich wieder mit dem Rücken zur Wand. Vielleicht habt ihr ja Ideen oder mehr Erfahrung damit.

Hier noch die Log und xml:

SpielLog

2022-06-20 16:32 Warning (C:/Users/Tisch/Documents/My Games/FarmingSimulator2022/mods/FS22_AutoWrap1300/autoWrap1300.xml): Invalid category 'baling' in store data! Using 'misc' instead!


2022-06-20 16:33 Warning (C:/Users/Tisch/Documents/My Games/FarmingSimulator2022/mods/FS22_AutoWrap1300/autoWrap1300.xml): Missing collision mask bit '21'. Please add this bit to component node 'AutoWrap1300'
2022-06-20 16:33 Error: Failed to find child 4 from node AutoWrap1300, only 3 children given
2022-06-20 16:33 LUA call stack:
dataS/scripts/i3d/I3DUtil.lua (20) : printCallstack
dataS/scripts/i3d/I3DUtil.lua (91) : checkChildIndex
dataS/scripts/i3d/I3DUtil.lua (407) : indexToObject
dataS/scripts/xml/XMLFile.lua (296) : closure
dataS/scripts/i3d/I3DUtil.lua (403) : iterate
dataS/scripts/vehicles/Vehicle.lua (831) : loadI3DMapping
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction
2022-06-20 16:33 Error: Index not found: 0>4|4|1|0
2022-06-20 16:33 Error: Failed to find child 4 from node AutoWrap1300, only 3 children given
2022-06-20 16:33 LUA call stack:
dataS/scripts/i3d/I3DUtil.lua (20) : printCallstack
dataS/scripts/i3d/I3DUtil.lua (91) : checkChildIndex
dataS/scripts/i3d/I3DUtil.lua (407) : indexToObject
dataS/scripts/xml/XMLFile.lua (296) : closure
dataS/scripts/i3d/I3DUtil.lua (403) : iterate
dataS/scripts/vehicles/Vehicle.lua (831) : loadI3DMapping
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction
2022-06-20 16:33 Error: Index not found: 0>4|4|1|1
2022-06-20 16:33 Error: Failed to find child 4 from node AutoWrap1300, only 3 children given
2022-06-20 16:33 LUA call stack:
dataS/scripts/i3d/I3DUtil.lua (20) : printCallstack
dataS/scripts/i3d/I3DUtil.lua (91) : checkChildIndex
dataS/scripts/i3d/I3DUtil.lua (407) : indexToObject
dataS/scripts/xml/XMLFile.lua (296) : closure
dataS/scripts/i3d/I3DUtil.lua (403) : iterate
dataS/scripts/vehicles/Vehicle.lua (831) : loadI3DMapping
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction
2022-06-20 16:33 Error: Index not found: 0>4|4|1|2
2022-06-20 16:33 Warning (C:/Users/Tisch/Documents/My Games/FarmingSimulator2022/mods/FS22_AutoWrap1300/autoWrap1300.xml): Invalid folding part 'vehicle.foldable.foldingConfigurations.foldingConfiguration(0).foldingParts.foldingPart(0)'. Either a animationClip or animationName needs to be defined!
2022-06-20 16:33 Warning (physics): Add trigger callback failed, object baleGrabNode is not a physics trigger.
2022-06-20 16:33 dataS/character/animals/wild/deer/deerAdult.i3d (34.47 ms)
xml:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<vehicle type="baleWrapper">
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>
<storeData>
<name>AutoWrap 1300</name>
<specs>
<fillTypes>roundBale</fillTypes>
</specs>
<functions>
<function> $l10n_function_baleWrapper</function>
</functions>
<image>store.dds</image>
<price>30000</price>
<lifetime>600</lifetime>
<rotation>180</rotation>
<brand>LIZARD</brand>
<category>baling</category>
<vertexBufferMemoryUsage>636672</vertexBufferMemoryUsage>
<indexBufferMemoryUsage>128082</indexBufferMemoryUsage>
<textureMemoryUsage>8563576</textureMemoryUsage>
<instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
<instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
</storeData>
<base>
<typeDesc>$l10n_typeDesc_baleWrapper</typeDesc>
<filename>autoWrap1300.i3d</filename>
<size width="3.5" length="3"/>
<components>
<component centerOfMass="0 0 0" solverIterationCount="10" mass="516"/>
</components>
<schemaOverlay attacherJointPosition="0 0" name="DEFAULT_IMPLEMENT"/>
</base>

<ai>
<agentAttachment/>
</ai>


<attachable>
<inputAttacherJoints>
<inputAttacherJoint node="AttacherJoint" jointType="implement" topReferenceNode="AttacherJointPoteznca" upperRotationOffset="0" lowerRotationOffset="10">
<distanceToGround lower="0.2" upper="0.8"/>
</inputAttacherJoint>
</inputAttacherJoints>
</attachable>

<foldable>
<foldingConfigurations title="$l10n_configuration_wrappingAnimation">
<foldingConfiguration name="$l10n_configuration_valueDefault" price="0" >
<foldingParts startMoveDirection="0">
<foldingPart animationName="folding" speedScale="1.0" />
</foldingParts>
</foldingConfiguration>
<foldingConfiguration name="$l10n_configuration_valueWrapperBaleOnEnd" price="0">
<foldingParts startMoveDirection="0">
<foldingPart animationName="foldingBaleOnEnd" speedScale="1.0" />
</foldingParts>
</foldingConfiguration>
</foldingConfigurations>
</foldable>

<animations>
<animation name="moveBaleToWrapper">
<part node="RightAnimations" startTime="1" endTime="3" startRot="0 0 0" endRot="0 0 20"/>
<part node="RightAnimationsRolle" startTime="0" endTime="3" startRot="0 0 0" endRot="0 0 -360"/>
<part node="LeftAnimations" startTime="1" endTime="3" startRot="0 0 0" endRot="0 0 -20"/>
<part node="LeftAnimationsRolle" startTime="0" endTime="2" startRot="0 0 0" endRot="0 0 360"/>
<part node="wrapperBaleNode" startTime="0" endTime="0" startTrans="0 0 0" endTrans="0 0 0" />
<part node="baleGrabNode" startTime="0" endTime="0" startTrans="0 0 0" endTrans="0 0 0" startRot="0 0 0" endRot="0 0 0"/>
</animation>
<animation name="dropBaleFromWrapper">
<part node="RightAnimations" startTime="0" endTime="5" startRot="0 0 0" endRot="0 0 20"/>
<part node="RightAnimationsRolle" startTime="0" endTime="5" startRot="0 0 0" endRot="0 0 100"/>
<part node="LeftAnimations" startTime="0" endTime="5" startRot="0 0 0" endRot="0 0 -20"/>
<part node="LeftAnimationsRolle" startTime="0" endTime="5" startRot="0 0 0" endRot="0 0 -100"/>
<part node="Cutter" startTime="0" endTime="5" startRot="0 0 85" endRot="0 0 0"/>
<part node="wrapperBaleNode" startTime="0" endTime="0" startTrans="0 0 0" endTrans="0 0 0"/>
</animation>
<animation name="resetWrapperAfterBaleDrop">
<part node="RightAnimations" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 20"/>
<part node="LeftAnimations" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -20"/>
<part node="RightAnimationsRolle" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 -360"/>
<part node="LeftAnimationsRolle" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 360"/>
<part node="wrapperBaleNode" startTime="0" endTime="0" startTrans="0 0 0" endTrans="0 0 0"/>
</animation>
<animation name="unfold">
<part node="RightAnimations" startTime="0" endTime="2" startRot="0 0 20" endRot="0 0 0"/>
<part node="LeftAnimations" startTime="0" endTime="2" startRot="0 0 -20" endRot="0 0 0"/>
<part node="RightAnimationsRolle" startTime="0" endTime="2" startRot="0 0 90" endRot="0 0 90"/>
<part node="LeftAnimationsRolle" startTime="0" endTime="2" startRot="0 0 -90" endRot="0 0 -90"/>
<part node="Cutter" startTime="0" endTime="1" startRot="0 0 0" endRot="0 0 0"/>
</animation>
</animations>
<cylindered>
<movingTools>
<movingTool node="Cutter" playSound="true">
<dependentPart node="cylindered02"/>
</movingTool>
<movingTool node="RightAnimations" playSound="true">
<dependentPart node="cylindered01"/>
</movingTool>
</movingTools>
<movingParts>
<movingPart node="cylindered02" referencePoint="cylindered02Ref" referenceFrame="cylindered02Ref" isActiveDirty="true" maxUpdateDistance="-" playSound="false" >
<translatingPart node="cylindered02Punch"/>
</movingPart>
<movingPart node="cylindered01" referencePoint="cylindered01Ref" referenceFrame="cylindered01Ref" isActiveDirty="true" maxUpdateDistance="-" playSound="false" >
<translatingPart node="cylindered01Punch"/>
</movingPart>
</movingParts>
<sounds>
<hydraulic template="hydraulicLayerTone"/>
</sounds>
</cylindered>


<baleWrapper foldMinLimit="0.0" foldMaxLimit="0.0" >
<grabber triggerNode="baleGrabNode" nearestDistance="0.4" />
<roundBaleWrapper baleNode="wrapperBaleNode" wrapperNode="upperPart" wrapperRotAxis="0" wrappingTime="20" >
<animations>
<moveToWrapper animName="moveBaleToWrapper" animSpeed="25" reverseAfterMove="true" />
<dropFromWrapper animName="dropBaleFromWrapper" animSpeed="5" />
<resetAfterDrop animName="resetWrapperAfterBaleDrop" animSpeed="1" />
</animations>
<baleTypes>
<baleType diameter="1.25" width="1.1"/>
</baleTypes>

<wrapperAnimation>
<key time="0" baleRot="0 0 0" wrapperRot="0 0 0" />
<key time="0.9" baleRot="0 0 720" wrapperRot="0 -4320 0" />
<key time="1" baleRot="0 0 792" wrapperRot="0 -4680 0" />
</wrapperAnimation>

<wrapNodes>
<wrapNode node="baleWrap" wrapVisibility="true" emptyVisibility="false"/>
<wrapNode node="baleWrapEmpty" wrapVisibility="false" emptyVisibility="true"/>
</wrapNodes>
<wrapAnimNodes>
<wrapAnimNode node="LeftAnimationsRolle" repeatWrapperRot="false">
<key wrapperTime="0" trans="0.065 -0.935 -1.502" rot="0 0 0"/>
<key wrapperTime="0.999" trans="0.065 -0.935 -1.502" rot="0 0 -1080"/>
<key wrapperTime="1" trans="0.065 -0.935 -1.502" rot="0 0 0"/>
</wrapAnimNode>
<wrapAnimNode node="RightAnimationsRolle" repeatWrapperRot="false">
<key wrapperTime="0" trans="-0.065 -0.937 -1.497" rot="0 0 0"/>
<key wrapperTime="0.999" trans="-0.065 -0.937 -1.497" rot="0 0 -1080"/>
<key wrapperTime="1" trans="-0.065 -0.937 -1.497" rot="0 0 0"/>
</wrapAnimNode>
<wrapAnimNode node="Cutter" repeatWrapperRot="false">
<key wrapperTime="0.91" trans="-0.416 -1.002 0.355" rot="0 0 0"/>
<key wrapperTime="1" trans="-0.416 -1.002 0.355" rot="0 0 85"/>
</wrapAnimNode>
</wrapAnimNodes>
<sounds wrappingEndTime="0.95">
<start template="BALER_WRAPPING_START" linkNode="0>" />
<wrap template="BALE_WRAPPING_01" linkNode="0>" />
<stop template="BALE_WRAPPING_STOP" linkNode="0>" />
</sounds>
</roundBaleWrapper>
</baleWrapper>

<wrappingColorConfigurations>
<wrappingColorConfiguration color="0.995 0.995 0.995 1" price="0" />
<wrappingColorConfiguration color="0.345 0.345 0.245 1" price="0" />
<wrappingColorConfiguration color="0.345 0.145 0.245 1" price="0" />
<wrappingColorConfiguration color="0.35 0.645 0.345 1" price="0" />
<wrappingColorConfiguration color="0.222 0.444 0.111 1" price="0" />
<wrappingColorConfiguration color="0.995 0.995 0.995 1" price="0" />

<colorNode node="baleWrap" />
<colorNode node="0>0|0|3|1" />
<colorNode node="baleWrapEmpty" />
</wrappingColorConfigurations>

<connectionHoses>
<hose inputAttacherJointIndices="1" type="hydraulicIn" node="hydraulicIn01" length="0.5" diameter="0.013" straighteningFactor="1" >
<objectChange node="hydraulicIn01_detached" visibilityActive="false" visibilityInactive="true"/>
</hose>
<hose inputAttacherJointIndices="1" type="hydraulicIn" node="hydraulicIn02" length="0.5" diameter="0.013" straighteningFactor="1" >
<objectChange node="hydraulicIn01_detached" visibilityActive="false" visibilityInactive="true"/>
</hose>
</connectionHoses>

<dynamicallyLoadedParts>
<dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn01Adapter" filename="$data/shared/connectionHoses/connectors.i3d" />
<dynamicallyLoadedPart node="1|0" linkNode="hydraulicIn02Adapter" filename="$data/shared/connectionHoses/connectors.i3d" />
</dynamicallyLoadedParts>

<baseMaterial>
<material name="Visual" baseNode="VIS">
<shaderParameter name="colorMat0" value="0.65 0.4 0.05 0"/>
<shaderParameter name="colorMat1" value="0.05 0.05 0.05 0"/>
</material>
</baseMaterial>

<wearable wearDuration="480" workMultiplier="5" fieldMultiplier="2"/>
<washable dirtDuration="90" washDuration="1" workMultiplier="4" fieldMultiplier="2"/>

<i3dMappings>
<i3dMapping id="VIS" node="0>0|0" />
<i3dMapping id="AttacherJoint" node="0>0|3" />
<i3dMapping id="AttacherJointPoteznca" node="0>0|4" />
<i3dMapping id="baleGrabNode" node="0>0|2|0" />
<i3dMapping id="wrapperBaleNode" node="0>0|1|0" />
<i3dMapping id="upperPart" node="0>0|0|3" />
<i3dMapping id="RightAnimations" node="0>0|0|0" />
<i3dMapping id="RightAnimationsRolle" node="0>0|0|0|0" />
<i3dMapping id="LeftAnimations" node="0>0|0|1" />
<i3dMapping id="LeftAnimationsRolle" node="0>0|0|1|0" />
<i3dMapping id="baleWrap" node="0>0|0|3|2" />
<i3dMapping id="baleWrapEmpty" node="0>0|0|10" />
<i3dMapping id="topJoint" node="0>4|4|1|0" />
<i3dMapping id="middle" node="0>4|4|1|1" />
<i3dMapping id="bottom" node="0>4|4|1|2" />
<i3dMapping id="cylindered02" node="0>0|0|1|2" />
<i3dMapping id="cylindered02Ref" node="0>0|0|0|2" />
<i3dMapping id="cylindered02Punch" node="0>0|0|1|2|0" />
<i3dMapping id="Cutter" node="0>0|0|4" />
<i3dMapping id="cylindered01" node="0>0|0|5" />
<i3dMapping id="cylindered01Ref" node="0>0|0|4|0" />
<i3dMapping id="cylindered01Punch" node="0>0|0|5|0" />
<i3dMapping id="Ovijanje" node="0>0|0|3|2" />
<i3dMapping id="hydraulicIn01" node="0>0|0|9|0" />
<i3dMapping id="hydraulicIn02" node="0>0|0|9|1" />
<i3dMapping id="hydraulicIn01_detached" node="0>0|0|8" />
<i3dMapping id="hydraulicIn01Adapter" node="0>0|0|8|0" />
<i3dMapping id="hydraulicIn02Adapter" node="0>0|0|8|1" />
</i3dMappings>

</vehicle>
Ich bedanke mich schon im Vorraus für die Unterstützung!
Last edited by RauchFranz on Fri Jun 24, 2022 7:53 pm, edited 1 time in total.
RauchFranz
Posts: 31
Joined: Mon Mar 30, 2020 8:38 pm

Re: Modkonvertierung von LS19 auf LS22

Post by RauchFranz »

Und hier hätte ich noch einen Bagger mit Raupenlaufwerk.

Das Raupenlaufwerk spuckt immer folgenden Fehler in der i3d aus.
2022-06-22 18:39 C:/Users/Tisch/Documents/My Games/FarmingSimulator2022/mods/FS22_LIEBHERR_902_Pack_PC/Liebherrc.i3d (70.52 ms)
2022-06-22 18:39 Error: Failed to find child 0 from node driveNodeLeftWheel, only 0 children given
2022-06-22 18:39 LUA call stack:
dataS/scripts/i3d/I3DUtil.lua (20) : printCallstack
dataS/scripts/i3d/I3DUtil.lua (100) : checkChildIndex
dataS/scripts/i3d/I3DUtil.lua (407) : indexToObject
dataS/scripts/xml/XMLFile.lua (296) : closure
dataS/scripts/i3d/I3DUtil.lua (403) : iterate
dataS/scripts/vehicles/Vehicle.lua (831) : loadI3DMapping
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction
2022-06-22 18:39 Error: Index not found: 0>0|0|0|0
2022-06-22 18:39 Error: Failed to find child 0 from node driveNodeLeftWheel, only 0 children given
2022-06-22 18:39 LUA call stack:
dataS/scripts/i3d/I3DUtil.lua (20) : printCallstack
dataS/scripts/i3d/I3DUtil.lua (100) : checkChildIndex
dataS/scripts/i3d/I3DUtil.lua (407) : indexToObject
dataS/scripts/xml/XMLFile.lua (296) : closure
dataS/scripts/i3d/I3DUtil.lua (403) : iterate
dataS/scripts/vehicles/Vehicle.lua (831) : loadI3DMapping
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction
2022-06-22 18:39 Error: Index not found: 0>0|1|0|0
2022-06-22 18:39 Error: Failed to find child 0 from node crawlerLeftFrontWheel, only 0 children given
2022-06-22 18:39 LUA call stack:
dataS/scripts/i3d/I3DUtil.lua (20) : printCallstack
dataS/scripts/i3d/I3DUtil.lua (100) : checkChildIndex
dataS/scripts/i3d/I3DUtil.lua (407) : indexToObject
dataS/scripts/xml/XMLFile.lua (296) : closure
dataS/scripts/i3d/I3DUtil.lua (403) : iterate
dataS/scripts/vehicles/Vehicle.lua (831) : loadI3DMapping
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction
2022-06-22 18:39 Error: Index not found: 0>0|2|0
2022-06-22 18:39 Error: Failed to find child 0 from node crawlerRightFrontWheel, only 0 children given
2022-06-22 18:39 LUA call stack:
dataS/scripts/i3d/I3DUtil.lua (20) : printCallstack
dataS/scripts/i3d/I3DUtil.lua (100) : checkChildIndex
dataS/scripts/i3d/I3DUtil.lua (407) : indexToObject
dataS/scripts/xml/XMLFile.lua (296) : closure
dataS/scripts/i3d/I3DUtil.lua (403) : iterate
dataS/scripts/vehicles/Vehicle.lua (831) : loadI3DMapping
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction
2022-06-22 18:39 Error: Index not found: 0>0|3|0
Irgendwer eine Idee wie man das behebt?
goodN8JohnBoy
Posts: 1454
Joined: Wed Dec 01, 2021 6:51 pm

Re: Modkonvertierung von LS19 auf LS22

Post by goodN8JohnBoy »

Die Fehlermeldungen sollten doch eigtl. selbsterklärend sein.
Error: Failed to find child 0 from node .., only 0 children given
Heisst übersetzt, irgendwo in der vehicle.xml (wahrscheinlich wheels) gibt es Referenzen auf nicht existente (Child) Nodes.
RauchFranz
Posts: 31
Joined: Mon Mar 30, 2020 8:38 pm

Re: Modkonvertierung von LS19 auf LS22

Post by RauchFranz »

Danke für die Antwort. Diese Nodes auf die die Fehlermeldung verweist (z.B driveNodeLeftWheel oder crawlerRightFrontWheel) gibt es in der .xml nicht aber in der i3d.

Die Indexe (z.B0>0|2|0) finde ich zwar in der .xml aber in der i3d nicht. Löschen geht auch nicht, da ihm dann andere Werte fehlen.

Hättest du auch eine Lösung für das fillType Problem?
Error: Fill volume input mesh has no faces in the bottom plane of its bounding box.
2022-06-24 19:03 Warning: fillVolume 'fillVolume' could not create actual fillVolume in 'C:/Users/Tisch/Documents/My Games/FarmingSimulator2022/mods/FS22_LIEBHERR_902_Pack_PC/bucket.xml'! Simplifying the mesh could help
goodN8JohnBoy
Posts: 1454
Joined: Wed Dec 01, 2021 6:51 pm

Re: Modkonvertierung von LS19 auf LS22

Post by goodN8JohnBoy »

Die btr. Nodes sind offenbar nicht in der i3d vorhanden, aber werden in der xml referenziert.

Der Fehler mit dem fillVolume riecht mir erstmal verdächtig nach fehlendem 'CPU-Mesh' Flag (Tab Shape).
Kann aber auch andere Ursache haben.
RauchFranz
Posts: 31
Joined: Mon Mar 30, 2020 8:38 pm

Re: Modkonvertierung von LS19 auf LS22

Post by RauchFranz »

Danke den Node Fehler konnte ich schon beheben! *thumbsup* :mrgreen:

Die CPU Mesh habe ich im Ge hinzugeschalten -> leider keine Änderung
RauchFranz
Posts: 31
Joined: Mon Mar 30, 2020 8:38 pm

Re: Modkonvertierung von LS19 auf LS22

Post by RauchFranz »

1. die fillTypeVolumen bei den beiden Baggerschaufeln macht noch Probleme habe hier keine wirklichen Lösungsansätze gefunden

2.bei meiner Ballenwickelmaschine funktioniert alles ohne Fehler. Außer die Animation sieht man während dem Spiel nicht. Hat sich hier von LS19 bei den Animationen soviel geändert? Kann man das beheben auch wenn man keine großen Erfahrungen mit Blender oder Maja hat?

3. Dieser Error ist bei meiner umgebauten Map beim Mähen von decofoliage Gras high aufgetaucht am Feldrand auf nicht Grasfeld.
Error: No depth map available, but shape 'smokeEmitter' (smokeEmitter) with material 'smoke_mat' uses a custom shader which requires reading depth data.
Hat hier jemand eine Idee wie man das behebn kann?
Post Reply