Community Forum

repeating animation

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created07.11.2016 18:02


Jorn Hiel (fa285634) 07.11.2016 18:06
Hi i got a question, does anyknow how to make an animation run non stop while in the vehicle ?

I'm upgrading some of my older mods to 17 , and now i got a few that i'd like to have animated while driving, Like the back of a cement truck etc ( rotate non stop while driver is in it )

Does any one know how to pull this off ? Thanks in advance

Thomas H. (Patar) 07.11.2016 21:48
Hey,

you can use the "TurnOnVehicle"-specialisation.

<turnedOnRotationNodes>
<turnedOnRotationNode index="0>0|0" type="turnOn" rotSpeed="50" rotAxis="1" turnOnFadeTime="4" turnOffFadeTime="7"/>
</turnedOnRotationNodes>

Of course you have to set your index, and rotAxis to the right values...


Regards,

Thomas

Jorn Hiel (fa285634) 08.11.2016 17:21
thanks, i'll give it a go

Jorn Hiel (fa285634) 10.11.2016 18:23
yep , the rotation thing works nicely for the example of the cement truck, but the animation im hoping to loop has a translation and parts going visible / invisble. Basicly its to create an animated effect on a light decoration piece

Thomas H. (Patar) 12.11.2016 20:58
okay, then you could use your normal animation in xml and do following:

<turnOnVehicle>
<turnedOnAnimation name="XXXXX" type="turnOn" turnOnFadeTime="1" turnOffFadeTime="1" speedScale="1" />
</turnOnVehicle>

I don`t really know exactly if it works like that, but by looking in the script I found that lines...

Good Luck ;-)


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