|
发表于 2003-5-25 00:17:00
|
显示全部楼层
来自 中国–上海–上海–浦东新区
poor guy,没人回答,就我来吧
以你的cs装在c:\hl\为例
首先需要安装metamod
最新的是metamod v1.16
下载完后,把metamod.dll解压缩到c:\hl\cstrike\addons\metamod\下
(没有相应文件夹的话自己建立,以下同。)
在c:\hl\cstrike\addons\metamod\下新建一个文本文件plugins.txt,内容为
win32 addons/statsme/dlls/sm_cstrike_mm.dll
linux addons/statsme/dlls/sm_cstrike_mm_i386.so
然后把plugins.txt后缀改为ini,也即文件名为plugins.ini
打开c:\hl\cstrike\liblist.gam,把gamedll "dlls\mp.dll"一行改为
gamedll "addons\metamod\metamod.dll"
把statsme-2.7.1-cstrike.zip解到c:\hl\cstrike\下,也即目录结构为
c:\hl\cstrike\addons\statsme\
打开c:\hl\cstrike\addons\statsme\scriptpacks.cfg
在其中添加你想加载的相应的脚本,注意,scripts文件夹下的脚本在statsme.cfg中加载,scriptpacks.cfg中只添加scriptpacks文件夹下的脚本。各脚本作用可以参考
http://bbs.dt-club.net/showthread.php?s=&threadid=3840
贴一下我的scriptpacks.cfg以供参考,其中//打头的是被注释掉的语句,不起作用(可以看到我只加载了少数几个脚本)
// StatsMe 2.7 Counter-Strike - Script-Pack File
// http://www.unitedadmins.com
// http://statsme.sourceforge.net
// Store all Scriptpack exec lines in this File
// e.g. : exec addons/statsme/scriptpacks/adminpack/admin.cfg
//adminpack
//exec addons/statsme/scriptpacks/adminpack/admin.cfg
//exec addons/statsme/scriptpacks/adminpack/afk.cfg
//exec addons/statsme/scriptpacks/adminpack/hpingkick.cfg
//exec addons/statsme/scriptpacks/adminpack/redirect.cfg
//hostage
//exec addons/statsme/scriptpacks/hostage/hospen.cfg
//exec addons/statsme/scriptpacks/hostage/hossi.cfg
//mappack
//exec addons/statsme/scriptpacks/mappack/italy.cfg
//exec addons/statsme/scriptpacks/mappack/mapcycle.cfg
exec addons/statsme/scriptpacks/mappack/nextmap.cfg
//miscpack
//exec addons/statsme/scriptpacks/miscpack/autorr.cfg
//exec addons/statsme/scriptpacks/miscpack/awplimit.cfg
//exec addons/statsme/scriptpacks/miscpack/damage.cfg
//exec addons/statsme/scriptpacks/miscpack/greet.cfg
exec addons/statsme/scriptpacks/miscpack/snapshot.cfg
//exec addons/statsme/scriptpacks/miscpack/sounds.cfg
//exec addons/statsme/scriptpacks/miscpack/timeinfo.cfg
exec addons/statsme/scriptpacks/miscpack/tmlf.cfg
exec addons/statsme/scriptpacks/miscpack/vip.cfg
//mppack
exec addons/statsme/scriptpacks/mkpack/killingspree.cfg
exec addons/statsme/scriptpacks/mkpack/multikill.cfg
//tkpack
exec addons/statsme/scriptpacks/tkpack/forgivetk.cfg
//exec addons/statsme/scriptpacks/tkpack/kickdp.cfg
//exec addons/statsme/scriptpacks/tkpack/punishtk.cfg
//exec addons/statsme/scriptpacks/tkpack/tdwarn.cfg |
|