|
HLTV.CFG如下
//HLTV configuration (o9.5.o7)
//Place this config where hltv.exe is located
//Exec this file by typing "exec adl-hltv.cfg" in the HLTV console or HLTV rcon
//For more information on HLTV, consult the HLTV readme or http://www.dt-club.net
//PLEASE REMEMBER TO RECORD THE HTLV DEMO: "record filename" IN HLTV CONSOLE
//**DO NOT CHANGE THESE SETTINGS**
maxclients 255 // 最大客户端支持
delay 90 // 延迟播放比赛多少秒
rate 7000 // 最高的数据速率
maxrate 7000 // 最高客户端速率,Internet互联网 3500 , Lan/IPX局域网 10000
updaterate 20 // 基本上行输率
maxqueries 100 // 服务器列表每秒得到的服务器信息数量
autoretry 1 // 自动重试
publicgame 0 // 不显示游戏服务器IP
logfile 0 // 是否记录HLTV日志文件到proxy.log文件
nomaster 1 // 不在master服务器注册
dispatchmode 0 // 不分派观察者
signoncommands "spec_autodirector 0;echo autodirector turned off;spec_mode 3;echo free roaming view mode set" // 设置客户端的语音,观察者进入HLTV服务器后将被执行这些命令,多条命令可以用分号来分隔
//**YOU MAY EDIT THESE SETTINGS**
name "Dedicated HLTV Proxy" // HLTV服务器在分数板上的名称
hostname "Dedicated HLTV Match Broadcast" // HLTV服务器的名称
// sets the proxy's admin password for rcon and commentator (similar to hlds rcon)
// adminpassword "password" // 管理员权限密码,用于远程控制等
// protects proxy against unwanted relay proxies (other HLTV proxy servers)
// proxypassword "proxypass" // 转播密码
// protects proxy against unwanted spectators (similar to hlds sv_password)
//spectatorpassword "specpass" // 观察者密码
offlinetext "Sorry, game is delayed. Be patient while the fun begins." // 被观众服务器踢出原因的文字
bannerfile "hltv.tga" // specifies a TGA file (RGBA) that will be shown as logo in spectator GUI"
// 谈话模式
// 0=禁止
// 1=连接到同一个观众代理服务器的观众可以相互谈话
// 2=所有观众都能相互谈话
// specs on the same proxy can chat, 2 allows all proxies to chat, 0 disables chat
chatmode 1
// HLTV服务器内彩色文字语句
// loopcmd "第几条语句" "间隔秒" localmsg "内容" "持续显示秒" "X轴坐标" "Y轴坐标" "颜色代码"
loopcmd 1 300 localmsg "tfc.sta-league.org/ - STA-ADL HLTV" 5 -1 0.9 FFA000FF
loopcmd 2 40 msg "Welcome to hltv" 8 -1 0.81 FFA000FF
loopcmd 3 40 msg "Welcome to hltv" 8 -1 0.85 FF0000FF
// 在控制台里显示一句提示语
echo hltv.cfg loaded.
// Instructions for turning off slowmotion:
// In your HLTV's tfc folder create a file named director.cfg
// In this file put the following line:
// slowmotion "1"
// The director.cfg will automatically be execed by the HLTV upon startup |
|