In other languages: 日本語 Русский Українська 简体中文

Replay system: Difference between revisions

From Official Factorio Wiki
Jump to navigation Jump to search
(Corrected the location of the checkbox)
(more advanced info, removed map exchange string limitation)
Line 11: Line 11:
Playing a replay will play back in chronological order the actions taken in the world, as if the player was recording. The speed of playback can be increased or decreased to fine-tune the viewing experience.  
Playing a replay will play back in chronological order the actions taken in the world, as if the player was recording. The speed of playback can be increased or decreased to fine-tune the viewing experience.  


To play replays, from the main menu go to Single Player -> Load game, then find the ▶ Start replay button in the upper right.  
To play replays, from the main menu go to Single player → Load game, then find the ▶ Start replay button in the upper right.  


=== The replay GUI ===
=== The replay GUI ===
Line 18: Line 18:


[[File:replay GUI.png]]
[[File:replay GUI.png]]
<pre>
1. Pause/play the replay
2. Slow down playback
3. Speed up playback
4. Playback position
</pre>


In multiplayer replays it is also possible to change the viewpoint player.
The top bar shows the position in the replay out of the total time of the replay. The buttons allow to:
* Pause/play the replay
* Slow down playback
* Speed up playback
 
In multiplayer replays it is also possible to change the viewpoint player via the dropdown. Furthermore, {{Keybinding|F10}} can be used to switch to the next viewpoint player.


== Limitations ==
== Limitations ==
Line 31: Line 30:
* Replays for worlds created in older versions cannot be played. Downgrading is needed to view the replay.
* Replays for worlds created in older versions cannot be played. Downgrading is needed to view the replay.
* Adding/removing mods to the save will also break the replay.
* Adding/removing mods to the save will also break the replay.
* Although the replay option is part of the map settings, it is not saved to map exchange strings, hence it needs to be enabled manually after importing an exchange string.
* Playback view is locked to the character in singleplayer.
* Playback view is locked to the character in singleplayer.
* There is no way to skip ahead, the entire replay must be watched up until the point of interest.
* There is no way to skip ahead, the entire replay must be watched up until the point of interest.
* Re-winding (A.K.A. Going backwards in time ) is not possible.
* Re-winding (A.K.A. Going backwards in time ) is not possible.


== Advanced Features ==
== Advanced features ==


* The game can be saved at any time during playback, thus it is possible to play again from any time during the replay.
* The game can be saved at any time during playback, thus it is possible to play again from any time during the replay.
** This also allows to inspect the state at that point in time without zoom or movement limitations.
* Changing the script files inside the save will not invalidate the replay. This can be used e.g. to collect data or screenshots in the background as the replay runs.
* Changing the script files inside the save will not invalidate the replay. This can be used e.g. to collect data or screenshots in the background as the replay runs.
 
* Converting a save to a scenario and then starting a new game from that scenario restarts the replay at that point. This can be used to begin recording from a point after initial save creation, e.g. after mod or version changes have invalidated the previous replay. These are the steps to convert a save to a scenario and then start a new save game with replay enable:
 
** Main menu → Map editor → Convert save → Select the save file → Convert
** Main menu → Single player → New game → Select the scenario with the save name in the "User scenarios" → Check "Record replay" in the top right → Play


== See also ==
== See also ==

Revision as of 16:22, 12 November 2021


Overview

A replay is a file stored within the game save, containing any information needed to repeat (replay) a game from start, in a movie-like fashion. This feature is to allow players to view how their world came to be.

Creating & playing a replay

Replays can be automatically generated as the map is played, behind the scenes. To enable this, the "Record replay" option needs to be checked when starting a new game. Replays have rather strong limitations, see below.

Playing a replay will play back in chronological order the actions taken in the world, as if the player was recording. The speed of playback can be increased or decreased to fine-tune the viewing experience.

To play replays, from the main menu go to Single player → Load game, then find the ▶ Start replay button in the upper right.

The replay GUI

A simple control GUI is available to control replay playback:

Replay GUI.png

The top bar shows the position in the replay out of the total time of the replay. The buttons allow to:

  • Pause/play the replay
  • Slow down playback
  • Speed up playback

In multiplayer replays it is also possible to change the viewpoint player via the dropdown. Furthermore, F10 can be used to switch to the next viewpoint player.

Limitations

  • Replays for worlds created in older versions cannot be played. Downgrading is needed to view the replay.
  • Adding/removing mods to the save will also break the replay.
  • Playback view is locked to the character in singleplayer.
  • There is no way to skip ahead, the entire replay must be watched up until the point of interest.
  • Re-winding (A.K.A. Going backwards in time ) is not possible.

Advanced features

  • The game can be saved at any time during playback, thus it is possible to play again from any time during the replay.
    • This also allows to inspect the state at that point in time without zoom or movement limitations.
  • Changing the script files inside the save will not invalidate the replay. This can be used e.g. to collect data or screenshots in the background as the replay runs.
  • Converting a save to a scenario and then starting a new game from that scenario restarts the replay at that point. This can be used to begin recording from a point after initial save creation, e.g. after mod or version changes have invalidated the previous replay. These are the steps to convert a save to a scenario and then start a new save game with replay enable:
    • Main menu → Map editor → Convert save → Select the save file → Convert
    • Main menu → Single player → New game → Select the scenario with the save name in the "User scenarios" → Check "Record replay" in the top right → Play

See also