3DMSuperGamer 发表于 2010-1-7 13:02

L4DToolZ Metamod plugin (l4d1 & l4d2)

this plugin add this cvar to l4d and l4d2
sv_maxplayers - max human players that can join your server. -1 to disable and use standart check (range 0 to 32)
sv_removehumanlimit - remove kick for players when they are more than 8 for vs and 4 for coop(0 to disable, 1 to enable)
sv_unlock_sb_add - you can use "sb_add" command to spawn bots
sv_force_unreserved - if you set it to 1 before connection from lobbyyour server will stay unreserved and allow players to connect usingconnect command, this command sets sv_allow_lobby_connect_only 0, soyou need to create lobby using ms_force_dedicated_server and thenconnect to server, your friends may see wrong max players in friendlobby, so give them ip.
if you want your server to allow more than 18 players, it is good tochange 1st map after plugin load, in some cases server may crash if youdon't do that


last version for l4d1 is 1.0.0.6b (windows only)
last version for l4d2 is 1.0.0.9 (windows and linux)

version 1.0.0.0
1st public version

version 1.0.0.1
-added new cvar sv_force_unreserved

version 1.0.0.2
-small bug fix

version 1.0.0.3
-fixed 32 slot server problem with v.1.0.1.4(l4d1)

version 1.0.0.4a
-first source code release

version 1.0.0.5
-added support for l4d2
-removed sv_unlockgamemode
-source code release

version 1.0.0.6b
-max players will be reported correctly on Steam Group servers

version 1.0.0.7
-version only for debug and testing

version 1.0.0.8
-added full support for linux version of l4d2
-l4d1 is not supported

version 1.0.0.9
-update signature for l4d2(linux) after game update on 18.12.09

extract files form zip files to addons folder, you need to havepre-installed metamod source(1.7 or 1.8 for l4d1 and 1.8 for l4d2)

3DMSuperGamer 发表于 2010-1-7 13:02

//L4dtoolz
sm_cvar sv_removehumanlimit 1 <--不用动
sm_cvar sv_maxplayers 20 <--20这个是可以多少玩家加入
sm_cvar sv_visiblemaxplayers 20 <--必须和上面sm_cvar sv_maxplayers数目一样
附件下载后解压到Steamsteamappscommonleft 4 dead 2left4dead2addons即可生效



也可Steamsteamappscommonleft 4 dead 2left4dead2cfg內自行建立一个server.cfg添加以上内容!自动生效

silasa 发表于 2010-1-8 05:24

汗……和YX上面的帖子一字不差,都不知道是谁抄谁的了。
关键是……解释的很模糊,这个L4DTOOLZ不需要安装吗?直接丢到addons里就可以了吗?不是说还要装个什么SOURCEMOD……
英文苦手啊,拜托帮忙详细指点一下

tecmokoei 发表于 2010-1-8 13:22

回复 3# silasa 的帖子

在网上下一个SOURCEMOD直接覆盖进left4dead2目录里。置顶贴里就有。
然后把这个插件扔进addons就可以
sm_cvar sv_removehumanlimit 1
sm_cvar sv_maxplayers 20
sm_cvar sv_visiblemaxplayers 20

这三个参数在cfg目录下修改。你是服务器就在server.cfg里面修改。
如果是map建图,就在cfg目录里的sourcemod目录下的sourcemod.cfg里面修改。这两个文件都可以用记事本打开修改。
页: [1]
查看完整版本: L4DToolZ Metamod plugin (l4d1 & l4d2)