Difference between revisions of "Replay"
Melectrome (talk | contribs) (Added missing bug) |
Melectrome (talk | contribs) m (Bad typo.) |
||
Line 544: | Line 544: | ||
* Occasionally, decals ([[Conscientious Objector]], [[Photo Badge]], [[Sprays]], etc.) and paints will not appear in replays. | * Occasionally, decals ([[Conscientious Objector]], [[Photo Badge]], [[Sprays]], etc.) and paints will not appear in replays. | ||
* Since YouTube's API is no longer updated in Team Fortress 2, you can no longer log in to upload a replay to YouTube. | * Since YouTube's API is no longer updated in Team Fortress 2, you can no longer log in to upload a replay to YouTube. | ||
− | * The replay system does not work on maps due to how workshop maps are named. | + | * The replay system does not work on workshop maps due to how workshop maps are named. |
== See also == | == See also == |
Revision as of 20:08, 18 March 2019
“Gotta move that gear up!” This article may contain content that is out of date. You can help improve this article by updating the content as necessary. See the wiki style guide. Notes: The list of console commands and variables are out of date. |
“ | There was you, very full of yourself. Then, very briefly surprised. Then, dead.
Click to listen
— The Sniper showing a Replay to his latest victim
|
” |
The Replay tool is a feature introduced in the Replay Update. The Replay tool enables players to record video footage of gameplay in Team Fortress 2 and edit it directly from the game client. The feature was initially added to Team Fortress 2 Beta on March 9, 2011, but was added to the full game on May 5 as the main focus of the Replay Update.
On servers that enable the feature, video replays of a player's life are recorded and saved directly onto the server. After a player dies, they can choose to download these recordings for editing within the game. The editing features enable scenes to be cut from different angles and include a variety of options including field of view and motion blur. After editing, the Replay tool allows for cut videos to be uploaded directly to YouTube.
With the introduction of the Replay tool and the Replay Update, the First Annual Saxxy Awards were announced as a contest to encourage players to create and upload videos recorded with the tool, as well as eight Replay achievements which have been added to the game.
Contents
Recording
To record replays, the player must connect to a server that has enabled the feature. A server that supports video replays can be identified by the filmstrip icon () next to the server's name in the browser list. Note that replays cannot be recorded on listen servers, i.e. local servers created through the 'Create Server' option in the main menu.
After the player has died, the recording can be downloaded by pressing F6 (default) or using the console command save_replay
. A dialog window will appear to confirm the name of the video (by default, it will contain the map name, the date and time of the recording) and once confirmed, the recording will begin to download directly from the server. After the download has completed,a notification will pop up to inform the player and from there, the player can access the recording from the 'Replays' screen accessed from the main menu.
The Replay menu can be accessed from the button in the main menu. The screen shows all saved replays and movies. Each replay is accompanied by statistics related to that particular life, such as the class played, the player's score and kill count, and the map featured in the video. Replays can also be filtered via the search function in the menu.
Individual replays can be viewed and edited by clicking on the 'Watch / Edit' button. This loads the replay file and enables the Replay tool's editing functions for use. From the menu, the player can also save a selected replay to a movie file (for encoding options in greater detail, see Help:Replay Editor).
Replays can be deleted at any time by the player. Replays, before being encoded into movie files, exist in the Source Engine demo format (with the file extension .dem
) under the directory /Steam/steamapps/common/Team Fortress 2/tf/replay/client/replays
. The main limitation of replays in this format is that they are likely to become unreadable in the event of a game update. As such, before exiting the game the player is warned by a dialog message to save existing replays as movie files instead. However, once saved as a movie file, the clip cannot be edited unless using external software.
Editing
The Replay tool's editing functions can be accessed by opening the replay and pressing Space (default). The editing HUD contains play, pause, rewind, and fast-forward functions and the first-person, third-person, and free camera viewing angle options. Class icons in the bottom-left corner also allow for quick identification of the whereabouts of particular players at the selected time in the video.
Editing with the Replay tool is done in takes. Each 'take' is a selection of video defined by in and out points. The player can set the in and out points (or 'start' and 'end' points) with the buttons on either side of the Play button. The three viewing angle options (first-person, third-person and free camera) can be manipulated at any time to alter the position of the camera by selecting their respective icons in bottom-right corner.
The sequence of the video between the two points including the angles can be saved as a take by clicking the icon in the top-left corner and selecting 'Save'.
Saving
Whole replays or previously-edited takes can be rendered from replay files (.dem
) into movie files. In the Replay menu, the player can select the 'Save to Movie' button to bring up the Save options dialog. The filename, resolution and video quality settings can be selected in the dialog, and filesize and time to render estimates are also provided based on the current settings. Checking the 'Show Advanced Options' box displays further options including video codec, render quality, motion blur quality, and an 'Enable Glow Effect' checkbox.
The save feature supports rendering of replay files with two codecs (H.264 and MJPEG-A) with 5 preset resolutions (480p, 720p, 1080p, Web, and iPhone). Alternatively, the replay file can also be saved to raw files in the form of a .tga
sequence and an accompanying .wav
file. This method renders each frame in the video to an individual .tga
file at maximum quality and renders the audio for the scene to a .wav
file. The sequence and the audio file can then be encoded together using a video processing program such as VirtualDub (see Help:Replay Editor for further detail).
Rendered movie files are saved to the /Steam/steamapps/common/Team Fortress 2/tf/replay/client/rendered
directory. After rendering, the video can also be uploaded directly from inside the game.
Uploading
Replay movie files can be uploaded directly to YouTube from inside the game. Inside the Replay menu, selecting a rendered movie files appearing in the 'Saved Movies' list and pressing the 'YouTube It' button will open a YouTube login window and prompt the player to login. The player can then edit the video's title and description while it uploads.
Upon a player reaching 1,000 YouTube views, they will be awarded the Frontline Field Recorder hat.
Currently the code for getting the Frontline field recorder is out-dated, restricting getting said hat without cheating.
Server command variables
|
|
Related achievements
Replay achievements
|
|
Update history
- Added Replay system that allows you to edit and publish movies of your play experiences (full Mac support in the next few days)
- Show all resolutions available when setting up a replay to render
- Added the ability to specify an output directory from the command line. Running a server with the optional parameter ‘–replayserverdir <dir name>’ will output all replay data to ‘tf/replay/<dir name>’. For anyone running multiple servers out of the same directory, you’ll want to specify a different output directory for each server. This will avoid collisions and potential issues running replay. Look for confirmation on startup – you should see something like this:
- Using custom replay dir name: "replay/<dir name>"
- For admins who have their server(s) configured to server replay data out of a local Web server: the ‘replay_local_fileserver_path’ bug is now fixed. Even if replay_local_fileserver_path pointed to a valid directory, the server would lie and say the directory was invalid.
- Fixed ‘save all’ crash in replay browser
- Fixed ‘save movies now, then quit’ crash
- Movies upload to YouTube now contain a ‘match’ tag, which includes a unique ID for the round during which the replay was saved
- Added check-box on the advanced settings dialog to enable/disable the glow effect while rendering replays (default is disabled)
- Bug and crash fixes
- Added "replay_printsessioninfo <full path>" command for server admins to monitor session files, aid in debugging problems
- UI now saves the "last directory" used for exporting a movie
- Added a specific error message when trying to upload a movie to YouTube that cannot be found
- Fixed a bug where replay recording would stop after feigning death
- Fixed audio and video sync issues
- Fixed a crash when replay filenames exceeded a certain length
- Fixed start-up issues related to library files
- Fixed audio sync issues on the Mac
May 5, 2011 Patch (Replay Update)
- Added the Replay feature: http://www.teamfortress.com/replayupdate
- Known issue with Mac replay rendering being blurry will be fixed in the next update
- Added 8 new Replay achievements and 2 achievement items
- Fixed a bug that caused Mac replay renders to be blurry
- Replay publishing system will try to do a rename for local HTTP mode but will manually copy and delete the file if the rename fails, which can happen if the source and destination are on different volumes.
- Fixed replay data cleanup system, which cleans up stale data at the end of each round. This asynchronous operation can be explicitly invoked by executing a replay_docleanup command on the server.
- Removed unused convar,
replay_cleanup_time
.
- Fixed a server lockup during data cleanup
- Fixed a viewmodel fov bug during rendering
- Renamed the ConVar
replay_demolifespan
toreplay_data_lifespan
- Added a new command line parameter
-replay
that will increase maxplayers by 1 at startup and automatically execute replay.cfg for the server - Fixed another bug that caused Mac replay renders to be blurry
- Fixed a bug where Replay FTP offloading was not using
replay_fileserver_offload_port
- Improved detection of Replay server config problems
- Replay is automatically disabled on servers if the Replay publish test fails
- Saved Replay movies that were exported as TGA's/WAV will report more descriptive errors if YouTube(TM) upload or "Export" is attempted
- Fixed server crashes related to replays and new items
- Fixed the third-person camera options dialog not displaying correctly in the Replay performance editor.
- Fixed a few server crashes caused by the replay system.
- Fixed some server replay publishing bugs
- Added a new ConVar
replay_fileserver_offload_aborttime
- Fixed a servercrash caused by the replay system.
- Fixed a Linux dedicated server crash caused by the Replay director
- Crash would happen whether the server was capturing Replays or not
- Client
- Added basic/rough render queue for internal use to increase replay output for relaunch trailer
- Block files are now deleted on replay reconstruction (i.e. viewing), to conserve disk space
- Unneeded block files are now cleaned up automatically on startup
- Server
- Fixed fileserver cleanup
- Any time replay_fileserver_offload_hostname is modified, the corresponding IP is resolved and cached, if possible. This fixes a crash, as well as failed publishing due to "unresolved hostname" errors.
- Added a fileserver IP lookup test to replay publish test
- Setting replay_enable to 0 now halts recording and does cleanup automatically, the way replay_stoprecord does. This fixes a crash that would occur when replay_enable was set to 0 and a changelevel was executed.
- Replay temp directories automatically cleared on startup on both client and server
- Memory management improvements
- Fixed a couple of replay issues
- Fixed Mac-only replay editor crash.
- Fix a bug where the increased_maxplayers server tag was being set when the 25th internal player slot was added for replay.
- Fixed a replay render bug where .wav files did not get written for raw TGA/WAV export
October 13, 2011 Patch (Manniversary Update & Sale)
- New dramatic editing tools were added to help players make replays more dramatic.
- Fixed a server crash that occurred when running both SourceTV and Replay.
- Fixed a client crash in the replay editor
- Fixed a demo/replay playback crash
- Fixed a bug with the Replay icon in the server browser
- Fixed dedicated server console spew related to the Replay client and viewangles
- Fixed some instances of corrupted text when the save_replay key isn't bound
- Updated YouTube replay publishing functionality to automatically include a link to the uploader's Steam Community profile
- Fixed Replay/SourceTV clients getting kicked when quickplay servers hibernate
- Added replay_name ConVar to set the name of the replay bot
- Fixed a common "FindModel" crash for replays
- Fixed seeing an error model when watching replays with missing models
- Fixed uploading replays to YouTube™ on Linux
- Removed replay.cfg from depot and added replay_example.cfg to avoid clobbering user's replay.cfg
- Fixed the camera target not always being visible when using the replay editor
- Fixed a security issue related to the replay system (thanks to Nathaniel Theis and Zemnmez for this report)
Bugs
- Saving a replay movie with the TGA/WAV option only saves the .tga image sequence. The audio stream does not save as the game appears to have problems creating the .wav file:
WaveFixupTmpFile( '.mytempwave.WAV' ) failed to open file for editing Unable to rename d:\games\Steam\steamapps\common\Team Fortress 2\tf\.mytempwave.wav to d:\games\Steam\steamapps\common\Team Fortress 2\tf\replay\client\rendered\movie_path\audio.wav!
- It is possible to work around this bug by manually saving an empty .wav file (signed 16 bit, stereo, 44100kHz) named
".mytempwave.wav"
to the user/Steam/steamapps/common/Team Fortress 2/tf
location with a WAV file editor. The workaround will need to be performed each time a movie needs to be saved.
- It is possible to work around this bug by manually saving an empty .wav file (signed 16 bit, stereo, 44100kHz) named
- Some viewmodels may appear incorrect or not appear at all in first-person mode. Some particle effects may also not be rendered.
- Replays which take place in maps with more than one light source may appear overlit if the last map played has uniform lighting.
- Upon creating, editing, and watching a Replay and then joining a match, no in-game text chat or voice commands will be displayed until the player opens the text chat box.
- The Administrator's responses in a Replay treat RED as the ally and BLU as the enemy, regardless of the Replay owner's team.
- Ragdolls in a Replay may fall or move differently each time the Replay is viewed and/or edited.
- The replay can be uploaded to a YouTube account before the account has an upload channel configured. After the upload finishes, a message indicating a connection problem is displayed.
- Kills made by Sentry Guns belonging to the Replay's owner are not counted on its statistics.
- Occasionally, if the owner of the Replay uses a Dead Ringer during its length, the Replay will end when their feign death activates.
- Sometimes, if you slow down or speed up time and change the view to first person, then change the time again, the speed will stay the same as if the time wasn't changed. Changing the view to third person or freecam usually fixes the problem.
- Servers running on Halloween event maps with Replay enabled won't show the Haunted Halloween Gift model or particles when it's received by a player.
- Critical hit sound cues aren't played in Replays.
- When starting a replay with Boston Boom-Bringer, all of the boombox sounds will play at once.
- If a replay starts while a Heavy has his Minigun spun up, he will appear to not have it spun up even though it will still fire albeit with a glitchy sound.
- When using slow motion, the backstabbing action is out of time and the victim dies and with a delay the knife action is played.
- Recording in Pyrovision, and then watching a replay in Pyrovision can reverse bodies and point them in the opposite direction, with their weapon firing the way it did on recording.
- Switching from third person view to first in the Replay edit tool can make the active weapon disappear for a second and then appear.
- Occasionally, decals (Conscientious Objector, Photo Badge, Sprays, etc.) and paints will not appear in replays.
- Since YouTube's API is no longer updated in Team Fortress 2, you can no longer log in to upload a replay to YouTube.
- The replay system does not work on workshop maps due to how workshop maps are named.
See also
External links
- How do I create a Team Fortress 2 replay? – Steam Support
|