Community Forum

FS19 Animated Objects

Forum Overview >> Editor

CategoryEditor
Created01.12.2018 13:24


Anthony Queen (tqueen113) 01.12.2018 13:24
Hello I was wondering if any one knows how to set up the AnimatedObjects in FS19 for doors and gates I cannot figure it out.

Thanks

Marek Velozoo (Shevil) 02.12.2018 11:37
fs 17 door dont work in 19 but you must write new scripts animation object

Stefan Geiger - GIANTS Software 03.12.2018 09:12
With the FS19 Patch 1.2 we will re-add support for AnimatedObjects like the used to for in FS17.

Saltybart (Bert85) 03.12.2018 11:10
Thanks for the info Stefan Geiger.

Anthony Queen (tqueen113) 03.12.2018 13:05
Awesome!

Thank you!!

Jamie Glover (Unknown) 03.12.2018 13:59
You can do animation. I have written somewhat how to do it on the Giants Forums. WBF can confirm this works as I told him how to do it the same way!

https://forum.giants-software.com/viewtopic.php?f=895&t=133080

Sicklebandit (Ggoerger) 03.12.2018 14:23
No need for scripts or user attributes to get animated objects working. I got my HydLift door working by placing animated object section in the main xml file under the leveling section. Using the template below, fill in the "X's" and key frames along with placing a trigger to go along with it. Change the posText and negText to display whatever ever you want. The nodes only seem to work without the first digit. example: 0>4|3 would be 4|3. Also, make sure the rigid body type, of the movable part, is set to kinematic otherwise you will get a lot of lag during the animation. I hope this helps!

<animatedObject saveId="X">
<animation duration="10">
<part node="X">
<keyFrame time="0.00" visibility="true" translation="0 0 0" rotation="0 0 0"/> <!-- X -- >
<keyFrame time="1.00" visibility="true" translation="0 0 0" rotation="0 0 0" />
</part>
</animation>
<controls triggerNode="X" posAction="ACTIVATE_HANDTOOL" posText="XOPEN TEXT HEREX" negText="XCLOSE TEXT HEREX" />
<sounds>
<moving file="sounds/X_loop.wav" loops="0" linkNode="X" volume="0.8" radius="25" innerRadius="3" fadeOut="0.25"/>
<posEnd file="sounds/X_opened.wav" linkNode="X" volume="0.8" radius="25" innerRadius="3" />
<negEnd file="sounds/X_closed.wav" linkNode="X" volume="0.8" radius="25" innerRadius="3" />
</sounds>
</animatedObject>


Jamie Glover (Unknown) 03.12.2018 14:41
Sicklebandit, so it does need to be a seperate object then (placeable)?

Sicklebandit (Ggoerger) 04.12.2018 03:31
Jay, I believe all placeables have the ability to be animated within their own xml file. In my understanding / digging, the "animatedobjects xml" from FS17 has migrated to the base xml. Hence, every placeable has animation capabilities within its xml. Furthermore, the <placeableType> in FS17 was "animatedObject". In FS19 the "placeableType" is simply "placeable". I tore apart the small pig husbandry placeable to find out how the animations work. I hope this heads you in the right direction if you're looking to make an animated placeable.

If anyone has found of differently, on any of these subjects, please correct me. Thanks


Jay Glover (Unknown) 04.12.2018 14:49
I thought this was the case and have been saying this is the way to be done. So thanks for clearing that up. I think for now, this is the only way. However, if we have gates and stuff which aren't releated to the farm, I think we may encounter and issue unless there is an ID to set for 'every use' and not just 'ownership'

Sicklebandit (Ggoerger) 05.12.2018 02:50
As far as maps go I havent explored any of the files. I'm still trying to get my 100x50 shed converted but started redoing the models since 19 is more optimized to handle higher polys. Getting to my map idea is taking a lot longer than I expected. Glad to clear things up Jay. Happy Modding! =]

William Rowe (Bonger76) 10.12.2018 17:49
FS19 Patch 1.2 doesn'y suport AnimatedObjects.xml like inFS17 , the patch did not work,I don't get the onCreate error anymore.
If anyone knows how to get this to work.

O.wiesemann (TopAce8888) 31.01.2019 20:25
Did you change the script callback from AnimatedObject.onCreate to AnimatedMapObject?

I tested the automatic opening times in FS19. It is working, but the closed-text doesn't show up properly. It appears just very shortly when im entering the trigger. Does anyone know how to fix this?


<openingHours startTime="8" endTime="20" disableIfClosed="true" closedText="closed"/>

O.wiesemann (TopAce8888) 31.01.2019 20:41
Did you change the script callback from AnimatedObject.onCreate to AnimatedMapObject?

I tested the automatic opening times in FS19. It is working, but the closed-text doesn't show up properly. It appears just very shortly when im entering the trigger. Does anyone know how to fix this?


<openingHours startTime="8" endTime="20" disableIfClosed="true" closedText="closed"/>


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