Community Forum

moving tools

Forum Overview >> Farming Simulator 15

CategoryFarming Simulator 15
Created06.02.2016 15:46


Ruben Ca (rucafer02) 06.02.2016 15:55
What's the difference between moving parts and moving tools?
Thanks

Emil Drefers (giants.edrefers) 08.02.2016 08:13
Hi,

movingParts are actually things that move (e.g. cylinders, they are made of one rotating part and one moving/translating part)

Whereas movingTools are mostly triggers only which detect a movement of a specific node and wake up another node which has to be aligned somehow.
Plus, movingTools can be conotrolled with the mouse, in which case they can be moved too.

As always, a closer look at the default vehicles might explain some things ;)
and if you have anymore specific questions feel free to post here.

Cheers,
Emil

Ruben Ca (rucafer02) 18.02.2016 20:48
Hi
Thanks for answering. I would like to know if i can move the wheels of a machine with the mouse, i have tried to do it with moving tools but i couldn't did it.
Thanks


Emil Drefers (giants.edrefers) 19.02.2016 08:21
Hi,

yes you can.

You can add the attribute "wheelIndices" to define which wheels' positions have to updated when the movingTool has changed.

e.g.: wheelIndices="0 1" (first and second wheel)

Cheers,
Emil

Ruben Ca (rucafer02) 19.02.2016 15:51
HI

Where do i have to add that attribute? I have added it on moving tools but i didn't work

Thanks

Emil Drefers (giants.edrefers) 22.02.2016 08:22
Hi,

as always you can have a look at the default vehicles.
e.g. the HorschTerrano5FM makes use of that feature.

Cheers,
Emil

Ruben Ca (rucafer02) 23.02.2016 19:42
Hi

I have had a look to the Horsch Terrano5FM but it use that feature with the folding animation, and i want to use it with mouse controls. I have added that attribute but i still doesn't work.

Thanks

Emil Drefers (giants.edrefers) 24.02.2016 08:11
Hi,

hmmmm, eventually you have mistake somewhere, but it should work with mouse controls too. I never tested that setup though.

If post your vehicle.xml file at pastebin and link that here I could try to find some suspicous entries ;)

Cheers,
Emil



Ruben Ca (rucafer02) 24.02.2016 20:07
HI

These are the lines of the wheel, mouse controls and moving tools: http://pastebin.com/g4cv5ubW

Thanks




Emil Drefers (giants.edrefers) 25.02.2016 08:12
Hi,

found the mistake ;)

The attribute for adjusting the wheel position is called "wheelIndices" not "wheelIndex".
This is due to th efact that you can add more than onw heel to it
e.g. wheelIndices="1" or wheelIndices="1 2 3 4"

Cheers,
Emil

Ruben Ca (rucafer02) 25.02.2016 21:47
Hi

I have changed that but it still doesn't work. I don't know where is the mistake. Any more idea?

Thanks

Emil Drefers (giants.edrefers) 26.02.2016 08:17
Hi,

hmmmm, that sounds strange.
Can we see the new vehicle.xml file?

Cheers,
Emil

Ruben Ca (rucafer02) 26.02.2016 16:35
Hi

That's the xml file. http://pastebin.com/pAuLKhRZ

Thanks

Emil Drefers (giants.edrefers) 29.02.2016 08:02
Hi,

wheelindices VS. wheelIndices ... do you notice something?


Cheers,
Emil

Ruben Ca (rucafer02) 29.02.2016 22:02
It works!!!!!!!
Thanks really, you have helped me a lot, i didn't know what to do and i was desesperate.

Thanks.


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