Community Forum

loader wagon extension

Forum Overview >> Farming Simulator 15

CategoryFarming Simulator 15
Created21.06.2015 10:23


Bilbo Beutlin (BBeutlin) 21.06.2015 10:23
I want to modify a loader wagon so it can pickup additional fillTypes, eg. manure from manure heap, silage from bunker silo, woodChips from the farm silo/heap. Seems also quite logical, that a loader wagon can pickup these.
Must I really script it explicitely or is there a simple method?
I examined the "loaderWagon.lua" and found it can pickup only windrow types. However there is a "backward compatibility" part, which allows <fillTypes .. convertToWindrowFillType=".." />
So I first tried by adding to wagon.xml <fillTypes fruitTypes="... woodChips silage manure" convertToWindrowFillType="woodChips silage manure" /> - but doesn't work. Probably because the pickup is designed to collect from ground, not from storage.
Is there anything in the map.i3d to change/add so the wagon can pickup from the certain places? Or any other solution without scripting a special wagon.lua?

Emil Drefers (Unknown) 22.06.2015 07:49
Hi,

you are right, the forage wagonn is not designed for picking up from a silo/storage.

Well, you could try to add the Shovel specialization - but without any guarantee that it will work or that it won't have any side effects.
A shovel is able to pickup stuff from a heap, so as soon as the silo/storage has a trigger for shovels it could work.
Note: In general a shovel can only pickup up stuff it is moved forwards. But you can remove this 'limitation' (rather feature ;) ) by setting <shovel ignoreVehicleDirectionOnLoad="true"/>.

Nonetheless I wonder why you would like to do that?
I have never seen a wagon which could load manure directly and I can't imagine a wagon to be able to do that.

If you don't want to load your wagons by using a shovel you could have a look for conveyors which do transport the fill types (there have been mods in FS13, don't know about fs15 though)

Cheers,
Emil

Bilbo Beutlin (BBeutlin) 22.06.2015 10:43
Well, seemed quite nearby for me, because by material manure and silage are very similiar to straw/windrow. I think, also in reality a loader wagon could pickup these.
Another point is simplification compared to loading with shovel. ;) And also with conveyors one has always two vehicles and must toggle between.

I'll try it with the shovel spec., perhaps I get it to work.

Bilbo Beutlin (BBeutlin) 22.06.2015 16:33
Done - was easier than expected: I took the Kuhn forage mixer as example, added in i3d a shovel col to the pickup, added in xml a similiar shovel tag, added in modDesc shovel spec.
It works like a charme. :)

The only difference: the Kuhn loads if switched on only, my mod loads as soon as it has contact, though both have the 'turnOnVehicle' spec. Not really a problem, more detail cosmetic, but perhaps you have an idea how to make it switchable together with the loader wagon turn on/off?

Emil Drefers (Unknown) 23.06.2015 08:07
Hi,

to stop the Shovel specialization from filling the wagon you would have to write a custom script.

Cheers,
Emil


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