Community Forum

FS17.Need help setting up the trigger for load milk.

Forum Overview >> Farming Simulator 17

CategoryFarming Simulator 17
Created09.11.2019 16:39

Aleksey Shumilin (Salazgan) 09.11.2019 16:39
Hello, I’m creating a car mod and I want to add the function of transporting and selling milk.With the Gaint Editor I imported "water Trigger" from another mod, but I don’t know how to configure it(In the game, the trigger does not work). I will be very grateful for the help.

Bilbo Beutlin (BBeutlin) 09.11.2019 18:59
At first you must make sure, your car has all required specializations. You'll need to define a new vehicleType (in modDesc) and merge the car's specs with those of a watertrailer. The order of specs is important for proper function. You'll find the specs and their order eg. on your FS17 DVD in sdk\vehicleTypes.txt.

Create a fillTrigger in your car.i3d or import it from a watertrailer.
Setup the car.xml according watertrailer.xml, espec. heed fillTrigger and fillTypes (add fillType "milk").

By default the cow husbandry doesn't have a fillTrigger for milk, so you need to add one on your map. There are also placeable versions around in web.

Aleksey Shumilin (Salazgan) 11.11.2019 14:40
Well, I found a solution to my problem. In addition to setting up the moddesk and .xml, as Bilbo suggested to me, I set up collision mask of the model itself through the Gaint Editor (set the value to 23), after which I can load and sell milk! Bilbo Beutlin, thank you so much for help.

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