Timelapse is a mod for Factorio that takes screenshots of the world at the specified interval.
The screenshots are written to:
__PATH__system-write-data__/script-output/timelapse
/home/user/.factorio/script-output/timelapse
on LinuxUsers/Name/AppData/Roaming/Factorio/script-output/timelapse
on WindowsThe output of this mod can grow into GBs quite quickly! Keep an eye on the script-output/timelapse folder!
__PATH__system-write-data__/mods
/home/user/.factorio/mods
on LinuxUsers/Name/AppData/Roaming/Factorio/mods
on WindowsTimelapse is controlled via the in-game console.
Timelapse is deactivated by default when starting a new world or loading an old world with the mod for the first time.
To activate Timelapse, use:
/c remote.call("timelapse", "active", true)
To deactivate Timelapse, use:
/c remote.call("timelapse", "active", false)
In extension to active, several other functions are provided:
/c remote.call("timelapse", "light_mode", "mode")
/c remote.call("timelapse", "fixed_light", light_value)
/c remote.call("timelapse", "interval", interval_in_seconds)
/c remote.call("timelapse", "position", {x=xpos, y=ypos})
/c remote.call("timelapse", "resolution", {x=xres, y=yres})
/c remote.call("timelapse", "zoom", zoom_level)
/c remote.call("timelapse", "show_entity_info", boolean)
/c remote.call("timelapse", "data")
/c remote.call("timelapse", "reset")
With regards to position, centre on your current position by using:
/c remote.call("timelapse", "position", game.player.position)
The active, light_mode, fixed_light, interval, position, resolution, zoom, and show_entity_info functions can also be called without an argument to get their current value.
The mod attempts to provide helpful messages if you provide invalid input to the interface. In the event that you do manage to gum up the mod with some funky input, calling the reset function to restore the configuration to the default state is the best recourse.
The mod runs in "fixed" light_mode by default. This means that the mod will change the time of day to the fixed_light value, take the shot, and then return the time of day to the original value. This mode produces easier to watch videos as the day-night cycle oscillation is not present in the output video.
However, if you want the day-night cycle visible in the output imagery, you need only change the light_mode to "none" by using:
/c remote.call("timelapse", "light_mode", "none")
Use the make_timelapse.sh script to command ffmpeg to stitch Timelapse images into a video.
<img src="http://img.youtube.com/vi/VXIPNKQAPBQ/0.jpg" alt="factorio-timelapse example" width="320" height="180" border="10" />