Community Forum

Animation door doesnt work after freeze transformation

Forum Overview >> Editor

CategoryEditor
Created26.07.2021 11:51


Tim Sprinkhuizen (timspr) 26.07.2021 11:51
All,

Solved one got into another issue. After freezing transformations on the parent of the door now they stopped working.
Cannot find what could be wrong, but believe it must have to do with my freeze transformation action as it worked before.
The noteID 10674 did not change i checked in map.i3d so must be something else.
One error in log is : Error: index 'roldeur' not found in AnimatedObject xml, which before did not occur and the door worked.

Thanks in advance for willing to have a look:

---animatedObjects.xml---------------------------------------------
<animatedObjects>
<annotation>Copyright (C) GIANTS Software GmbH, All Rights Reserved.</annotation>

<!--ROLLDOORS-->
<animatedObject index="roldeur">
<animation duration="4">
<part node="1"> <!--index of segment 1-->
<Keyframe time="0" translation="0 0.53 0" rotation="0 -0 0"/>
<Keyframe time="0.2" translation="0 1.384 0" rotation="0 0 0"/>
<Keyframe time="0.4" translation="0 2.244 0" rotation="0 0 0"/>
<Keyframe time="0.6" translation="0 3.105 0" rotation="0 0 0"/>
<Keyframe time="0.8" translation="0 3.966 0" rotation="0 0 0"/>
<Keyframe time="1" translation="0 4.653 0.275" rotation="45 0 0"/>
</part>
<part node="2"> <!--index of segment 2-->
<Keyframe time="0" translation="0 1.384 0" rotation="0 0 0"/>
<Keyframe time="0.2" translation="0 2.244 0" rotation="0 0 0"/>
<Keyframe time="0.4" translation="0 3.105 0" rotation="0 0 0"/>
<Keyframe time="0.6" translation="0 3.966 0" rotation="0 0 0"/>
<Keyframe time="0.8" translation="0 4.653 0.275" rotation="45 0 0"/>
<Keyframe time="1" translation="0 4.963 1.006" rotation="90 0 0"/>
</part>
<part node="3"> <!--index of segment 3-->
<Keyframe time="0" translation="0 2.244 0" rotation="0 0 0"/>
<Keyframe time="0.2" translation="0 3.105 0" rotation="0 0 0"/>
<Keyframe time="0.4" translation="0 3.966 0" rotation="0 0 0"/>
<Keyframe time="0.6" translation="0 4.653 0.275" rotation="45 0 0"/>
<Keyframe time="0.8" translation="0 4.963 1.006" rotation="90 0 0"/>
<Keyframe time="1" translation="0 4.963 1.863" rotation="90 0 0"/>
</part>
<part node="4"> <!--index of segment 4-->
<Keyframe time="0" translation="0 3.105 0" rotation="0 0 0"/>
<Keyframe time="0.2" translation="0 3.966 0" rotation="0 0 0"/>
<Keyframe time="0.4" translation="0 4.653 0.275" rotation="45 0 0"/>
<Keyframe time="0.6" translation="0 4.963 1.006" rotation="90 0 0"/>
<Keyframe time="0.8" translation="0 4.963 1.863" rotation="90 0 0"/>
<Keyframe time="1" translation="0 4.963 2.718" rotation="90 0 0"/>
</part>
<part node="5"> <!--index of segment 5-->
<Keyframe time="0" translation="0 3.966 0" rotation="0 0 0"/>
<Keyframe time="0.2" translation="0 4.653 0.275" rotation="45 0 0"/>
<Keyframe time="0.4" translation="0 4.963 1.006" rotation="90 0 0"/>
<Keyframe time="0.6" translation="0 4.963 1.863" rotation="90 0 0"/>
<Keyframe time="0.8" translation="0 4.963 2.718" rotation="90 0 0"/>
<Keyframe time="1" translation="0 4.963 3.572" rotation="90 0 0"/>
</part>
</animation>
<controls triggerNode="0" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate"/>
<sound file="sounds/OpenElectricDoorSound.wav" pitchOffset="1.00" volume="0.40" indoorVolumeFactor="0.55" indoorLowpassGain="0.85" pitchMax="1.15" />
</animatedObject>
</animatedObjects>

---MAP.i3d----------------------------------------------------------------
<TransformGroup name="ROLLDOORS" nodeId="10673">

<TransformGroup name="ROLLDOOR1" translation="964.901 113.643 1724.1" rotation="0 -8.83937 0" clipDistance="100" nodeId="10674">
<Shape shapeId="7" name="gateTrigger" translation="-5.6882e-05 0.120978 -0.340646" static="true" trigger="true" collisionMask="11534336" linearDamping="0.5" angularDamping="0.5" nodeId="10675" materialIds="1033" castsShadows="true" receiveShadows="true" nonRenderable="true"/>
<Shape shapeId="8" name="1" translation="0 0.53 0" kinematic="true" nodeId="10676" materialIds="1423" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="9" name="2" translation="0 1.384 0" kinematic="true" nodeId="10677" materialIds="1423" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="10" name="3" translation="0 2.24437 0" kinematic="true" nodeId="10678" materialIds="470,1423" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="11" name="4" translation="0 3.10497 0" kinematic="true" nodeId="10679" materialIds="470,1423" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="12" name="5" translation="0 3.96567 0" kinematic="true" nodeId="10680" materialIds="1423" castsShadows="true" receiveShadows="true"/>
<Shape shapeId="13" name="Standaard" translation="-0.046435 -0.0627856 0.0134148" static="true" nodeId="10681" materialIds="567" castsShadows="true" receiveShadows="true"/>
</TransformGroup>

<UserAttribute nodeId="10674">
<Attribute name="index" type="string" value="roldeur"/>
<Attribute name="onCreate" type="scriptCallback" value="AnimatedMapObject.onCreate"/>
<Attribute name="xmlFilename" type="string" value="maps/animatedObjects.xml"/>
</UserAttribute>


--------LOG ------------------

IANTS Engine Runtime 8.0.0 (22969) 64bit Steam (Build Date: Oct 28 2020)
Copyright (c) 2008-2019, GIANTS Software GmbH (giants-software.com), All Rights Reserved.
Copyright (c) 2003-2019, Christian Ammann and Stefan Geiger, All Rights Reserved.
Application: FarmingSimulator2019
Main System
CPU: Intel(R) Core(TM) i7-10700 CPU @ 2.90GHz
Memory: 32688 MB
OS: Windows NT 10.0 64-bit
Physics System
Version: 5.9.5
Thread(s): 2
Input System
Keyboard enabled
Mouse enabled
Gamepad/Joystick enabled
Force Feedback disabled
Audio System
Driver: SoftMixer WASAPI Stereo
Version: 2018.11
Frequency: 48000
Max. active sources: 256
Render System
Driver: Direct 3D 11
Card Vendor: NVIDIA Corporation
Renderer: NVIDIA GeForce RTX 3070
Version: 27.21.14.5751 (22.11.2020)
Revision: 161
Feature level: DirectX 11
Windowed Mode : off
V-Sync : on
Effective Window Resolution: 2560 x 1440
Started 3 threads for threadpool 'Render threadpool'
Hardware Profile
Level: Custom Very High
View Distance Factor: 2.000000
Shadow Quality: 2.000000 Base-Size: 2048 Filter-Size: 16 Shadow Focus Box true
Shader Quality: 3
Skip Mipmaps: 0
LOD Distance Factor: 2.000000
Terrain LOD Distance Factor: 2.000000
Terrain Normal Mapping: Yes
Foliage View Distance Factor: 2.000000
Volume Mesh Tessellation Factor: 0.500000
Tyre Tracks Segments Factor: 4.000000
Max. Number of Shadow Lights: 10
Max. Number of Lights: 512
Max. Number of Lights Per Cluster: 32
MSAA: 8
Bloom Quality: 5
SSAO Quality: 15
DOF: Enabled
Cloud Quality: 4
EnvMap Blending: Enabled
Setting 'Master Volume': 1
Setting 'Is Train Tabbable': true
Setting 'Radio Vehicle Only': true
Setting 'Radio Active': false
Setting 'Use Colorblind Mode': false
Setting 'Easy Arm Control': true
Setting 'Show Trigger Marker': true
Setting 'Show Field-Info': true
Setting 'Invert Y-Look': false
Setting 'Show Help Icons': true
Setting 'Radio Volume': 0.5
Setting 'Vehicle Volume': 0.80000001192093
Setting 'Environment Volume': 0.80000001192093
Setting 'GUI Volume': 0.5
Setting 'Master Volume': 1
Setting 'Music Volume': 0
Farming Simulator 19 (Steam)
Version: 1.7.1.0 b10490
Available Languages: en de jp pl cz fr es ru it pt hu nl cs ct br tr ro kr
Language: en
Time: 2021-07-26 11:10:55
Available dlc: (Hash: f97f68bac080f31087f100bb2254582c) (Version: 1.2.1.0) pdlc_alpineFarmingPack
Available dlc: (Hash: ce8b34ff3e433c683d3d712b4485442d) (Version: 1.3.0.0) pdlc_claasPack
dataS2/character/humans/characterAnimation.i3d (72.86 ms)
Available mod: (Hash: 3266b9e838b49100e8b3610fb07ea808) (Version: 1.0.2.0) FS19_holmerPack
dataS2/character/humans/pedestrians/pedestrianAnimation.i3d (34.92 ms)
Available mod: (Hash: 9570280565541e8c4db37178420b39b5) (Version: 1.0.0.0) FS19_EptyMap
Available mod: (Hash: 6b09190c9b9d85f98e8fcdb82a91e004) (Version: 1.0.0.0) Haundorf_and_Absberg
2021-07-26 11:11 Loaded specializations
2021-07-26 11:11 Loaded vehicle types
2021-07-26 11:11 Loaded placeable types
2021-07-26 11:11 Load dlc: pdlc_alpineFarmingPack
2021-07-26 11:11 Load dlc: pdlc_claasPack
2021-07-26 11:11 Load mod: FS19_holmerPack
2021-07-26 11:11 Load mod: Haundorf_and_Absberg
2021-07-26 11:11 Register placeable type: extendedTrainPlaceable
2021-07-26 11:11 Register placeable type: trainWoodSellStationPlaceable
2021-07-26 11:11 Register placeable type: chargingStation
2021-07-26 11:11 Register configuration 'baseColor'
2021-07-26 11:11 Register configuration 'design'
2021-07-26 11:11 Register configuration 'designColor'
2021-07-26 11:11 Register configuration 'vehicleType'
2021-07-26 11:11 Register configuration 'attacherJoint'
2021-07-26 11:11 Register workAreaType 'SOWINGMACHINE'
2021-07-26 11:11 Register workAreaType 'PLOW'
2021-07-26 11:11 Register configuration 'inputAttacherJoint'
2021-07-26 11:11 Register configuration 'wrappingColor'
2021-07-26 11:11 Register configuration 'powerTakeOff'
2021-07-26 11:11 Register configuration 'trailer'
2021-07-26 11:11 Register workAreaType 'FORAGEWAGON'
2021-07-26 11:11 Register workAreaType 'BALER'
2021-07-26 11:11 Register workAreaType 'MOWER'
2021-07-26 11:11 Register configuration 'pipe'
2021-07-26 11:11 Register workAreaType 'WINDROWER'
2021-07-26 11:11 Register workAreaType 'TEDDER'
2021-07-26 11:11 Register workAreaType 'ROLLER'
2021-07-26 11:11 Register workAreaType 'COMBINECHOPPER'
2021-07-26 11:11 Register workAreaType 'COMBINESWATH'
2021-07-26 11:11 Register workAreaType 'DEFAULT'
2021-07-26 11:11 Register workAreaType 'AUXILIARY'
2021-07-26 11:11 Register configuration 'tensionBelts'
2021-07-26 11:11 Register configuration 'baseMaterial'
2021-07-26 11:11 Register configuration 'designMaterial'
2021-07-26 11:11 Register workAreaType 'RIDGEMARKER'
2021-07-26 11:11 Register workAreaType 'WEEDER'
2021-07-26 11:11 Register workAreaType 'CUTTER'
2021-07-26 11:11 Register configuration 'motor'
2021-07-26 11:11 Register workAreaType 'FRUITPREPARER'
2021-07-26 11:11 Register configuration 'buyableBaleAmount'
2021-07-26 11:11 Register workAreaType 'SPRAYER'
2021-07-26 11:11 Register configuration 'fillUnit'
2021-07-26 11:11 Register configuration 'folding'
2021-07-26 11:11 Register configuration 'cover'
2021-07-26 11:11 Register configuration 'wheel'
2021-07-26 11:11 Register configuration 'rimColor'
2021-07-26 11:11 Register workAreaType 'CULTIVATOR'
2021-07-26 11:11 Register configuration 'fillVolume'
2021-07-26 11:11 Register configuration 'frontloader'
2021-07-26 11:11 Register configuration 'alpineBaleWrapperAnimation'
2021-07-26 11:11 data/shared/connectionHoses/hoses.i3d (46.58 ms)
2021-07-26 11:11 data/shared/connectionHoses/connectors.i3d (41.82 ms)
2021-07-26 11:11 data/shared/connectionHoses/hoseMaterialHolder.i3d (13.95 ms)
2021-07-26 11:11 data/objects/squarebales/baleStraw240.i3d (18.16 ms)
2021-07-26 11:11 data/objects/squarebales/baleHay240.i3d (11.72 ms)
2021-07-26 11:11 data/objects/squarebales/baleGrass240.i3d (12.73 ms)
2021-07-26 11:11 data/objects/squarebales/kuhnSW4014/baleSilage240.i3d (26.03 ms)
2021-07-26 11:11 data/objects/roundbales/roundbaleStraw_w112_d130.i3d (25.91 ms)
2021-07-26 11:11 data/objects/roundbales/roundbaleHay_w112_d130.i3d (22.61 ms)
2021-07-26 11:11 data/objects/roundbales/roundbaleGrass_w112_d130.i3d (14.67 ms)
2021-07-26 11:11 data/objects/roundbales/roundbaleSilage_w112_d130.i3d (7.81 ms)
2021-07-26 11:11 data/objects/cottonModules/cottonModule488.i3d (96.70 ms)
2021-07-26 11:11 data/sky/sky.i3d (10.91 ms)
2021-07-26 11:11 data/sky/rain.i3d (26.82 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/map.i3d (15688.17 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/wheat.i3d (22.79 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/grassDense.i3d (24.37 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/canola.i3d (7.24 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/barley.i3d (1.83 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/maize.i3d (23.19 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/decoFoliage.i3d (64.34 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/potato.i3d (7.91 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/potatoHaulm.i3d (6.02 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/sugarbeet.i3d (2.52 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/sugarbeetHaulm.i3d (1.73 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/sunflower.i3d (24.49 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/soybean.i3d (20.90 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/oilseedRadish.i3d (1.12 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/poplar.i3d (26.66 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/bush01.i3d (47.98 ms)
2021-07-26 11:11 Info: transform group 'bush01' has elements very far out from the cell edge (29.61% expansion)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/oat.i3d (21.34 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/sugarCane.i3d (26.42 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/sugarCaneHaulm.i3d (1.78 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/cotton.i3d (12.03 ms)
2021-07-26 11:11 C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/foliage/weed.i3d (54.22 ms)
2021-07-26 11:11 Error: C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/animatedObjects.xml. part.
2021-07-26 11:11 Error: index 'roldeur' not found in AnimatedObject xml 'C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/maps/animatedObjects.xml'!
2021-07-26 11:20 C:/Program Files (x86)/Steam/steamapps/common/Farming Simulator 19/pdlc/claasPack/shared/connectionHoses/connectors.i3d (170.34 ms)
2021-07-26 11:20 Disabled withering
2021-07-26 11:20 C:/Program Files (x86)/Steam/steamapps/common/Farming Simulator 19/pdlc/alpineFarmingPack/particleSystems/particle_materialHolder.i3d (0.67 ms)
2021-07-26 11:20 C:/Program Files (x86)/Steam/steamapps/common/Farming Simulator 19/pdlc/claasPack/particleSystems/effect_materialHolder.i3d (1.98 ms)
Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/defaultVehicles.xml'.
2021-07-26 11:20 Error: Failed to open xml file 'C:/Users/Tim/Documents/My Games/FarmingSimulator2019/mods/Haundorf_and_Absberg/defaultItems.xml'.
2021-07-26 11:20 data/store/ui/shop.i3d (22.18 ms)
2021-07-26 11:20 data/shared/materialHolders/glowEffectMaterialHolder.i3d (0.16 ms)
2021-07-26 11:20 data/store/ui/cube.i3d (0.13 ms)
2021-07-26 11:20 data/store/ui/sphere.i3d (0.22 ms)
2021-07-26 11:20 dataS2/character/humans/player/player01.i3d (214.62 ms)
2021-07-26 11:20 Setting 'Radio Volume': 0.5
2021-07-26 11:20 Setting 'Vehicle Volume': 0.80000001192093
2021-07-26 11:20 Setting 'Environment Volume': 0.80000001192093
2021-07-26 11:20 Setting 'GUI Volume': 0.5
2021-07-26 11:20 Info: Savegame Setting 'dirtInterval': 3
2021-07-26 11:20 Info: Savegame Setting 'plantGrowthRate': 4
2021-07-26 11:20 Info: Savegame Setting 'fuelUsageLow': true
2021-07-26 11:20 Info: Savegame Setting 'plowingRequiredEnabled': false
2021-07-26 11:20 Info: Savegame Setting 'weedsEnabled': true
2021-07-26 11:20 Info: Savegame Setting 'limeRequired': true

Bilbo Beutlin (BBeutlin) 26.07.2021 22:30
The "freeze" didn't cause the error, it doesn't touch user attributes.

There's something wrong in your animatedObjects.xml or map.i3d
>> Error: */animatedObjects.xml. part.
That means a 'part' description could not be resolved. So the complete <animatedObject index="roldeur"> is invalid. Hence results the
>> Error: index 'roldeur' not found in AnimatedObject xml '*/animatedObjects.xml'!
I'd guess, by moving the TG you have probably messed the order or hierachy of the subnodes.


Other theme, but also pay attention to the
>> Error: Failed to open xml file '*/defaultItems.xml'.

Tim Sprinkhuizen (timspr) 27.07.2021 11:01
Dear Bilbo,

Thanks again for replying so fast and taking to the time to reply!
I suspected the same thing as what you mention as it worked before in the map and now all the doors are not working that its something in the order/hierachy, but cant seem to locate it.

Would you have any tips what variable more to check other than what I tried sofar:
1. I checked the trigger is position 0is actually , the door 1/2/3/4/5 for the moving parts, that hierarchy seems ok.
2. Also double checked the note IDs itself and they are also matching with what I see in both the editor and in the xml.
3. I checked the translate/rotation variables and in-game in wireframe also see the trigger so it is in its position.
4. Also made a new test with a door from scratch and that also fails to work which is strange as then the hierarchy should be ok.




Bilbo Beutlin (BBeutlin) 27.07.2021 13:55
XML is strictly case sensitive. So in "animatedObjects.xml" replace all 'Keyframe' with 'keyFrame' (lower case 'k, upper case 'F').
Perhaps that was it already.


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