Community Forum

Add attribute to fill sprayer/fertilizer spreader from silo

Forum Overview >> Editor

Created17.12.2016 14:17

Bd Bdbssb (bdbssb) 17.12.2016 14:19
I am able to fill and pull fertilizer from my silo. How can I activate the trigger to fill a spreader? I've tried the fs15 attribute allowSprayer and have had no luck. Any help is appreciated.

Bilbo Beutlin (BBeutlin) 18.12.2016 16:23
You can't easily. A silo uses SiloTrigger. Machines with seed and fertilizer use FillTrigger. However in this case you buy always (user attribute "priceScale" isn't regarded anymore in FS17).

Only way at present is mod'ing the machine itself by adding/changing in the XML <allowFillFromAir value="true"/>

Bd Bdbssb (bdbssb) 19.12.2016 03:56
Ok that is the only thing I haven't tried ty for the info

Bd Bdbssb (bdbssb) 19.12.2016 05:51
Hmm adding allow fill from air didn't work.

Mngrazy Grazy (Unknown) 19.12.2016 13:15
try this
add the bit23 to the siloTrigger and the 3 childs

maybe its work ,,, maybe ;)

Bd Bdbssb (bdbssb) 22.12.2016 12:07
Hmm I think I tried bit 23 in collision correct? Not sure what u mean about childs though?

Bilbo Beutlin (BBeutlin) 22.12.2016 13:29
A "child" is a sub transformgroup. Usual silo triggers have 2-4 childs with rigid body. These have as default the collision mask $40000000 for kinematic objects without collision, corresponding to the trailers' <exactFillRootNode>.

You could try to set bit23 additionally, which is meant for trigger_fillables (trailers, sprayers, sowingmachines). But I doubt it would work. ;)
I have a similiar problem with a mixer wagon, tried already reasonable bitmasks without success.

If all other fails, take an auger wagon, perhaps add missing fruitTypes and overload to your machines. These will most probably need the <allowFillFromAir> tag.

Bd Bdbssb (bdbssb) 23.12.2016 02:41
Ok I was thinking that's what u meant. Yeah I believe I tried that as well. Good idea though I think the auger wagon as an over loader is probably a cool idea anyway. Ty for the help.

Bd Bdbssb (bdbssb) 30.12.2016 08:35
Well I had a bit of a workaround but I'm not happy with it. I made a fabrik building that output a bigbag(seeds). First I extended the triggers of the pallet then I put the pallet spawn up in the air and u could either pull directly under the pallet and gravity fill or actually fill like u regularly could. Unfortunately what I thought would be an issue was. If I emptied the pallet while the fabrik was running I'd get the infamous "pallet no free space." A simple reset of the game fixes the problem but I prefer not to have that issue. I still don't understand why it's not possible to add the pallet fillable trigger to a silo and just have multiple triggers like the train hub? I'll play with collision some more.

Bilbo Beutlin (BBeutlin) 30.12.2016 12:53
With the big bags I've no experience. ;)

What you could do: examine the FillTrigger.lua - "function FillTrigger:fill(..)" is responsible for filling tools.
Though it is mainly meant for transporters and overloading, might be possible to adapt a stationary store. At least for one fillType it should be doable. A selection like in SiloTrigger isn't provided.
However I could imagine, adding FillTriggers for each fillType could work - but I can't guarantee. ;)

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