Difference between revisions of "Replay"

From Unrailed! Wiki
Jump to navigation Jump to search
(Created page with "Each game session is automatically recorded and stored as replay. Replays can be played from the main menu.")
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
Each game session is automatically recorded and stored as replay. Replays can be played from the main menu.
 
Each game session is automatically recorded and stored as replay. Replays can be played from the main menu.
 +
 +
== Replay Camera Mode ==
 +
 +
For quite some time the Unrailed! replay system was able to use a freely configurable camera.
 +
This was mostly used internally for trailer production but not really documented.
 +
 +
The [] depict keyboard keys. The different actions of these keys are described in the following:
 +
 +
[0] -> Default game camera (static offset relative to the train position on the X axis)
 +
[1] -> Camera freely movable (on the X/Y plane with static height and angle) and not relative to any moving object
 +
[2] -> Camera fixed to the first train
 +
[3] -> Camera fixed to the second train (only matters for PvP)
 +
[4] -> Camera fixed to the first player
 +
[5] -> Camera fixed to the second player
 +
[6] -> Camera fixed to the third player
 +
[7] -> Camera fixed to the fourth player
 +
 +
Camera zoom is in [0.05, 2] and is clamped to be in that range.
 +
Default is zoom = 1.0 meaning no zoom!
 +
A value of 2 means everything is scaled down by a factor of two (zoomed out)
 +
A value of 1/2 means everything is scaled up by a factor of tow (zoomed in)
 +
 +
[PageUp] -> zoom += 0.01;
 +
[PageDown] -> zoom -= 0.01;
 +
[F1] -> zoom = 1.0
 +
[F2] -> zoom = 0.5
 +
[F3] -> zoom = 0.4
 +
[F4] -> zoom = 0.3
 +
[F5] -> zoom = 0.2
 +
 +
In case [1] was pressed the camera is in freely movable mode:
 +
The camera position is 3D the X/Y plane is the game plane while Z is the up axis with the origin being on the bottom left of the screen.
 +
Thus the normal camera is moving in positive X direction;
 +
 +
[I] -> camera.Y++
 +
[J] -> camera.X--
 +
[K] -> camera.Y--
 +
[L] -> camera.X++

Latest revision as of 21:31, 15 June 2023

Each game session is automatically recorded and stored as replay. Replays can be played from the main menu.

Replay Camera Mode

For quite some time the Unrailed! replay system was able to use a freely configurable camera. This was mostly used internally for trailer production but not really documented.

The [] depict keyboard keys. The different actions of these keys are described in the following:

[0] -> Default game camera (static offset relative to the train position on the X axis)
[1] -> Camera freely movable (on the X/Y plane with static height and angle) and not relative to any moving object
[2] -> Camera fixed to the first train
[3] -> Camera fixed to the second train (only matters for PvP)
[4] -> Camera fixed to the first player
[5] -> Camera fixed to the second player
[6] -> Camera fixed to the third player
[7] -> Camera fixed to the fourth player

Camera zoom is in [0.05, 2] and is clamped to be in that range. Default is zoom = 1.0 meaning no zoom! A value of 2 means everything is scaled down by a factor of two (zoomed out) A value of 1/2 means everything is scaled up by a factor of tow (zoomed in)

[PageUp] -> zoom += 0.01;
[PageDown] -> zoom -= 0.01;
[F1] -> zoom = 1.0 
[F2] -> zoom = 0.5
[F3] -> zoom = 0.4
[F4] -> zoom = 0.3
[F5] -> zoom = 0.2

In case [1] was pressed the camera is in freely movable mode: The camera position is 3D the X/Y plane is the game plane while Z is the up axis with the origin being on the bottom left of the screen. Thus the normal camera is moving in positive X direction;

[I] -> camera.Y++
[J] -> camera.X--
[K] -> camera.Y--
[L] -> camera.X++