Community Forum

combine_cylindered not resetting fruittype.

Forum Overview >> Farming Simulator 2011

CategoryFarming Simulator 2011
Created27.10.2010 19:57


Ellinor Ström (Unknown) 27.10.2010 20:00
I have a problem working with the BigX 1000 and Claas Jaguar 900 i'm fixing up for 2011. using same data as Krone BigX 1000 in game (i.e. no custom scripts), i have two different types of headers the RU600 (corn silage) and the Direct Disc (grass).

If i go harvesting grass with the Direct Disc header then change header to the RU600 to go harvest corn silage, the combine refuse to accept the corn silage. or the other way around. This applies to both the original Krone BigX 1000 and the mod Claas Jaguar 900

it doesn't reset fruittype, if you have once harvested corn the icon keep showing corn no matter what. until you restart the game.


Ellinor Ström (Unknown) 30.10.2010 13:15
I've managed to work around this by making this script for the custom headers i made. But i still think this is a bug in the original game.

HeaderSpecialization = {};

function HeaderSpecialization.prerequisitesPresent(specializations)
return true;
end;

function HeaderSpecialization:load(xmlFile)
self.av = {};
self.resetFruit = false;
end;

function HeaderSpecialization:mouseEvent(posX, posY, isDown, isUp, button)
end;

function HeaderSpecialization:keyEvent(unicode, sym, modifier, isDown)
end;

function HeaderSpecialization:update(dt)
if self.av.isThreshing then
if self.resetFruit == false then
self.resetFruit = true;
end;
else
if self.resetFruit == true then
self.av.currentGrainTankFruitType = 0;
self.resetFruit = false;
end;
end;
end;

function HeaderSpecialization:draw()
end;

function HeaderSpecialization:onAttach(attacherVehicle)
attacherVehicle.currentGrainTankFruitType = 0;
self.av = attacherVehicle;
end;

function HeaderSpecialization:onDetach()
self.av.currentGrainTankFruitType = 0;
end;

function HeaderSpecialization:delete()
end;



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