中国虚拟军事网(VME)- 专注于武装突袭系列虚拟军事游戏

 找回密码
 加入VME

QQ登录

只需一步,快速开始

搜索
查看: 2301|回复: 2

小弟想學 如何將ogg聲音檔放入任務中?

[复制链接]
发表于 2007-9-19 19:57:54 | 显示全部楼层 |阅读模式
小弟想學 如何將ogg聲音檔放入任務中?
如何將ogg聲音檔放入任務中?

小弟想將多過一段的聲意放在同一的任務

但失敗了
只看見第一段Paycall 而看不到第二段sound01

class CfgSounds
{
    sounds[] = {Paycall, sound01};

    // Definition for each sound
    class Paycall
    {
        name = "Paycall";
        sound[] = {\sound\Paycall.ogg, db + 0, 1.0};
        titles[] = {0, ""};

      class sound01
    {
        name = "sound01";
        sound[] = {\sound\sound01.ogg, db + 0, 1.0};
        titles[] = {0, ""};
    };
};


請大家指教
发表于 2007-9-20 00:44:01 | 显示全部楼层
拼写格式错误,遗漏一个};

class CfgSounds
{
    sounds[] = {Paycall, sound01};

    // Definition for each sound
    class Paycall
    {
        name = "Paycall";
        sound[] = {\sound\Paycall.ogg, db + 0, 1.0};
        titles[] = {0, ""};
    };
      class sound01
    {
        name = "sound01";
        sound[] = {\sound\sound01.ogg, db + 0, 1.0};
        titles[] = {0, ""};
    };
};


看红色的那里

评分

参与人数 1军贴 +1 收起 理由
bym101 + 1 很好

查看全部评分

 楼主| 发表于 2007-9-20 04:17:00 | 显示全部楼层
謝謝........................
您需要登录后才可以回帖 登录 | 加入VME

本版积分规则

小黑屋|中国虚拟军事网

GMT+8, 2024-5-5 03:49

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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