Community Forum

Silage vs fermented

Forum Overview >> Farming Simulator 19

CategoryFarming Simulator 19
Created30.03.2021 09:57

Boris Klinko (Boris555) 30.03.2021 09:57

bale wrapper can turn fill type to silage or fermented fill type. Is there a rule for this, like map can use either silage or fermented or can both fill types be used at the same time? Does fermented fill type has do to something with Seasons mod?

Thank you.

Bilbo Beutlin (BBeutlin) 30.03.2021 10:32
There is no rule since 'fermented' types are non-standard, always mods.
So it depends on the map how it is implemented. Can be a fruit- or fillTypeConverter (in fruit/fillTypes.xml). Can be also, a baler/wrapper uses additional baleTypes (bale i3d user attribute "fillType').
Possible is also a map independent standalone script mod which inserts additional types in map and vehicles.

Boris Klinko (Boris555) 30.03.2021 12:12
So I could read which fill type is defined in maps_fillTypes.xml and adjust bale type according to that and if for some reason both types are defined choose one as default.

My script is appended to BaleWrapper.onLoad. At that point can I access table of fill types after it is parsed from .xml file, is there some object like map.fill_types or I have to read maps_fillTypes.xml?

Bilbo Beutlin (BBeutlin) 30.03.2021 22:09
The table of fillTypes you get by 'g_fillTypeManager.fillTypes'.
For more infos see LUADOCS/Script/Misc/FillTypeManager

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