BlackMesa合作战役笔记(linux&sourcecoop)


安装blackmesa服务端

还是一贯的linuxgsm

系统CENTOS7.5

安装依赖

yum install epel-release
yum install curl wget tar bzip2 gzip unzip python3 binutils bc jq tmux glibc.i686 libstdc++ libstdc++.i686 ncurses-libs.i686

下载游戏,配置启动参数

新增用户,切换到用户

adduser bmdmserver

su - bmdmserver

下载运行脚本

wget -O linuxgsm.sh https://linuxgsm.sh && chmod +x linuxgsm.sh && bash linuxgsm.sh bmdmserver
./bmdmserver install

安装配置sourcecoop

sourcecoop项目地址

根据github提供的readme下载相应的sourcemodmetamod并安装,哦别忘了sourcecoop还需要DHooks

全部安装完成后下载安装最新的sourcecooprelease

以上步骤只需要解压到serverfiles中的bms中即可

在服务器的 home/bmdmserver/glsm/consifg-glsm/bmdmserver/bmdmserver.cfg 中起一行加入必要的启动参数

startparameters="-game bms -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} +maxplayers 10 +mp_teamplay 1 +exec server.cfg +map bm_c0a0a"

在服务器的cfg文件中加入

mp_teamplay 1
sv_always_run 1

保存退出运行服务器

./bmdmserver start

在console中检查是否安装成功

./bmdmserver console
sm plugins list

返回数据未发生异常,安装成功(没有error或者其他报告)

sm plugins list
[SM] Listing 24 plugins:
  01 "Fun Commands" (1.11.0.6608) by AlliedModders LLC
  02 "Basic Commands" (1.11.0.6608) by AlliedModders LLC
  03 Disabled: "Nextmap" (1.11.0.6608) by AlliedModders LLC
  04 "SourceCoop Difficulty" (1.0.0) by Alienmario
  05 "Reserved Slots" (1.11.0.6608) by AlliedModders LLC
  06 "Basic Comm Control" (1.11.0.6608) by AlliedModders LLC
  07 "Sound Commands" (1.11.0.6608) by AlliedModders LLC
  08 "SourceCoop KillSounds" (1.0.0) by Alienmario
  09 "SourceCoop Scoring" (1.0.0) by Rock & Alienmario
  10 "Basic Ban Commands" (1.11.0.6608) by AlliedModders LLC
  11 "Admin Menu" (1.11.0.6608) by AlliedModders LLC
  12 "Player Commands" (1.11.0.6608) by AlliedModders LLC
  13 "Get TickRate" (1.0) by Liam
  14 "Basic Info Triggers" (1.11.0.6608) by AlliedModders LLC
  15 "Anti-Flood" (1.11.0.6608) by AlliedModders LLC
  16 "SourceCoop" (1.0.3) by ampreeT, Alienmario
  17 "Admin Help" (1.11.0.6608) by AlliedModders LLC
  18 "SourceCoop Thirdperson" (1.0.0) by Alienmario (Original thirdperson code by Dr. McKay)
  19 "Basic Votes" (1.11.0.6608) by AlliedModders LLC
  20 "Admin File Reader" (1.11.0.6608) by AlliedModders LLC
  21 "Fun Votes" (1.11.0.6608) by AlliedModders LLC
  22 "SourceCoop Voting" (1.0.0) by Alienmario
  23 "Client Preferences" (1.11.0.6608) by AlliedModders LLC
  24 "Basic Chat" (1.11.0.6608) by AlliedModders LLC

文章作者: EvsinChaos
版权声明: 本博客所有文章除特別声明外,均采用 CC BY 4.0 许可协议。转载请注明来源 EvsinChaos !
评论
  目录
召唤椎名真白