搜索
查看: 2175|回复: 4

请教高手关于如何在Statsme里加声音的问题[求助]

[复制链接]
发表于 2003-1-20 21:51:50 | 显示全部楼层 |阅读模式 来自 中国–湖北–武汉
玩家在服务器里用Y键打出特定的命令时,其他玩家就可以听到一些声音,比如woohoo这个词,我们就可以听到叫声,这是如何设置的?
 楼主| 发表于 2003-1-24 16:13:52 | 显示全部楼层 来自 中国–湖北–武汉
今天看到statsme-2.6.19-cstrike里有个Sound.cfg
好象跟我说的这个问题有点关系,但是我不知道怎么做
哪位大哥帮帮我!!

// Random Sound Alias Script - Based on VALVe's Sentences.txt File
// Currently Supported: /sci-idle  /barney-kill  /smell

sm_mode3 set p

localinfo spv 5 // maximuim number of sounds per round (or life[tfc]) before kick

sm_menu "Sound Aliases\y\R{sm_mode3&p?ON:OFF}" "sm_mode3 {sm_mode3&p?remove:set} p"

sm_reg "SM_PutInServer p 3" "{%.spc{p.id}=0}" bde
sm_reg "ResetHud p 3" "{%.spc{p.id}=0}" bde
sm_reg "SM_DeathMsg p 3" "{%.spc{V2.id}=0}" ade

sm_do "{#.voyes2=sm_tell2 #{p.uid} \'** This was your {%.spc{p.id}}th sound of {I.spv} sounds **\' 3}"
sm_do "{#.vono=sm_clexec2 #{p.uid} \'echo \\'<{C.hostname}> ** reached voice-alias limit **\\'\'}"
sm_do "{#.vono2=sm_clexec2 #{p.uid} \'echo \\'<{C.hostname}> ** stop spamming! **\\';disconnect\'}"
sm_do "{#.sciidle1=scientist/ipredictedthis}"
sm_do "{#.sciidle2=scientist/containfail}"
sm_do "{#.sciidle3=scientist/chaostheory}"
sm_do "{#.sciidle4=scientist/neverseen}"
sm_do "{#.sciidle5=scientist/peculiarmarks}"
sm_do "{#.sciidle6=scientist/whoresponsible}"
sm_do "{#.sciidle7=scientist/nogrant}"
sm_do "{#.sciidle8=scientist/bloodsample}"
sm_do "{#.sciidle9=scientist/administrator}"
sm_do "{#.sciidle10=scientist/improbable}"
sm_do "{#.sciidle11=scientist/organicmatter}"
sm_do "{#.sciidle12=scientist/lambdalab}"
sm_do "{#.sciidle13=scientist/ihearsomething}"
sm_do "{#.bakill1=barney/ba_gotone}"
sm_do "{#.bakill2=barney/ba_another}"
sm_do "{#.bakill3=barney/ba_buttugly}"
sm_do "{#.bakill4=barney/ba_seethat}"
sm_do "{#.bakill5=barney/ba_close}"
sm_do "{#.bakill6=barney/ba_firepl}"
sm_do "{#.bakill7=barney/ba_bring}"
sm_do "{#.smellw1=barney/somethingdied}"
sm_do "{#.smellw2=barney/somethingstinky}"
sm_do "{#.smellw3=barney/stench}"
sm_do "{#.smellw4=scientist/somethingfoul}"
sm_do "{#.smellw5=scientist/odorfromyou}"
sm_do "{#.smellw6=scientist/peculiarodor}"
sm_do "{#.smellw7=scientist/stench}"

sm_alias "/smell" "{sm_mode3&p?:#}{%.spc{p.id}+1}{%.spc{p.id}>{I.spv}?{#.vono};{#.vono2}:sm_clexec * \'spk {#.smellw{R.7}\';{#.voyes2}}" b
sm_alias "/barney-kill" "{sm_mode3&p?:#}{%.spc{p.id}+1}{%.spc{p.id}>{I.spv}?{#.vono};{#.vono2}:sm_clexec * \'spk {#.bakill{R.7}\';{#.voyes2}}" b
sm_alias "/sci-idle" "{sm_mode3&p?:#}{%.spc{p.id}+1}{%.spc{p.id}>{I.spv}?{#.vono};{#.vono2}:sm_clexec * \'spk {#.sciidle{R.13}\';{#.voyes2}}" b

// Original Non-Random Aliases: (note: . prefix changed to /)
sm_do "{#.voyesa=sm_clexec2 * \'spk ambience/cow\'}"
sm_do "{#.voyesb=sm_clexec2 * \'spk ambience/dog1\'}"
sm_do "{#.voyesc=sm_clexec2 * \'spk ambience/dog2\'}"
sm_do "{#.voyesd=sm_clexec2 * \'spk ambience/opera\'}"

sm_alias "/muh" "{sm_mode3&p?:#}{%.spc{p.id}+1}{%.spc{p.id}>{I.spv}?{#.vono};{#.vono2}:{#.voyesa};{#.voyes2}}" b
sm_alias "/dog1" "{sm_mode3&p?:#}{%.spc{p.id}+1}{%.spc{p.id}>{I.spv}?{#.vono};{#.vono2}:{#.voyesb};{#.voyes2}}" b
sm_alias "/dog2" "{sm_mode3&p?:#}{%.spc{p.id}+1}{%.spc{p.id}>{I.spv}?{#.vono};{#.vono2}:{#.voyesc};{#.voyes2}}" b
sm_alias "/opera" "{sm_mode3&p?:#}{%.spc{p.id}+1}{%.spc{p.id}>{I.spv}?{#.vono};{#.vono2}:{#.voyesd};{#.voyes2}}" b

:confused:
回复

使用道具 举报

发表于 2003-1-25 21:37:15 | 显示全部楼层 来自 中国–湖北–荆州
这个好象跟你的没关系哈哈~~~~那个我记得是在另一个文件里设置的。。。跟这个一点关系都没
回复

使用道具 举报

 楼主| 发表于 2003-1-25 21:52:09 | 显示全部楼层 来自 中国–湖北–武汉
哪个文件??告诉我好吗?
回复

使用道具 举报

 楼主| 发表于 2003-1-25 22:00:40 | 显示全部楼层 来自 中国–湖北–武汉
哪个文件??告诉我好吗?
回复

使用道具 举报

游客
回复
您需要登录后才可以回帖 登录 | 注个册吧

快速回复 返回顶部 返回列表