Template:PatchDiff/May 5, 2011 Patch/team fortress 2 content.gcf/tf/cfg/replay.cfg

From Team Fortress Wiki
Jump to: navigation, search
N/A1//
N/A2// To enable replay, modify this file, and either replay_local_http.cfg or replay_ftp.cfg (see below), then
N/A3// run your server with something like:
N/A4//
N/A5// srcds -game tf -console +exec replay.cfg
N/A6//
N/A7// The replay system will do a sanity check at startup to help you debug any issues.
N/A8//
N/A9 
N/A10// Enable replay!
N/A11replay_enable "1"
N/A12 
N/A13// How often we dump replay data. You should not need to modify this value.
N/A14replay_block_dump_interval "15"
N/A15 
N/A16// This is the method by which clients download replay data. At the moment, only HTTP is available.
N/A17replay_fileserver_protocol "http"
N/A18 
N/A19//
N/A20// NOTE: UNCOMMENT *ONE* OF THE FOLLOWING TWO 'EXEC' LINES, AND MAKE SURE YOU EDIT THE CORRESPONDING FILE.
N/A21//
N/A22// - The "local HTTP" method requires that you run a web server on the same machine as your game server.
N/A23// - The "FTP" method allows you to offload replay data to another machine (which must be running a web
N/A24// server) over FTP. Clients will download their replay data over HTTP.
N/A25//
N/A26 
N/A27//exec replay_local_http
N/A28//exec replay_ftp.cfg