Community Forum

Issue with animation for placeable building

Forum Overview >> Farming Simulator 22

CategoryFarming Simulator 22
Created17.02.2022 14:37


Krupps 17.02.2022 14:37
Hi

I have successfully imported an animation clip from Maya to GE and there it works properly. But once I place it in the game no animation is there. Instead I get these error messages:

2022-02-15 15:15 D:/04_Usr/my games/FarmingSimulator2022/mods/LS22_PallettsFactory/LS22_PallettsFactory.i3d (1248.33 ms)
2022-02-15 15:15 D:/04_Usr/my games/FarmingSimulator2022/mods/LS22_PallettsFactory/LS22_PW_Anim.i3d (0.54 ms)
2022-02-15 15:15 Error (nil): 1
2022-02-15 15:15 Error (nil): 1
2022-02-15 15:15 Error (nil): 1
2022-02-15 15:15 Error (nil): 1
2022-02-15 15:15 Warning (script): Unknown entity id 104580 for 'object' in method 'enableAnimTrack'.
2022-02-15 15:15 LUA call stack:
dataS/scripts/objects/AnimatedObject.lua (572) : enableAnimTrack
dataS/scripts/objects/AnimatedObject.lua (435) : setAnimTime
dataS/scripts/placeables/specializations/PlaceableAnimatedObjects.lua (168) : loadFromXMLFile
dataS/scripts/placeables/Placeable.lua (372) : loadFromXMLFile
dataS/scripts/placeables/Placeable.lua (445) : onFinishedLoading
dataS/scripts/placeables/specializations/PlaceableTriggerMarkers.lua (154) : finishLoadingTask
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction
2022-02-15 15:15 Warning (script): Unknown entity id 104580 for 'object' in method 'setAnimTrackTime'.
2022-02-15 15:15 LUA call stack:
dataS/scripts/objects/AnimatedObject.lua (573) : setAnimTrackTime
dataS/scripts/objects/AnimatedObject.lua (435) : setAnimTime
dataS/scripts/placeables/specializations/PlaceableAnimatedObjects.lua (168) : loadFromXMLFile
dataS/scripts/placeables/Placeable.lua (372) : loadFromXMLFile
dataS/scripts/placeables/Placeable.lua (445) : onFinishedLoading
dataS/scripts/placeables/specializations/PlaceableTriggerMarkers.lua (154) : finishLoadingTask
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction
2022-02-15 15:15 Warning (script): Unknown entity id 104580 for 'object' in method 'disableAnimTrack'.
2022-02-15 15:15 LUA call stack:
dataS/scripts/objects/AnimatedObject.lua (574) : disableAnimTrack
dataS/scripts/objects/AnimatedObject.lua (435) : setAnimTime
dataS/scripts/placeables/specializations/PlaceableAnimatedObjects.lua (168) : loadFromXMLFile
dataS/scripts/placeables/Placeable.lua (372) : loadFromXMLFile
dataS/scripts/placeables/Placeable.lua (445) : onFinishedLoading
dataS/scripts/placeables/specializations/PlaceableTriggerMarkers.lua (154) : finishLoadingTask
dataS/scripts/i3d/I3DManager.lua (134) : asyncCallbackFunction

As I am only a 3D Designer it doesn't tell me anything. Can someone please help

Colin Smith (WrinkleysRule) 18.02.2022 11:22
You have of course added the animation sequence to the items xml

Krupps 19.02.2022 12:03
Hi Colin, thanks for your reply.

Here is the animatedObjects section of the xml:

<animatedObjects>
<animatedObject saveId="PW_Anim" >
<animation duration="4.5">
<clip rootNode="Brett" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle1" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle2" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle3" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle4" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle5" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle6" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle7" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle8" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle9" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle10" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle11" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle12" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle13" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Palettenwerk_Rubber1_Ani_LOD0" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Palettenwerk_Rubber2_Ani_LOD0" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
</animatedObjects>

Colin Smith (WrinkleysRule) 20.02.2022 11:39
I would be intrigued to know why you are using i3d animation instead of straightforward xml entries.
Regarding your error "Unknown entity id 104580 for 'object' which appears after every call to your i3d , as it works in GE but not in game I suggest you look for a problem possibly with a trigger function, GE (as far as I know) doesn't use triggers when running animation

Krupps 20.02.2022 13:15
It's a little bit of a more sophisticated anim, where some rubber is bouncing back and forth while another object is going through it.Thus I used to have special curves which can only be done in Maya.
For your suggestion. I cannot find any trigger which might affect this. I'll post the whole xml for your reference. Maybe you can have a look at.

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<placeable type="productionPoint" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../../../../shared/xml/schema/placeable.xsd">
<storeData>
<name>PallettsFactory</name>
<functions>
<function>$l10n_function_productionPoint</function>
</functions>
<image>LS22_PallettsFactory.dds</image>
<price>60000</price>
<lifetime>1000</lifetime>
<rotation>0</rotation>
<brand>RaytracingArts</brand>
<species>placeable</species>
<category>productionPoints</category>
<brush>
<type>placeable</type>
<category>production</category>
<tab>factories</tab>
</brush>
<vertexBufferMemoryUsage>595456</vertexBufferMemoryUsage>
<indexBufferMemoryUsage>88576</indexBufferMemoryUsage>
<textureMemoryUsage>11075584</textureMemoryUsage>
<instanceVertexBufferMemoryUsage>0</instanceVertexBufferMemoryUsage>
<instanceIndexBufferMemoryUsage>0</instanceIndexBufferMemoryUsage>
<audioMemoryUsage>0</audioMemoryUsage>
</storeData>

<base>
<filename>LS22_PallettsFactory.i3d</filename>
<canBeRenamed>true</canBeRenamed>
</base>

<placement useRandomYRotation="false" useManualYRotation="true" >
<testAreas>
<testArea startNode="testArea1Start" endNode="testArea1End" />
<testArea startNode="testArea2Start" endNode="testArea2End" />
</testAreas>
</placement>

<clearAreas>
<clearArea startNode="clearArea1Start" widthNode="clearArea1Width" heightNode="clearArea1Height"/>
<clearArea startNode="clearArea2Start" widthNode="clearArea2Width" heightNode="clearArea2Height"/>
</clearAreas>

<leveling requireLeveling="true" maxSmoothDistance="10" maxSlope="75" maxEdgeAngle="30" >
<levelAreas>
<levelArea startNode="levelArea1Start" widthNode="levelArea1Width" heightNode="levelArea1Height" groundType="asphalt"/>
<levelArea startNode="levelArea2Start" widthNode="levelArea2Width" heightNode="levelArea2Height" groundType="asphalt"/>
</levelAreas>
</leveling>

<indoorAreas>
<indoorArea startNode="indoorArea1Start" widthNode="indoorArea1Width" heightNode="indoorArea1Height" />
<indoorArea startNode="indoorArea2Start" widthNode="indoorArea2Width" heightNode="indoorArea2Height" />
</indoorAreas>

<tipOcclusionUpdateAreas>
<tipOcclusionUpdateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
</tipOcclusionUpdateAreas>

<ai>
<updateAreas>
<updateArea startNode="tipOcclusionUpdateArea1Start" endNode="tipOcclusionUpdateArea1End" />
</updateAreas>
<splines>
<spline node="aiLoadingSpline" maxWidth="4.2"/>
<spline node="aiUnloadingSpline" maxWidth="4.2"/>
</splines>
</ai>

<infoTrigger triggerNode="infoTrigger" />

<hotspots>
<hotspot type="PRODUCTION_POINT" linkNode="unloadTriggerMarker" teleportNode="teleportNode" />
</hotspots>



<triggerMarkers>
<triggerMarker node="warningStripes" />
<triggerMarker node="playerTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="WRENCH" adjustToGround="true" />
<triggerMarker node="unloadTriggerMarker" filename="$data/shared/assets/marker/markerIcons.xml" id="UNLOAD" adjustToGround="true" />
</triggerMarkers>

<lights>
<sharedLight filename="$data/shared/assets/lights/lizard/buildings/industrialWallLight.xml" linkNode="linkedLight1" groupIndex="1"/>
<sharedLight filename="$data/shared/assets/lights/lizard/buildings/industrialWallLight.xml" linkNode="linkedLight2" groupIndex="1"/>
<sharedLight filename="$data/shared/assets/lights/lizard/buildings/industrialWallLight.xml" linkNode="linkedLight3" groupIndex="1"/>
<sharedLight filename="$data/shared/assets/lights/lizard/buildings/industrialWallLight.xml" linkNode="linkedLight4" groupIndex="1"/>
</lights>

<productionPoint>
<productions>
<production id="Pallet" name="Pallet" cyclesPerHour="180" costsPerActiveHour="1.85">
<inputs>
<input fillType="BOARDS" amount="2" />
<input fillType="DIESEL" amount="0.5" />
</inputs>
<outputs>
<output fillType="PALLET" amount="5" />
<output fillType="WOODCHIPS" amount="0.5" />
</outputs>
</production>
</productions>

<storage isExtension="false" fillLevelSyncThreshold="50">
<capacity fillType="BOARDS" capacity="65000" />
<capacity fillType="DIESEL" capacity="2500" />

<capacity fillType="PALLET" capacity="75000" />
<capacity fillType="WOODCHIPS" capacity="75000" />
</storage>

<loadingStation node="loadingStation" supportsExtension="false">
<loadTrigger triggerNode="loadTrigger" fillTypes="WOODCHIPS" fillLitersPerSecond="2000" dischargeNode="dischargeNode">
<!-- <effectNode effectClass="PipeEffect" effectNode="0|1|0|0|2|0" materialType="pipe" materialTypeId="1" fadeTime="0.5" maxBending="0" controlPoint="3.25 0 0 0"/> -->
<!-- <effectNode effectNode="0|1|0|0|2|1" materialType="smoke" materialTypeId="1" fadeTime="0.5" /> -->
</loadTrigger>
</loadingStation>

<sellingStation node="sellingStation1" supportsExtension="false">
<unloadTrigger exactFillRootNode="unloadTrigger" fillTypes="BOARDS DIESEL" />
</sellingStation>

<unloadingStation supportsExtension="false" >
<unloadTrigger exactFillRootNode="exactFillRootNode" fillTypes="DIESEL" aiNode="aiUnloadingNode"/>
</unloadingStation>


<palletSpawner node="palletSpawner">
<spawnPlaces>
<spawnPlace startNode="spawnSpace1start" />
</spawnPlaces>
</palletSpawner>

<playerTrigger node="playerTrigger" />

<sounds>
<idle template="carpenterIdle" linkNode="0>" />
<active template="carpenterWork" linkNode="0>" />
</sounds>
</productionPoint>

<animatedObjects>
<animatedObject saveId="PW_Anim" >
<animation duration="4.5">
<clip rootNode="Brett" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle1" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle2" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle3" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle4" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle5" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle6" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle7" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle8" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle9" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle10" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle11" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle12" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Gestell_Rolle13" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Palettenwerk_Rubber1_Ani_LOD0" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
<animatedObject>
<animation duration="4.5">
<clip rootNode="Palettenwerk_Rubber2_Ani_LOD0" name="PW_AnimSource" filename="LS22_PW_Anim.i3d"/>
</animation>
</animatedObject>
</animatedObjects>

<i3dMappings>
<i3dMapping id="levelArea1Start" node="0>0|0|0" />
<i3dMapping id="levelArea1Width" node="0>0|0|0|0" />
<i3dMapping id="levelArea1Height" node="0>0|0|0|1" />
<i3dMapping id="levelArea2Start" node="0>0|0|1" />
<i3dMapping id="levelArea2Width" node="0>0|0|1|0" />
<i3dMapping id="levelArea2Height" node="0>0|0|1|1" />
<i3dMapping id="levelArea3Start" node="0>0|0|2" />
<i3dMapping id="levelArea3Width" node="0>0|0|2|0" />
<i3dMapping id="levelArea3Height" node="0>0|0|2|1" />
<i3dMapping id="clearArea1Start" node="0>0|1|0" />
<i3dMapping id="clearArea1Width" node="0>0|1|0|0" />
<i3dMapping id="clearArea1Height" node="0>0|1|0|1" />
<i3dMapping id="clearArea2Start" node="0>0|1|1" />
<i3dMapping id="clearArea2Width" node="0>0|1|1|0" />
<i3dMapping id="clearArea2Height" node="0>0|1|1|1" />
<i3dMapping id="testArea1Start" node="0>0|2|0" />
<i3dMapping id="testArea1End" node="0>0|2|0|0" />
<i3dMapping id="testArea2Start" node="0>0|2|1" />
<i3dMapping id="testArea2End" node="0>0|2|1|0" />
<i3dMapping id="tipOcclusionUpdateArea1Start" node="0>0|3|0" />
<i3dMapping id="tipOcclusionUpdateArea1End" node="0>0|3|0|0" />
<i3dMapping id="infoTrigger" node="0>0|4" />
<i3dMapping id="loadingStation" node="0>0|6" />
<i3dMapping id="loadTrigger" node="0>0|6|0" />
<i3dMapping id="dischargeNode" node="0>0|6|0|0" />
<i3dMapping id="loadingStationTriggerMarker" node="0>0|6|1" />
<i3dMapping id="aiLoadingSpline" node="0>0|6|2" />
<i3dMapping id="aiLoadingNode" node="0>0|6|3" />
<i3dMapping id="sellingStation1" node="0>0|7" />
<i3dMapping id="unloadTrigger" node="0>0|7|0" />
<i3dMapping id="unloadTriggerMarker" node="0>0|7|1" />
<i3dMapping id="teleportNode" node="0>0|7|2" />
<i3dMapping id="unloadingStation" node="0>0|8" />
<i3dMapping id="exactFillRootNode" node="0>0|8|0" />
<i3dMapping id="aiUnloadingNode" node="0>0|8|1" />
<i3dMapping id="markerUnloading" node="0>0|8|2" />
<i3dMapping id="aiUnloadingSpline" node="0>0|8|3" />
<i3dMapping id="playerTrigger" node="0>0|9|0" />
<i3dMapping id="playerTriggerMarker" node="0>0|9|0|0" />
<i3dMapping id="palletSpawner" node="0>0|10" />
<i3dMapping id="spawnSpace1start" node="0>0|10|0" />
<i3dMapping id="warningStripes" node="0>0|11" />
<i3dMapping id="indoorArea1Start" node="0>0|12|0" />
<i3dMapping id="indoorArea1Width" node="0>0|12|0|0" />
<i3dMapping id="indoorArea1Height" node="0>0|12|0|1" />
<i3dMapping id="indoorArea2Start" node="0>0|12|1" />
<i3dMapping id="indoorArea2Width" node="0>0|12|1|0" />
<i3dMapping id="indoorArea2Height" node="0>0|12|1|1" />
<i3dMapping id="storage" node="0>0|13" />
<i3dMapping id="Anims" node="0>1" />
<i3dMapping id="Brett" node="0>1|0" />
<i3dMapping id="Palettenwerk_Rubber1_Ani_LOD0" node="0>1|1" />
<i3dMapping id="Palettenwerk_Rubber2_Ani_LOD0" node="0>1|2" />
<i3dMapping id="Gestell_Rolle" node="0>1|3" />
<i3dMapping id="Gestell_Rolle1" node="0>1|4" />
<i3dMapping id="Gestell_Rolle2" node="0>1|5" />
<i3dMapping id="Gestell_Rolle3" node="0>1|6" />
<i3dMapping id="Gestell_Rolle4" node="0>1|7" />
<i3dMapping id="Gestell_Rolle5" node="0>1|8" />
<i3dMapping id="Gestell_Rolle6" node="0>1|9" />
<i3dMapping id="Gestell_Rolle7" node="0>1|10" />
<i3dMapping id="Gestell_Rolle8" node="0>1|11" />
<i3dMapping id="Gestell_Rolle9" node="0>1|12" />
<i3dMapping id="Gestell_Rolle10" node="0>1|13" />
<i3dMapping id="Gestell_Rolle11" node="0>1|14" />
<i3dMapping id="Gestell_Rolle12" node="0>1|15" />
<i3dMapping id="Gestell_Rolle13" node="0>1|16" />
<i3dMapping id="linkedLight1" node="0>2|3|0|0" />
<i3dMapping id="linkedLight2" node="0>2|3|0|1" />
<i3dMapping id="linkedLight3" node="0>2|3|0|2" />
<i3dMapping id="linkedLight4" node="0>2|3|0|3" />


</i3dMappings>
</placeable>


Colin Smith (WrinkleysRule) 21.02.2022 19:20
Your xml although syntax correct is a bit haphazard in item convention (the first item in your i3d mapping is the levelArea1Start which is the third item in the xml) does not help at all in this problem as it is in the animation sequence in your i3d's which you need to double check for errors in nodes.

For an example of i3d animation check the rudolfHormann--garageBigStorageService xml


Krupps 23.02.2022 11:38
Do you mean this i3d File I created for the animation?
I checked the Garage already, but unfortunately and formed everything accordingly.

<?xml version="1.0" encoding="iso-8859-1"?>

<i3D name="untitled" version="1.6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://i3d.giants.ch/schema/i3d-1.6.xsd">
<Asset>
<Export program="GIANTS Editor 64bit" version="9.0.2"/>
</Asset>

<Files>
<File fileId="4" filename="Armature/Armature_Albedo.dds"/>
<File fileId="5" filename="Armature/Armature_Normal.dds"/>
<File fileId="6" filename="Armature/Armature_Spec.dds"/>
<File fileId="1" filename="Gestell/Gestell_Albedo.dds"/>
<File fileId="2" filename="Gestell/Gestell_Normal.dds"/>
<File fileId="3" filename="Gestell/Gestell_Spec.dds"/>
</Files>


<Materials>
<Material name="Gestell1" materialId="4">
<Texture fileId="1"/>
<Normalmap fileId="2"/>
<Glossmap fileId="3"/>
</Material>
<Material name="MetalPartts_PW" materialId="5">
<Texture fileId="4"/>
<Normalmap fileId="5"/>
<Glossmap fileId="6"/>
</Material>
</Materials>


<Shapes externalShapesFile="LS22_PW_Anim.i3d.shapes">
</Shapes>


<Dynamics>
</Dynamics>

<Scene>
<TransformGroup name="Anims" clipDistance="150" nodeId="24">
<Shape shapeId="1" name="Brett" nodeId="25" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="2" name="Palettenwerk_Rubber1_Ani_LOD0" translation="0.0576621 1.72849 -4.06396" nodeId="26" materialIds="5" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="3" name="Palettenwerk_Rubber2_Ani_LOD0" translation="0.0575231 1.72583 -3.65415" nodeId="27" materialIds="5" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="4" name="Gestell_Rolle" translation="0.844502 0.763976 -4" nodeId="28" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="5" name="Gestell_Rolle1" translation="1.22468 0.763976 -4" nodeId="29" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="6" name="Gestell_Rolle2" translation="1.60773 0.763976 -4" nodeId="30" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="7" name="Gestell_Rolle3" translation="1.99697 0.763976 -4" nodeId="31" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="8" name="Gestell_Rolle4" translation="2.34625 0.763976 -4" nodeId="32" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="9" name="Gestell_Rolle5" translation="2.74946 0.763976 -4" nodeId="33" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="10" name="Gestell_Rolle6" translation="3.14455 0.763976 -4" nodeId="34" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="11" name="Gestell_Rolle7" translation="3.57865 0.763976 -4" nodeId="35" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="12" name="Gestell_Rolle8" translation="3.99993 0.763976 -4" nodeId="36" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="13" name="Gestell_Rolle9" translation="4.36715 0.763976 -4" nodeId="37" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="14" name="Gestell_Rolle10" translation="4.77036 0.763976 -4" nodeId="38" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="15" name="Gestell_Rolle11" translation="5.16545 0.763976 -4" nodeId="39" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="16" name="Gestell_Rolle12" translation="5.59955 0.763976 -4" nodeId="40" materialIds="4" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="17" name="Gestell_Rolle13" translation="6.02083 0.763976 -4" nodeId="41" materialIds="4" castsShadows="true" receiveShadows="true"/>
</TransformGroup>
</Scene>


<Animation externalAnimFile="LS22_PW_Anim.i3d.anim" />
</i3D>

Colin Smith (WrinkleysRule) 23.02.2022 13:24
Yes, the problem is in the actual animation sequence and node asignment in your LS22_PW_Anim.i3d.anim file not in any shape or texture file.

Doug Williams (Dougw133) 20.04.2023 07:50
Did you ever get this working? I used the same process with no luck. Why does giants make it so cryptic. Every new game it gets harder to mod. This used to be much easier. And any existing example is locked up in the DLC.

Doug Williams (Dougw133) 21.04.2023 03:17
Some updates on my testing. It seems that it cannot pull multiple animations from one i3d.anim file. I had the same errors as you. It would only find the animation of the first animation at node >0

So what I had to do was pull each animation out separately, call on them separately from the XML, and move the animated reference nodes from the main peaceable file to their own transform group so the animated node ID is <0. With this I solved any errors.

The only other issue now is the only way I can start the animations is with a manual trigger function which is not ideal. Example below and it can only work with one animation.

<controls triggerNode="trigger2" posAction="ACTIVATE_HANDTOOL" posText="action_lightOn" negText="action_lightOff" />

I just want the animations to start with the production, or in second best case would be to just run on a loop from the moment the peaceable is loaded. This used to work flawlessly with FS19 and/or Global Company. I am not sure why Giants have watered down the experience of the game so much. Global Company script productions had fantastic animations and now the built in Productions Script is just function with a boring building sitting there. Anyone know of a way to start the animations besides a manual control trigger?

Doug Williams (Dougw133) 24.04.2023 12:02
Solution is to adopt the script for animation from github. Andy GTX. Every year we have to mod harder to continue the the things that giants scraps and waters down.


Note: Log in to post. Create a new account here.