开启左侧

4.0+的mtr如何修改开关门音频

[复制链接]
沐城的铁 昨天 17:18

还没有账号?赶快去注册吧!

您需要 登录 才可以下载或查看,没有账号?立即注册

×
本帖最后由 沐城的铁 于 2026-7-13 17:25 编辑

我在开发4.0.1的版本开发资源包时写入了开关门的json但游戏中没有开关门声音

以下是sound.json关于开关门声的内容
"crt6_door_c": {
        "sound": [
            {
                "name": "mtr:crt6/door_close","pitch":1,"attenuation_distance":32,"stream":true
            }
        ]
    },
    "crt6_door_o": {
        "sound": [
            {
                "name": "mtr:crt6/door_open","pitch":1,"attenuation_distance":32,"stream":true
            }
        ]
    },

以下是mtr_custom_resources.json的内容
{
    "custom_trains":{
        "crt6" :{
            "name":"CRT6",
            "color":"C95487",
            "base_train_type":"c_train",
            "texture_id":"mtr:textures/vehicle/c_train.png",
            "speed_sound_count":60,
            "speed_sound_base_id":"crt6",
            "door_sound_base_id":"crt6"
        }
    }
}

注:已经检查过,没有文件(夹)名称拼写错误
<尝试回坑>爱发电:https://afdian.com/a/crt114514
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

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