第一步:先下载SteamCMD

windows:http://blog.counter-strike.net/w ... 012/04/steamcmd.zip

linux:http://blog.counter-strike.net/w ... /04/steamcmd.tar.gz

请关掉你的steam才进行第二步


第二步:解压缩SteamCMD.zip,之后运行steamcmd.exe,它就会开始下载

在下载的时间中在c:\中建立一个名csgo的文件夹

最后steamcmd.exe会出现steam>,而steam>就是给你打指令之用

第三步:在steam >打login 你的steam账号 你的steam密码

和你平时登入steam的账号的方法一样

如果你第一次登入时是会出现error的字眼,你就需要到你申请steam的电邮

你会发现steam已经寄了一封信给你,内有一个5位既code

你需要在steam>打『set_steam_guard_code xxxxx』xxxxx为你的code

并再次重覆在steam >打『login 你的steam账号 你的steam密码』

第四步:成功在steamcmd登入后,打以下3个指令

steam>force_install_dir c:\csgo\

steam>force_install_dir ..\csgo\

steam>app_update 740 validate

之后就会开始下载,大约30mins就完成

以后有更新时就同样需要打3个指令进行更新

steam>force_install_dir c:\csgo\

steam>force_install_dir ..\csgo\

steam>app_update 740 

不过最后一个就不用加上validate

第五步:打开c:\csgo,你会看见scrds.exe

右键此档建立捷径,右键捷径 -  srcds.exe 内容

把C:\csgo\srcds.exe更改为以下其一

经典休闲模式

『C:\csgo\srcds.exe -game csgo -console -usercon +game_type 0 +game_mode 0 +mapgroup mg_bomb +map de_dust2』

经典竞技模式:

『C:\csgo\srcds.exe -game csgo -console -usercon +game_type 0 +game_mode 1 +mapgroup mg_bomb +map de_dust2』

军备竞赛:

『C:\csgo\srcds.exe -game csgo -console -usercon +game_type 1 +game_mode 0 +mapgroup mg_armsrace +map ar_shoots』

爆破模式:

『C:\csgo\srcds.exe -game csgo -console -usercon +game_type 1 +game_mode 1 +mapgroup mg_demolition +map de_bank』

第五步服务器高级配置

去C:\csgo\cfg,建立一个txt档输入

hostname "CSGO"

rcon_password "123"

sv_password ""

mp_freezetime 5 //The amount of time players are frozen to buy items

mp_join_grace_time 15 //The amount of time players can join teams after a round has started

mp_match_end_restart 0 // Defines whether a map should be restarted after a game has ended 

sv_cheats 0 //This should always be set, so you know it's not on

sv_lan 0 //This should always be set, so you know it's not on

//**The bot commands below are mostly default with the exception of 

bot_difficulty 3

bot_chatter "off"

bot_join_after_player 1

bot_quota 10

bot_quota_mode "fill"

//**The following commands manage kicks and bans

writeid

writeip

exec banned_user.cfg

exec banned_ip.cfg

然后改名为server.cfg

第六步:先开启steam,再打开快捷方式 -  srcds.exe

如出现VAC secure mode is activated就代表成功了

附:中文游戏类型的方法

请不要在server.cfg更改,更不要改至utf-8

先开场,之后进入游戏,使用~开console

之后输入rcon_password "OP密码"

再输入rcon hostname "中文场名"