Community Forum

animatedObjects

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created08.09.2019 18:49


Dirk Schulze (DirkSch) 08.09.2019 18:49
https://www.dropbox.com/s/otqpqh8rvmpxck9/animateObjects.jpg?dl=0
Nach dem ich die Türen So wie in dem Bild zu sehen im GE zurecht gebaut habe, bekomme ich folgende Fehlermeldung:

2019-09-08 15:49 Error: C:/Users/User/Documents/My Games/FarmingSimulator2019/mods/LS19_MIG_Map_MadeInGermany_Celle/animatedObjects.xml. animatedObject. .
2019-09-08 15:49 Error: index 'hof1D3' not found in AnimatedObject xml 'C:/Users/User/Documents/My Games/FarmingSimulator2019/mods/LS19_MIG_Map_MadeInGermany_Celle/animatedObjects.xml'!

Der Eintrag in der animatedObjects.xml :

<animatedObject index="hof1D3" >
<animation duration="1.5">
<part node="1">
<keyFrame time="0.0" translation="-2.24 -1.43 0.12" rotation="0 0 0"/>
<keyFrame time="1.0" translation="2.45 -1.43 0.12" rotation="0 0 0"/>
</part>
</animation>
<controls triggerNode="0" posAction="ACTIVATE_HANDTOOL" posText="action_openGate" negText="action_closeGate" />
<sounds>
<moving file="$data/sounds/maps/details/eu/crane_6.wav" loops="0" linkNode="1" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
<posEnd file="$data/sounds/prefab/gate/gate_opened.wav" linkNode="1" volume="0.8" radius="25" innerRadius="3" />
<negEnd file="$data/sounds/prefab/gate/gate_closed.wav" linkNode="1" volume="0.8" radius="25" innerRadius="3" />
</sounds>
</animatedObject>

Wieso findet der das nicht? als das in 10 Transformgroups verschachtelt war hatte ich eine Fehlermeldung das die Indexe nicht zum Trigger passen bzw das Tor kein MovingObject ist.

Bilbo Beutlin (BBeutlin) 08.09.2019 20:33
Your path to the xml is probably wrong. If using standard paths should be "maps/animatedObjects.xml".
Also the nesting of xml tags is wrong. See for reference Downloads -> "Farming Simulator 17 Door Trigger SDK (v2)" - still valid in FS19 also.


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