Community Forum

Howto make Windrow without damaging Grass

Forum Overview >> Farming Simulator 2011

CategoryFarming Simulator 2011
Created04.12.2010 13:04

Christian S (Unknown) 04.12.2010 13:07

How can i create Windrow without damaging the Grass underneath it?

At the moment i do it with "Utils.updateFruitWindrowArea" but this damages the Grass

Kind regards


Stefan Geiger - GIANTS Software 06.12.2010 10:54
The parameters for updaeFruitWindrowAreas are the followings:
Utils.updateFruitWindrowArea(fruitId, startWorldX, startWorldZ, widthWorldX, widthWorldZ, heightWorldX, heightWorldZ, value, force, deleteFruit)

To keep the grass, you should provide false for the deleteFruit parameter.

Torsten Pfau (Unknown) 07.12.2010 03:46
How it have to look with a number example?

Stefan Geiger - GIANTS Software 07.12.2010 13:26
For the other parameters you might want to look at the source code of the windrows specialization of the game here, starting at line 151:

The values x,z,x1,z1,x2,z2 are the startWorld.. values.
The call to the updateFruitWindrowArea function happens then in the windrower event:

The information about the parallelogram information probably is useful as well:

Torsten Pfau (Unknown) 07.12.2010 15:53
Ok, thanxs for answer.

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