Community Forum

Tention belts

Forum Overview >> Farming Simulator 22

CategoryFarming Simulator 22
Created24.07.2022 05:34

Nina Andersen (WolfieeGirl) 24.07.2022 05:34
Hi. I want to add tension belts to my pallet fork. I added the tensionbelts nodes to the fork.i3d file and edit the fork.xml file. When ingame I can see the belts are working by pressing L button but they don`t strap around the pallet from shop. I got no error in the log file and no error in the fork.i3d file.

This is a frontloader pallet fork from game and not a outside mod. Any tip would be greate. Ps. I also edit the modex.xml file in my fork mod with these lines.

<type name="PalletAutoLoaderimplementDynamicMountAttacher" parent="implementDynamicMountAttacher" filename="$dataS/scripts/vehicles/Vehicle.lua">
<specialization name="tensionBelts" />


Thank you.

William Rowe (Bonger76) 24.07.2022 21:09
try this first change the parent="implementDynamicMountAttacher" to parent="baseAttachable" and would change the <type name to
<type name="implementDynamicMountAttacher". that <type name="PalletAutoLoaderimplementDynamicMountAttacher" name if it is A base game name then it has its own specializations that dont work with the tensionBelts,the AutoLoad trailer with tensionBelts you have to unLoad on trailr first to use the tensionBelts that is what it sounds like you can see your pallet but it is just visable and not an object that your belts can grab

the name "implementDynamicMountAttacher" needs to be the name in your fork.xml <vehicle type="implementDynamicMountAttacher" ,the tensionBelts might be A specialization in the " parent="baseAttachable" " and it will give you A warning that it is ignoreing this specialization

try this,

<type name="implementDynamicMountAttacher" parent="baseAttachable" filename="$dataS/scripts/vehicles/Vehicle.lua">

<specialization name="dynamicMountAttacher" />
<specialization name="tensionBelts" />


Nina Andersen (WolfieeGirl) 25.07.2022 04:36
Hi. Thank you william, I still got problem for the tension belt to strap to the pallets. This is what I got so far.

in the moDesc.xml

<type name="implementDynamicMountAttacher" parent="baseAttachable" filename="$dataS/scripts/vehicles/Vehicle.lua">

<specialization name="dynamicMountAttacher" />
<specialization name="tensionBelts" />


in the fork.xml

<vehicle type="implementDynamicMountAttacher" xmlns:xsi="" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">

Now this option was not working at all, the straps was not even on the fork.

I then took the ingame trailer MH-AL 4320/35 and exported the Tensionbelt transformation group. imported it and set up the nodes in both fork.i3D and the fork.xml. It was not working ether. I took the name from the trailer like this <vehicle type="dynamicMountAttacherTrailer" xmlns:xsi="" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">

in the fork.xml and the moDesc.xml. Now the belt was working again on the forks, but was not strap to the pallets. I am using one of the ingame pallets. Im stuck again. I don`t know why they not strap to the pallets. There are no errors to see.

Another note to write is that the straps work on the fork with or without editing the moDesc.xml

William Rowe (Bonger76) 25.07.2022 23:11
I would try changeing the name type in your .xml and your modDesc to your own name like " beltedForks " or something like that so it is for sure
loading your <specialization in the modDesc, when the game reads A known <vehicle type it might not read your modDesc, and thier might be something with the " <specialization name="dynamicMountAttacher" /> " that changes the collision on the pallets so the belts dont fasten to the
pallets if you change the names then you can add and take away the specialization to see if that is causing the problem,and it mught be the
colision of the forks themself so when the forks pick up the pallet it helps them not fall off. not sure on all this if I get A chance I will try to get it to
to work.Looking back at what you stated above doing it that way I was wrong because with the <vehicle type="implementDynamicMountAttacher"
in your .xml it not reading your modDesc for any new specialization and that is why the belts did not show because the
<vehicle type="implementDynamicMountAttacher" has no <specialization name="tensionBelts" /> and when you changed the name type to
<vehicle type="dynamicMountAttacherTrailer" that has the <specialization name="tensionBelts" /> the vehicale types have different
<specialization conected to them that is why when you make your own name you can make your own <specialization as long as your mod has
that specialization like folding or cylindered in it.Sorry hope this dose not confuse you to much star by just changing the name to yours

<type name="beltedForks" parent="baseAttachable" filename="$dataS/scripts/vehicles/Vehicle.lua">

<specialization name="dynamicMountAttacher" />
<specialization name="tensionBelts" />


in the fork.xml

<vehicle type="beltedForks" xmlns:xsi="" xsi:noNamespaceSchemaLocation="../../../../shared/xml/schema/vehicle.xsd">

If this works and you get belts but still whon't hook to pallet try removing <specialization name="dynamicMountAttacher" /> and see if that
works if it dose not help look at the fork colision mask in .i3d it could be that ,lookig at modded forks the colision mask on the fork for the
dynamicMountAttacher is differnt from the ones on A trailer that would haule pallets and the belts work on them.

hope something here helps

William Rowe (Bonger76) 26.07.2022 01:33
Ok messed with it and it is the " <specialization name="dynamicMountAttacher" /> " .I put belts on the forks with them faceing out off the main body
with the " <specialization name="dynamicMountAttacher" /> " enameled I pulled up to the pallet not touching it and the belts grabed the pallet but once the pallets are on the forks belts dont work if you remove the " <specialization name="dynamicMountAttacher" /> " then you can not
pickup the pallet the pallet colision blocks you,you need the <mountCollisionMask to enter the colision. They set it up this way to keep the pallet from falling off so easly,thier might be A way around this dont know.

William Rowe (Bonger76) 26.07.2022 04:19
this link below is A mod off games modhub I added the tensionBelts remove the collisions of the forks added A back collision so they
dont fall over ,you still have the collision of the pallet to stack or load on trailer with the belts you can can strap A stack of pallets and it
will lock on all of them.

Nina Andersen (WolfieeGirl) 27.07.2022 02:19
Hi William, Thank you for reply to me and thank you for your mod, That was a nice thing to do. I do understand this a little bit better now. I did not know that you could use your own name to it. I thougt I had to use what Giants uses in their system. I was thinkng little bit on the collision on the forks but I thought they must be ther to grab the pallet. I converted a 19 mod before I saw you post and manage to make it work as a bale strapper. in that mod there was a name not from Giants. but I did not understand so much about that. But it worked so i did not think about it no more, and then I saw you reply. I have learned much to day, thanx to you. I notise that your TensionBelt trans form group was in the same place as mine but the my belts was at the wrong place on the forks. I will work more with my fork now and try out a little and see if I can get it to work as yours :)

Again. Thank you william and thank you for the mod and the work on it.

William Rowe (Bonger76) 27.07.2022 03:05
the mod from 19 most use A <specialization name=“baleLoader“ /> or <specialization name=“baleGrab“ /> something that let them pass into the collision our it is just the collision mask on the forks,and not sure on attaching the strapes to the fork if they are adjustable because your start
would have to be on one fork group and the end on the other and not sure they might need to be in the same group.
Hope you get it working.

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