回放系统
此页面正在被翻译成简体中文。 如果您能熟练地运用简体中文,请在讨论页上留言或与为此页面贡献的作者讨论(通过浏览页面历史)。 |
“ | 这就是你,狂妄自大。然后呢,被吓了一跳。再然后呢,嗝屁了。
点击试听 (英语)
— 狙击手正在向他手下败将展示回放
|
” |
回放系统(Replay)工具是游戏于回放更新中引入的一项功能。回放工具可以让玩家在《军团要塞2》中将游戏过程录制为视频片段,以及可以直接在游戏客户端中对视频进行编辑。该功能最早初是在2011年3月9日的《军团要塞2测试版》中添加的,但它在5月5日被作为回放更新的一大重点添加到完整的游戏中。
在启用该功能的服务器上,玩家存活时期的视频回放将会被录制并直接保存到服务器上。在玩家死亡后,他们可以选择下载这些视频,以便在游戏中进行编辑。编辑功能可以让玩家从不同的角度剪切场景,同时还包含有各种编辑选项,以及视角和动态模糊。编辑完成后,回放工具还能将剪辑后的视频直接上传至YouTube。
随着回放工具和回放更新的引入,官方公布了一项名为第一届萨氏年度金像奖的比赛,以鼓励玩家创建和上传使用该工具进行录制的视频,并在游戏中添加了 8 个回放成就。
录制
如要录制回放,必须得连接至已启用该功能的服务器。玩家可以通过浏览列表中服务器名称旁边是否有幻灯片图标()来判断该服务器是否支持视频回放。请注意,在监听服务器上是无法录制回放的,即通过主菜单中的“创建服务器”选项所创建的本地服务器。
在玩家死亡后,可以通过按下 F6(默认)或使用控制台指令 save_replay
来下载已录制的视频。下载时会弹出一个对话框,让玩家确认视频的名称(默认情况下,视频会自动在标题填上地图名称、录制的日期和时间等信息),一旦确认,录制将开始直接从服务器上下载。下载完成后,游戏会再次弹出一个对话框通知玩家,玩家可以在主菜单进入“回放”界面来访问已录制的内容。
回放菜单
回放菜单可通过主菜单中的“回放”按钮进行访问。菜单上会显示出所有已保存的回放片段和影片。每一段回放都会附带与玩家生存期间相关的统计数据,比如玩家使用过的兵种,玩家的得分和杀敌数,以及正在游玩的地图。还可以通过菜单中的搜索功能来筛选回放片段。
点击“观看/编辑”按钮可以查看和编辑单独的一段回放。点击后加载回放文件并启用回放工具的编辑功能以让玩家进行操作。玩家还可以将选中的回放保存到影片文件中(有关编码选项的更多详细信息,请参阅回放编辑器)。
玩家可以随时删除回放。回放片段在被编码成影片文件之前,它会以起源引擎demo格式(文件扩展名为.dem
)存在于目录/Steam/steamapps/common/Team Fortress 2/tf/replay/client/replays
下。这种格式的回放的主要限制是在游戏更新的情况下它们可能变得不可读。因此,在退出游戏之前,玩家会收到一个对话框警告,要求将现有的回放保存为影片文件。但是,一旦将剪辑另存为影片文件,除非使用其他外部软件,否则将不能再对其进行编辑。
编辑
回放工具的编辑功能可以通过打开回放并按下空格键(默认)来访问。编辑面板包含有播放、暂停、快退和快进功能,以及第一人称、第三人称和自由相机视角的选项。左下角的兵种图标还可以快捷地显示出特定玩家在视频所处时间点时的个人情况。
回放工具的编辑都是由各个“镜头”组成的。每个“拍摄”都是由切入点和切入点所确立的视频选段。玩家可以通过“播放”按钮两边的按钮设置切入点和切出点(或“开始”和“结束”点)。三种视角选项(第一人称、第三人称和自由视角)可以随时切换操作,通过选择右下角的图标来改变摄像头的位置。
通过点击左上角的图标并选择保存,可以将两点之间的视频序列(包括角度)保存为“镜头”。
保存
整一段回放或是先前已完成编辑的“镜头”都可以从回放文件(.dem
)渲染为影片文件。在回放菜单中,玩家可以选择“保存为影片”按钮来调出“保存选项”对话框。玩家可以在对话框中选择文件名、分辨率和视频质量设置,还可以获取根据当前设置所预计的文件大小和渲染时间。点击“显示进阶选项”可以查看更多的选项,包括视频编解码器、渲染质量、动态模糊质量和“启用光圈效果”复选框。
保存功能支持使用 5 种预设分辨率(480p、720p、1080p、Web 和 iPhone)和 2 种编解码器(H.264 和 MJPEG)来对回放文件进行渲染。或者,回放文件也可以使用.tga
序列和附带的.wav
文件的形式保存为原始文件。此方法会以最高的质量将视频中的每一帧渲染到单个.tga
文件中,并将场景的音频渲染到.wav
文件中。之后,序列和音频文件可使用视频处理程序(如VirtualDub)一起编码(有关更多详细信息,请参阅回放编辑器)。
已渲染的影片文件将会保存在/Steam/steamapps/common/Team Fortress 2/tf/replay/client/rendered
目录中。渲染完成后,玩家也可以直接从游戏内部将视频上传到网站上。
上传
回放影片文件可以直接从游戏内部上传到 YouTube。在“回放”菜单中,在“已保存的影片”列表中选择一个已渲染的影片文件,然后按下“上传到YouTube”按钮,就会打开一个YouTube登录窗口,并提示玩家登录。登录后,玩家可以在上传视频的同时编辑视频的标题和简介。
当玩家的影片在YouTube上的点击量达到1000时,就会获得一个前线战地摄影头盔以作奖励。
目前,上传到YouTube已失效,因此无法再获得前线战地摄影头盔。
服务器指令变量
|
|
相关成就
回放成就
|
|
更新历史
- 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
- 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
2011年10月13日补丁 (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)
漏洞
- 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 needs 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 are 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 ends when their feign death activates.
- Sometimes, slowing down or speeding up time and changing the view to first person, then changing the time again, the speed stays the same as if the time was not changed. Changing the view to third person or freecam usually fixes the problem.
- Critical hit sound cues are not played in Replays.
- When starting a replay with the Boston Boom-Bringer, all of the boombox sounds play at once.
- If a replay starts while a Heavy has his Minigun spun up, he appears to not have it spun up even though it still fires 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 do not appear in replays.
- Since YouTube's API is no longer updated in Team Fortress 2, users 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.
参见
外部链接
- 我该如何创建一个《军团要塞2》的回放?(How do I create a Team Fortress 2 replay?) – Steam Support
|