|
我所有的CS插件用部是从ILLK和宝兄的网站下载的,所以不必考虑来源问题,我看了ILLK兄的STATSME.CFG的文件,发现有这么一句话:
//exec addons/statsme/scripts/chicken.cfg // Chicken metamod plugin required!!!
然后我下载小鸡的插件chickenmod-1.0.5.1后,把上面那句话改为:
exec addons/statsme/scripts/chicken.cfg // Chicken metamod plugin required!!!
然后在metamod.ini文件下加入win32 dlls/chicken_mm.dll(chicken_mm.dll文件放在cstrike\dlls目录下),然后让用户进入后客户机会自动下载相关的文件,三人测试,一个CT,两个T,问题出现了。
比如一局是C全部是小鸡,CT是人,如果CT打死了C后,下一局CT是小鸡,C是人,我用HDLW控制命令打入:rcon c_chicken和rcon c_unchicken根本没用,怎么样才能解决这个问题呢?我想让我控制谁是小鸡,谁不是小鸡,怎么办?请高手多多指教。
附上小鸡的脚本。服务器上只装了statsme一个插件。
chicken.cfg
// chicken
// people from losing team turn into chickens
// on round draw all people are unchickenized
sm_mode set u
c_glow 0 // so chickens can hide in dark places
c_maxspeed 0 // set max. speed for chickens
c_health 255 // give max. health
sm_menu "Chicken\\y\\R{sm_mode&u?ON:OFF}" "{%.cmg=2}set_hl;sm_tell * \'Chicken mod {sm_mode&u?DISABLED:ENABLED}!\';{sm_mode&u?c_unchicken};sm_mode {sm_mode&u?remove:set} u"
sm_register "SM_PutInServer u" "sm_clexec #{p.uid} \'setinfo cl_lw 1\'" "be"
sm_register "TextMsg u" "{%.cmg=2?#}c_chicken @ {%.cmg?TERRORIST:CT}" ade "2=#Game_join_"
sm_register "SM_RoundStart u" "{%.cmg=2?#}c_chicken @ {%.cmg?TERRORIST:CT}" bcde
sm_register "SM_DeathMsg u" "{v.I.cl_lw=1?#}{C.c_alive<1?#}set_hl;sm_tell * \'{W.{C.c_alive}}chicken{C.c_alive>1?s} remaining\'" ade
sm_register "SendAudio u" "{%.cmg=0}c_unchicken @ TERRORIST;c_chicken @ CT;set_hl;sm_tell * \'counter-terrorists turn into chickens!\'" ade "2=%!MRAD_terw"
sm_register "SendAudio u" "{%.cmg=1}c_unchicken @ CT;c_chicken @ TERRORIST;set_hl;sm_tell * \'terrorists turn into chickens!\'" ade "2=%!MRAD_ctw"
sm_register "SendAudio u" "{%.cmg=2}c_unchicken" ade "2=%!MRAD_roundd" |
|