Community Forum

Problem with baller

Forum Overview >> Farming Simulator 2011

CategoryFarming Simulator 2011
Created28.01.2011 23:01

Lukas Tichy (Unknown) 28.01.2011 23:06
I have a problem with my baller function. The baller create bale but are not save this bale.
i usualy script from LS 09. in this function here:

local deltaRealTime = (self.time - self.baleMoveLastTime)/1000;
local lx, ly, lz = bale.lastX, bale.lastY, bale.lastZ;
local x,y,z = getWorldTranslation(;
local rx,ry,rz = getWorldRotation(;
g_currentMission:addItemToSave(bale.filename,, 0);
setTranslation(, x, y, z);
setRotation(, rx, ry, rz);
setRigidBodyType(, "Dynamic");
setLinearVelocity(, (x-lx)/deltaRealTime, (y-ly)/deltaRealTime, (z-lz)/deltaRealTime);

table.remove(self.bales, i);

What i have change so the baller correct save a bale :) ;] (Unknown) 29.01.2011 12:03
277 line in this document:

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