搜索
查看: 2504|回复: 6

发声

[复制链接]
匿名  发表于 2003-4-15 16:56:36 |阅读模式 来自 Invalid
我装了stats2.6.4
  clan1.81
metamod
语言包也装了,请问为什么还是没有声音呀?如headshot,个人觉得有声音很爽

那位大虾指点一下!!1:cry: :cry:
发表于 2003-4-15 17:04:06 | 显示全部楼层 来自 中国–上海–上海
声音包你装在哪里了?
能不能帖一下你的statsme.cfg
回复

使用道具 举报

匿名  发表于 2003-4-15 17:25:16 来自 Invalid
服务器也是别人帮我做的,是挺早的事了,我自己想加声音。
一下使cfg内容,也是别人帮我能的,你看看吧。别晕倒:)


// StatsMe 2.7.1 Counter-Strike - Configuration File
// http://www.unitedadmins.com
// http://statsme.sourceforge.net

// Display the StatsMe MOTD. make your custom MOTD changes in that file.
// If you don't want an MOTD, comment this out
exec addons/statsme/motd.cfg

// Define Addon Standards Log Format (for compatibility with PsychoStats etc.)
// 1 - old method (without [STATSME] tag)
// 2 - new Method (with [STATSME] tag)
// 3 - both methods (two lines, one with, one without tag)
sm_addonlogformat 2

//////////////////////////////////////////////////////////////////////////////////
//                                                                                  //
//                        CHANGE THIS PART!! VERY IMPORTANT!!!                        //
//                                                                                //
//////////////////////////////////////////////////////////////////////////////////
// Set password for StatsMe Menu (no password disables menu)
sm_menupassword "root" // To display public menu type as player in the console: statsme_menu root
/////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////

// Rank by AUTHID
// If you play with bots, or on a LAN Server you should *not* enabled Rank by AUTHID
sm_storebyauth 0

// Time when the Ranking will be updated
// 2 - On every new round
// 1 - On Player disconnect
// 0 - On Server shutdown
sm_rankupdate 2

// Set time in hours after which top15 will be reset
sm_resetrank 144

// Allow for logging bots to top15
sm_rankbots 1

// Log format for end map weapon stats (make sure you have "log on" in your server.cfg)
// To disable this logging set sm_logformat to ""
sm_logformat "(weapon \'{p.a.name}\') (shots \'{p.a.shots}\') (hits \'{p.a.hits}\') (kills \'{p.a.kills}\') (headshots \'{p.a.hs}\') (tks \'{p.a.tks}\') (damage \'{p.a.damage}\') (deaths \'{p.a.deaths}\')"
//sm_logformat ""

// Detailed log format for weapon stats
// To disable this logging set sm_logformat2 to ""
sm_logformat2 "(weapon \'{p.a.name}\') (head \'{p.a.head}\') (chest \'{p.a.chest}\') (stomach \'{p.a.stomach}\') (leftarm \'{p.a.leftarm}\') (rightarm \'{p.a.rightarm}\') (leftleg \'{p.a.leftleg}\') (rightleg \'{p.a.rightleg}\')"
//sm_logformat2 ""

// Latency log
// To disable this logging set sm_latlogformat to ""
sm_latlogformat "(ping \'{p.ping}\')"
//sm_latlogformat ""
sm_latlogfreq 20 // sec.

// Playing time
// To disable this logging set sm_timelogformat to ""
sm_timelogformat "(time \'{p.time}\')"
//sm_timelogformat ""

// Player stats format (when called by /statsme)
sm_playerstats "Killed enemies: {p.gm.kills}\nDeaths: {p.gm.deaths}\nEfficiency: {p.gm.eff}%%\nAccuracy: {p.gm.acc}%%\n"

// Weapon stats format (when called by /statsme)
sm_weaponstats "{p.a.name} shots: {p.a.shots} hits: {p.a.hits} kills: {p.a.kills} hs: {p.a.hs} damage: {p.a.damage} eff.: {p.a.eff}%% acc.: {p.a.acc}%%"

// Format of top15
sm_ranktitle "Top 15"
sm_rankhead "#  nick                     kills/deaths   hits/shots/hs.   eff.%%   acc.%%"
sm_rankbody "{rk.id}.  {rk.name}{rk.txt} {rk.kills}/{rk.deaths}   {rk.hits}/{rk.shots}/{rk.hs}   {rk.eff}    {rk.acc}"

sm_rankscore "{{rk.kills}-{rk.deaths}}" // by diff. between kills and deaths
//sm_rankscore "{rk.kills}" // by kills
//sm_rankscore "" // for default formula

// Set teams which score should be available
sm_score "TERRORIST" "CT"

// Usage: sm_mode[ mod id ] < set | remove > < bits > [ * | #uid | team ]
sm_mode set abc // enable itermission stats, statsme, stats and top15

// check if we have to remove statsme, stats and top15 commands
sm_do "sm_rankcmd {sm_mode&c?top15:\'\'};sm_statsmecmd {sm_mode&b?statsme:\'\'};sm_statscmd {sm_mode&b?stats:\'\'}"

// Positions for StatsMe Menu (most of them are in scriptfiles)
// Usage: sm_menu < description > < server command >
sm_menu "Intermission stats\y\R{sm_mode&a?ON:OFF}" "sm_mode {sm_mode&a?remove:set} a"
sm_menu "/statsme and /stats\y\R{sm_mode&b?ON:OFF}" "sm_statsmecmd {sm_mode&b?\'\':statsme};sm_statscmd {sm_mode&b?\'\':stats};sm_mode {sm_mode&b?remove:set} b"
sm_menu "Top15 Rank\y\R{sm_mode&c?ON:OFF}" "sm_rankcmd {sm_mode&c?\'\':top15};sm_mode {sm_mode&c?remove:set} c"
//sm_menu "-----" " "
//sm_menu "mp_tkpunish\y\R{C.mp_tkpunish}" "mp_tkpunish {C.mp_tkpunish?0:1}"
//sm_menu "mp_friendlyfire\y\R{C.mp_friendlyfire}" "mp_friendlyfire {C.mp_friendlyfire?0:1}"
//sm_menu "mp_autoteambalance\y\R{C.mp_autoteambalance}" "mp_autoteambalance {C.mp_autoteambalance?0:1}"



// sm_alias < alias > < command > < flags >
// flags: a - console command, b - say command, c - don't show said alias
sm_alias "/score" "sm_tell2 #{p.uid} \'Game score:   {t2gm.name} {t2gm.score} / {t2gm.eff} / {t2gm.acc}   --   {t1gm.name} {t1gm.score} / {t1gm.eff} / {t1gm.acc}\' 3" "b"
sm_alias "/report" "sm_clexec2 #{p.uid} \'say_team weapon: {p.w.name?$:#} ammo: {p.w.clip}/{p.w.ammo} health: {p.health} armor: {p.armor} money: {p.money}\' 3" "bc"
sm_alias "/timeleft" "sm_tell2 * \'{timeleft?Time Remaining\:  $:* No Time Limit *}\' 3" "b"
sm_alias "/currentmap" "sm_tell2 * \'Played map:   {currentmap}\' 3" "b"
sm_alias "/me" "sm_tell2 #{p.uid} \'* Last result: {p.a.hits?$:#} hit(s) >>{p.a.head? head\: $}{p.a.chest? chest\: $}{p.a.stomach? stomach\: $}{p.a.leftleg? leftleg\: $}{p.a.rightleg? rightleg\: $}{p.a.leftarm? leftarm\: $}{p.a.rightarm? rightarm\: $}\' 3" "b"
sm_alias "/ff" "sm_tell2 * \'Firendly fire:   {C.mp_friendlyfire?ON:OFF}\' 3" "b"
sm_alias "/switch" "sm_clexec2 #{p.uid} \'setinfo {C.sm_switchinfo} {p.I.{C.sm_switchinfo}?0:1}\';sm_tell2 #{p.uid} \'* You have {p.I.{C.sm_switchinfo}?disabled:enabled} statsme announcement\' 3" "b"
sm_alias "/top15" "{sm_mode&c?:#}sm_clexec2 #{p.uid} {C.sm_rankcmd}" "b"
sm_alias "/statsme" "{sm_mode&b?:#}sm_clexec2 #{p.uid} {C.sm_statsmecmd}" "b"
sm_alias "/stats" "{sm_mode&b?:#}sm_clexec2 #{p.uid} {C.sm_statscmd}" "b"
sm_alias "/rank" "sm_tell2 #{p.uid} \'* Your rank is {p.rk.id} of {ranknum} with {p.rk.kills} kills, {p.rk.hits} hits, {p.rk.acc} acc. and {p.rk.eff} eff.\' 3" "b"

// Load statsme scripts
// Don't comment these lines to disable scripts, use statsme_menu instead

exec addons/statsme/scripts/avlist.cfg
exec addons/statsme/scripts/bombc.cfg
exec addons/statsme/scripts/endround.cfg
exec addons/statsme/scripts/firstblood.cfg
exec addons/statsme/scripts/gresuc.cfg
exec addons/statsme/scripts/headshot.cfg
exec addons/statsme/scripts/kill.cfg
exec addons/statsme/scripts/knifekill.cfg
exec addons/statsme/scripts/lastman.cfg
exec addons/statsme/scripts/playername.cfg
exec addons/statsme/scripts/roundcount.cfg
exec addons/statsme/scripts/specinfo.cfg

// The Following line loads all scriptpacks, defined in scriptpacks.cfg
exec addons/statsme/scriptpacks.cfg
// ONLY add scriptpacks to this file. It makes life easier for the support team.


sm_log Configuration for StatsMe 2.7.1 loaded.

exec addons/statsme/scriptpacks.cfg
发表于 2003-4-15 17:37:25 | 显示全部楼层 来自 中国–上海–上海
hehe,上了你的当了,你这是statsme 2.7.1
看一下你的scriptpacks.cfg吧
里面要有
exec addons/statsme/scriptpacks/mkpack/killingspree.cfg
exec addons/statsme/scriptpacks/mkpack/multikill.cfg
这两行
另外,那些.wav文件应该都在sounds/misc文件夹下
声音包里的.res文件你有没有拷到maps子目录下?
客户端再玩到.res文件对应的地图是才会自动下载.wav文件
回复

使用道具 举报

匿名  发表于 2003-4-15 18:13:57 来自 Invalid
谢谢,我这就去试试

另外:我用hlsw察看服务器,确实是2.64,这是同学以前帮我做的版本。我下了2.71,但装上后hlsw显示不出来,我只好把dll文件用原来的备份覆盖,这才又认出来。现在的情况好像是dll用的2.64,但其他用的是2.71的东西。这就是为什么我告诉你用的是2.64,但文件却显示2.71。

哎哎皑皑。。。。。。有点不伦不类。
匿名  发表于 2003-4-15 18:24:27 来自 Invalid
真不好意思,

还是没有headshot的声音,multikill倒是有。在指点指点吧!!

在问一下,发声是statsme 还是clanmod的功能?还应该怎样设置呀!
发表于 2003-4-15 18:46:22 | 显示全部楼层 来自 中国–上海–上海
最初由 liudau 发表
我下了2.71,但装上后hlsw显示不出来,我只好把dll文件用原来的备份覆盖,这才又认出来。现在的情况好像是dll用的2.64,但其他用的是2.71的东西。

ffdt!!
你用sm2.7.1的dll试试啊
或者你干脆都用2.6.4的

headshot之类的声音是statsme的
回复

使用道具 举报

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

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