How to use HLTV for Recording

by admin on December 29, 2009

What is HLTV?

Half-Life TV offers the ability to have an unlimited number of spectators watching online games.Or you can even record for future.
How to Record?
HLTV demo files are like normal recorded games in Half-Life, but you can
choose any view point, view mode or player to chase during replay. To play
back a HLTV demo, a HLTV proxy is not needed. Just start Half-Life and type in console “playdemo ” or “viewdemo demoname>” (viewdemo offers more options during playback like fast forward/backward, pause & slowmotion). To record a HLTV demo, connect the proxy to a game server and type in console:

>record

The demo files will
be saved in the current Mod directory, e.g. \cstrike. All demo files have a
special naming convention –.dem, including the
given name, date/time and map name. Demo files record the same data as send
to spectator clients. That means also, the demo file records the game with
the same delay as used for spectators. To verify, that a demo file is
recorded use the “status” command. The recording may be stopped with
“stoprecording”.
The demo files will be saved in the current Mod directory, e.g. \cstrike. All demo files have a special naming convention –.dem, including the given name, date/time and map name. Demo files record the same data as send to spectator clients. That means also, the demo file records the game with the same delay as used for spectators. To verify, that a demo file is recorded use the “status” command. The recording may be stopped with “stoprecording”.
HLTV COMMANDS
record – records all following games to demo files using name syntax “filename–.dem”
stoprecording – stops recording a demo file
playdemo – starts broadcasting a demo file

connect <IP:Port> – connect HLTV proxy to game server (default port 27015)
disconnect        – disconnects proxy from server, but doesn’t stop the
broadcast. All spectator clients stay connected.
stop [<text>]     – disconnects from server, disconnects all clients and
stops demo recording. Optional goodbye message.
quit              – quits the HLTV process
retry             – retries the last server connection
autoretry <0|1>   – if enabled, proxy will retry connection to server if
connection was interrupted for any reason
name <text>       – sets the HLTV proxy scoreboard name
hostname <text>   – sets the HLTV host name for game browser list
serverpassword <text>     – sets the game server password
adminpassword <text>      – sets password for RCON & commentator
proxypassword <text>      – sets password for other relay proxies
spectatorpassword <text>  – sets spectator password. Will also exclude
proxy from global load balancing

Incoming search terms:

{ 3 comments… read them below or add one }

Leave a Comment

Previous post:

Next post: