Professional Documents
Culture Documents
HLTV Readme
HLTV Readme
1. Spectator Section
You can spectate the game in different modes: Chase Cam, First Person,
Free Look and Map Overview, Map Chase. The easiest way to change modes
is the spectator menu, which can be enabled by pressing the DUCK key
(by default CTRL). Here you can customize your personal view stlye. Hit
DUCK to disable the menu again. Don't forget to "cheer", by default
bound to "j".
All features are also accessible via hot keys, see "Help" in spectator
menu for further details.
]connect 192.168.130.42:27020
Don't forget to add the given HLTV port, most commonly 27020.
2. Administator Section
In all configurations, only one HLTV proxy is connected to the game server.
This HLTV proxy is called the Master Proxy (or Root Roxy). This Master
Proxy sets the game delay and analyzes the game data to position the
camera in directed spectator mode. All other HLTV proxies that are
connected to the Master Proxy as described above (called Relay Proxies)
form a chain, or tree. Each Relay Proxy transmits the game only to
spectator clients that are connected to itself. The Relay Proxies can
not delay the game or alter how the game is viewed; this only is done
by the Master Proxy.
The HLTV proxy tells the WON master servers about its broadcasted game.
Thus, users can spectate a game simply by using the built-in Half-Life
server browser, connecting to a HLTV proxy the same way as connecting to
a normal game. Users also can use the console to connect to a HLTV proxy
with the 'connect' command, the same way as connecting to a normal game.
If the HLTV proxy broadcasts the game via multicast, the client
automatically tries to join the multicast stream, if possible.
Unfortunately, multicast is disabled by most ISPs.
rate <n> - bandwidth rate the game server sends data to the proxy in
bytes/second
updaterate <n> - updates per seconds send from game server to proxy
maxclientrate <n> - sets the maximum bandwidth rate for spectator clients
delay <n> - delays the game stream for n seconds on the Master Proxy.
record <filename> - records all following games to demo files like filename-
1.dem to filename-nnn.dem
autorecord <0|1> - if enabled, any game will be recorded to (name scheme
auto-<date>-<mod>-<map>.dem )
stoprecord - stops recording a demo file
playdemo <filename> [<filename>] ...
- starts broadcasting a list of demo files in a loop
playnextdemo - plays next demo in list
The console tries to complete a command name by hitting 'TAB'. All
commands in the config file "hltv.cfg" are executed during startup.
-bufferlength <n> - sets proxy buffer size in seconds. The broadcasting delay
must be smaller
than this value. By default 120 seconds are buffered.
-maxfps <n> - sets maximum system cycles per seconds (default
100)
-cachesize <n> - frame cache size (default 32 frames)
-ip <IP> - forces the proxy to use this IP on a multihomed host
-port <n> - sets the HLTV proxy port that spectators connect to
(default 27020)
-comm <filename> - sets a master server info file other than woncomm.lst
-multicastttl <n> - sets the Time-To-Live value for multicast packets
-highpriority - starts the HLTV proxy as high priority process
(Win32 only)
-steam - proxy enables special Steam support
All console commands can be used in the command line, if a "+" is prepended
to them:
A Half-Life server can set sv_proxies <n>, to determine how many proxies
are allowed to connect. If HLTV proxies should be forbidden, set it to 0,
otherwise 1 to allow for a Master Proxy. Other values are experimental.
3. Commentator Section
With the new Half-Life voice technology, some clients may comment the
game for all other spectators. They can also insert replays, slow
motion or spray custom decals. To become a commentator, clients must
enable this feature with "commentator 1" in the console (before
connecting). Also the proxy must have set an "adminpassword". The
commentator client must set this password with the "password"
command.
To spray a new custom decal (like player logos), bind the new "spec_decal"
command to a unused key (eg "bind m spec_decal") and switch to Free Look
Mode. You can spray custom decals at up to 32 different locations. This
custom decals must be enabled on the proxy with the "decalfile" command.
Each proxy may show it's own decal to connected spectators.
To show the last scene again, the commentator can use the "drc_replay"
command. For example "drc_replay 5 0" will replay the last 5 seconds
again with normal speed, "drc_replay 3 0.5" will replay the last 3
seconds in slow motion.
It's also possible to play any sound file using the "drc_sound" command.
For example "drc_sound ambience/goal_1.wav 1.0" will play a cheering sound
with full volume. Use this sound command that add more atmosphere to the
game.
Thanks to:
----------