Community Forum

General Animation Question in XML

Forum Overview >> Farming Simulator 22

CategoryFarming Simulator 22
Created30.01.2022 08:30


Rancher Derek (BladeandChalice) 30.01.2022 08:30
Can I animate in Blender and/or Maya. I wondering if its possible to just play the animation baked or do I have animate the folding animation by hand in the XML, I'd like to add some extra animation stuff to my mod if possible.

M********* R******** (sharecropper27) 30.01.2022 22:57
I baked key frames in blender 3.0 and it showed as an animation in GIants Editor 9.0. keep in mind the Z and Y axis flip so make sure you bake transforms or the object will not move. My understanding is the XML still needs the animation listed. Source: In game items of the same type require. Animation in the XML

Here is the Giants Wilson Pacesetter trailer XML line 142-198:

<animations>
<animation name="tipAnimationFront">
<part node="doorFront" startTime="0.0" endTime="1.5" startTrans="-0.011 0.515 2.256" endTrans="-0.011 0.515 1.615" />
<part node="doorHandleFrontRot" startTime="0.0" endTime="1.5" startRot="0 0 0" endRot="1440 0 0" />
<part node="doorHandleFront1" startTime="0.0" endTime="1.5" startRot="0 0 0" endRot="0 0 1440" />

<sound template="clackVar1" startTime="0.01" direction="0" volumeScale="0.8" pitchScale="1.9"/>
<sound template="clackVar1" startTime="0.4" direction="0" volumeScale="0.8" pitchScale="1.9"/>
<sound template="clackVar1" startTime="0.8" direction="0" volumeScale="0.8" pitchScale="1.9"/>
<sound template="clackVar1" startTime="1.2" direction="0" volumeScale="0.8" pitchScale="1.9"/>
<sound template="clackVar2" startTime="0.01" direction="0" volumeScale="1.1" pitchScale="2.5"/>
<sound template="clackVar2" startTime="0.6" direction="0" volumeScale="1.1" pitchScale="2.5"/>
<sound template="clackVar2" startTime="1.0" direction="0" volumeScale="1.1" pitchScale="2.5"/>
<sound template="clackVar2" startTime="1.4" direction="0" volumeScale="1.1" pitchScale="2.5"/>
<sound template="slideOpen" startTime="0.01" direction="1" volumeScale="3.5" pitchScale="1.1"/>
<sound template="slideClose" startTime="1.49" direction="-1" volumeScale="3.5" pitchScale="1.3"/>
<sound template="metalClose" startTime="1.49" direction="1" volumeScale="1.2" pitchScale="2"/>
<sound template="metalClose" startTime="0.0" direction="-1" volumeScale="1.2" pitchScale="1.8"/>
</animation>
<animation name="tipAnimationBack">
<part node="doorBack" startTime="0.0" endTime="1.5" startTrans="-0.011 0.515 -1.908" endTrans="-0.011 0.515 -1.319" />
<part node="doorHandleBackRot" startTime="0.0" endTime="1.5" startRot="0 0 0" endRot="-1440 0 0" />
<part node="doorHandleBack1" startTime="0.0" endTime="1.5" startRot="0 0 0" endRot="0 0 -1440" />

<sound template="clackVar1" startTime="0.01" direction="0" volumeScale="0.8" pitchScale="1.9"/>
<sound template="clackVar1" startTime="0.4" direction="0" volumeScale="0.8" pitchScale="1.9"/>
<sound template="clackVar1" startTime="0.8" direction="0" volumeScale="0.8" pitchScale="1.9"/>
<sound template="clackVar1" startTime="1.2" direction="0" volumeScale="0.8" pitchScale="1.9"/>
<sound template="clackVar2" startTime="0.01" direction="0" volumeScale="1.1" pitchScale="2.5"/>
<sound template="clackVar2" startTime="0.6" direction="0" volumeScale="1.1" pitchScale="2.5"/>
<sound template="clackVar2" startTime="1.0" direction="0" volumeScale="1.1" pitchScale="2.5"/>
<sound template="clackVar2" startTime="1.4" direction="0" volumeScale="1.1" pitchScale="2.5"/>
<sound template="slideOpen" startTime="0.01" direction="1" volumeScale="3.5" pitchScale="1.1"/>
<sound template="slideClose" startTime="1.49" direction="-1" volumeScale="3.5" pitchScale="1.3"/>
<sound template="metalClose" startTime="1.49" direction="1" volumeScale="1.2" pitchScale="2"/>
<sound template="metalClose" startTime="0.0" direction="-1" volumeScale="1.2" pitchScale="1.8"/>
</animation>
<animation name="toggleCover">
<part node="coverClosed" startTime="0" endTime="0.05" visibility="true" />
<part node="coverClosed" startTime="0.05" endTime="0.1" visibility="false" />
<part node="coverOpen" startTime="0" endTime="0.05" visibility="false" />
<part node="coverOpen" startTime="0.05" endTime="0.1" visibility="true" />

<sound template="fabricCover2" startTime="0.01" direction="1" volumeScale="1.4" pitchScale="1.2"/>
<sound template="fabricCover1" startTime="0.05" direction="-1" volumeScale="1.4" pitchScale="1.2"/>
<sound template="clackVar1" startTime="0.01" direction="0" volumeScale="1.6" pitchScale="1.7"/>
<sound template="latchSmall" startTime="0.01" direction="-1" volumeScale="0.4" pitchScale="2.0"/>
</animation>
<animation name="moveSupport">
<part node="supportArm" startTime="0.0" endTime="0.25" startTrans="0 0.366 3.706" endTrans="0 -0.09 3.706" />

<sound template="metalClose" startTime="0.01" direction="0" volumeScale="0.5" pitchScale="1.8" linkNode="attacherJoint"/>
<sound template="clackVar2" startTime="0.24" direction="1" volumeScale="0.6" pitchScale="1.7" linkNode="attacherJoint"/>
<sound template="clackVar2" startTime="0.24" direction="-1" volumeScale="0.6" pitchScale="1.2" linkNode="attacherJoint"/>
<sound template="slideOpen" startTime="0.01" direction="1" volumeScale="1.2" pitchScale="3.6" linkNode="attacherJoint"/>
</animation>
</animations>





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