Community Forum

Night Time

Forum Overview >> Farming Simulator 2011

CategoryFarming Simulator 2011
Created02.03.2011 17:54


Toth Lajos (unknown) 02.03.2011 17:54
I noticed that at night from about 19:00 hours time appear to be going faster. Is there a way to disable this and make it go at the same speed as during the day?

Toth Lajos (unknown) 02.03.2011 17:54
Solution in Farming Simulator 2009:
---
function eventListener:loadMap(name)
self.origTimeScale = g_settingsTimeScale;
end;
function eventListener:deleteMap()
g_settingsTimeScale = self.origTimeScale;
end;

function eventListener:update(dt)
if g_currentMission.environment.dayTime > 20*60*60*1000 or g_currentMission.environment.dayTime < 6*60*60*1000 then
g_settingsTimeScale = self.origTimeScale/4;
else
g_settingsTimeScale = self.origTimeScale;
end;
end;
---
This solution doesn't work Farming Simulator 2011.



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