|
发表于 2004-12-21 13:54:44
|
显示全部楼层
|阅读模式
来自 中国–广东–湛江
1.下载安装HLDSUpdatetool,安装后在桌面建立快捷方式.
2.建立steam帐号,有的话就不用建了,格式:hldsupdatetool -command create -username dt -email 123@163.net -password 123 -question "123" -answer "234"
3.在硬盘上建立一个名为srcds文件夹,刚才建立成功的用户就可开始下载了,格式如下:hldsupdatetool -command update -game "Counter-Strike Source" -dir D:\srcds -username dt -password 123 -remember_password
4,下载完后执行文件在D:\srcds\srcds.exe,将srcds.exe发送桌面建立快捷方式,加上参数:-console -game cstrike +map de_dust +maxplayers 16 -autoupdate,端口不用加了,服务器会在自己寻找端口的了,27015开始自动找.
5.server.cfg在D:\srcds\cstrike\cfg\server.cfg里,大致和1.6一样,如下:
sv_lan 0
// contact & geo 0=US East coast, 1=US West coast, 2= South America, 3=Europe, 4=Asia, 5=Australia, 6=Middle East, 7=Africa and 255=world.
// Change the number to the region you live in!!!
sv_region 4
// Give your server a name here
hostname Put your Server Name here"
// Rcon password is used to give your server orders by using console, so think of a good password
rcon_password "Putyourrconpasswordhere"
// If you want your server to be private, fill in a password and delete the // in front of sv_password
// sv_password "Putyourprivatepasswordhere"
// *********** GAME SETTINGS, YOU CAN CHANGE THESE THE WAY YOU LIKE IT ***************
// Sets the amount of minutes players are able to buy
mp_buytime 1
// Sets the amount of starting money, max=16000
mp_startmoney 8000
// Sets the amount of secs before C4 explodes
mp_c4timer 35
// 1 enables flashlight, 0 disables it
mp_flashlight 1
// 1 enables hearing footsteps, 0 disables it
mp_footsteps 1
// 1 enables falling damage, 0 disables it
mp_falldamage 1
// Sets the number of hostages a player can kill before they are booted from the server. 0 is disabled
mp_hostagepenalty 0
// TIME, WIN & ROUND SETTINGS
// Timelimit is how many minutes for a map.
mp_timelimit 45
// When a team reaches this amount of wins (before the timelimit or the roundlimit is
// reached), it has won the map. 0=disabled
mp_winlimit 14
// When two teams finish playing this amount of rounds (before the timelimit or the
// winlimit is reached) the map ends. 0=disabled
mp_maxrounds 21
// Round time, in minutes. After this amount of minutes has passed,
// a scenario win is awarded. Min 1, Max 9
mp_roundtime 3
// Sets the seconds before players can move in the beginning of a round
mp_freezetime 4
// TEAMBALANCING
// Toggles the forcing of clients to join teams to make it balanced. 1=on and 0=off
mp_autoteambalance 1
// Sets the maximum number of players that one team can have more than the
// other team. Use a setting of '0' to completely disable the team limiting.
mp_limitteams 1
// FF & TEAMKILL & IDLE
// Toggles friendly fire 1=on and 0=off
mp_friendlyfire 0
// Toggles the forcing of a player to sit out the next round if he
// has just killed a teammate. 1=on and 0=off
mp_tkpunish 1
// Kick idle/team-killing players. 1=on and 0=off
mp_autokick 1
// Kick players who team-kill within this many seconds of a round restart.
mp_spawnprotectiontime 10
// After this many seconds without a message from a client, the client is dropped
sv_timeout 40
// SPECTATORS
// Restricts spectator modes for dead players. 1=on and 0=off
mp_forcecamera 1
// toggles whether the server allows spectator mode or not. 1=on and 0=off
mp_allowspectators 1
// fade a player's screen to black when he dies. 1=on and 0=off
mp_fadetoblack 0
// ************ IF YOU HAVE LAG ISSUES YOU CAN CHANGE THESE SETTINGS, IF YOU KNOW WHAT YOU ARE DOING *****************
// SET RATES
// Max bandwidth rate allowed on server, 0=unlimited, max=20000
sv_maxrate 8000
// Min bandwidth rate allowed on server, 0=unlimited, 4000=good to keep dialup gamers off the server
sv_minrate 1000
// Maximum updates per second that the server will allow, increasing this will take more cpu power, 100 is max
sv_maxupdaterate 30
// Frame rate limiter, higher then 100 not needed, unless shots are not registered well
fps_max 100
// DOWNLOAD
// Allow clients to download files
sv_allowdownload 1
// Allow clients to upload customizations files
sv_allowupload 1
// *********** IF YOU KNOW WHAT YOU ARE DOING YOU CAN CHANGE THESE SETTINGS AS WELL *************
// SERVER LOGGING
log 1
mp_logfile 1
mp_logecho 0
// Specifies a logging level 0 to 15. Using 15 is max logging
log_level 0
// VOICE disabled, if you want VOICE enabled then change 0 into 1
sv_voiceenable 0
// CHEATS & autoaim off
sv_cheats 0
// disable clients' ability to pause the server
sv_pausable 0
// OTHER SETTINGS
// amount of seconds players can chat after the game is over
mp_chattime 10
// if not 0 then game will restart in the specified number of seconds
mp_restartgame 0 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有账号?注个册吧
×
|