[求助]追加列车无走行音
Rt,列车虽然有开关门声音,但是无走行音。求助各位大佬解决(我怀疑是mtr_custom_resources.json写错了)现附上代码:
{
"custom_trains":{
"m_train_1":{
"name":"M-Train(升集電弓)",
"description":"必須以8節車卡編組,否則可能會出現部件混亂",
"color":"999999",
"gangway_connection_id":"mtr:textures/entity/m_train",
"train_barrier_id":"",
"door_animation_type":"BOUNCY_1",
"render_door_overlay":true,
"rider_offset":0.0,
"door_sound_base_id": "m_train",
"door_close_sound_time":1.0,
"speed_sound_count": 78,
"speed_sound_base_id": "m_train",
"texture_id":"mtr:train_resources/m_train.png",
"model":"mtr:train_resources/m_train.bbmodel",
"model_properties":"mtr:train_resources/m_train_1.json"
},
"m_train_2":{
"name":"M-Train(降集電弓)",
"description":"必須以8節車卡編組,否則可能會出現部件混亂",
"color":"999999",
"gangway_connection_id":"mtr:textures/entity/m_train",
"train_barrier_id":"",
"door_animation_type":"BOUNCY_1",
"render_door_overlay":true,
"rider_offset":0.0,
"door_sound_base_id": "m_train",
"door_close_sound_time":1.0,
"speed_sound_count": 78,
"speed_sound_base_id": "m_train",
"texture_id":"mtr:train_resources/m_train.png",
"model":"mtr:train_resources/m_train.bbmodel",
"model_properties":"mtr:train_resources/m_train_2.json"
},
"k_train_tkl_1":{
"name":"K-Train(市區綫,升集電弓)",
"description":"必須以8節車卡編組,否則可能會出現部件混亂",
"color":"0eab52",
"gangway_connection_id":"mtr:textures/entity/k_train",
"train_barrier_id":"",
"door_animation_type":"PLUG_SLOW",
"render_door_overlay":true,
"rider_offset":0.0,
"door_sound_base_id": "k_train",
"door_close_sound_time":1.0,
"speed_sound_count": 78,
"speed_sound_base_id": "k_train",
"texture_id":"mtr:train_resources/k_train_tkl.png",
"model":"mtr:train_resources/k_train_tkl.bbmodel",
"model_properties":"mtr:train_resources/k_train_tkl_1.json"
},
"k_train_tkl_2":{
"name":"K-Train(市區綫,降集電弓)",
"description":"必須以8節車卡編組,否則可能會出現部件混亂",
"color":"0eab52",
"gangway_connection_id":"mtr:textures/entity/k_train",
"train_barrier_id":"",
"door_animation_type":"PLUG_SLOW",
"render_door_overlay":true,
"rider_offset":0.0,
"door_sound_base_id": "k_train",
"door_close_sound_time":1.0,
"speed_sound_count": 78,
"speed_sound_base_id": "k_train",
"texture_id":"mtr:train_resources/k_train_tkl.png",
"model":"mtr:train_resources/k_train_tkl.bbmodel",
"model_properties":"mtr:train_resources/k_train_tkl_2.json"
},
"ael_pan_lgc1":{
"name":"CAF機場快綫列車(升集電弓)",
"description":"必須以8節車卡編組,否則可能會出現部件混亂",
"color":"008d8d",
"gangway_connection_id":"mtr:textures/entity/a_train",
"train_barrier_id":"",
"door_animation_type":"PLUG_FAST",
"render_door_overlay":false,
"rider_offset":0.0,
"door_sound_base_id": "a_train",
"door_close_sound_time":1.0,
"speed_sound_count": 78,
"speed_sound_base_id": "a_train",
"texture_id":"mtr:train_resources/a_train_ael.png",
"model":"mtr:train_resources/a_train_ael.bbmodel",
"model_properties":"mtr:train_resources/a_train_ael_1.json"
},
"ael_pan_lgc2":{
"name":"CAF機場快綫列車(降集電弓)",
"description":"必須以8節車卡編組,否則可能會出現部件混亂",
"color":"008d8d",
"gangway_connection_id":"mtr:textures/entity/a_train",
"train_barrier_id":"",
"door_animation_type":"PLUG_FAST",
"render_door_overlay":false,
"rider_offset":0.0,
"door_sound_base_id": "a_train",
"door_close_sound_time":1.0,
"speed_sound_count": 78,
"speed_sound_base_id": "a_train",
"texture_id":"mtr:train_resources/a_train_ael.png",
"model":"mtr:train_resources/a_train_ael.bbmodel",
"model_properties":"mtr:train_resources/a_train_ael_2.json"
},
"q_train_1":{
"name":"Q-Train(升集電弓)",
"description":"必須以8節車卡編組,否則可能會出現部件混亂",
"color":"774596",
"gangway_connection_id":"mtr:textures/entity/c_train",
"train_barrier_id":"",
"door_animation_type":"STANDARD",
"render_door_overlay":false,
"rider_offset":0.0,
"door_sound_base_id": "sp1900",
"door_close_sound_time":1.0,
"speed_sound_count": 78,
"speed_sound_base_id": "c_train",
"texture_id":"mtr:train_resources/q_train.png",
"model":"mtr:train_resources/q_train.bbmodel",
"model_properties":"mtr:train_resources/q_train_1.json"
},
"q_train_2":{
"name":"Q-Train(降集電弓)",
"description":"必須以8節車卡編組,否則可能會出現部件混亂",
"color":"774596",
"gangway_connection_id":"mtr:textures/entity/c_train",
"train_barrier_id":"",
"door_animation_type":"STANDARD",
"render_door_overlay":false,
"rider_offset":0.0,
"door_sound_base_id": "sp1900",
"door_close_sound_time":1.0,
"speed_sound_count": 78,
"speed_sound_base_id": "c_train",
"texture_id":"mtr:train_resources/q_train.png",
"model":"mtr:train_resources/q_train.bbmodel",
"model_properties":"mtr:train_resources/q_train_2.json"
}
}
}
本帖最后由 ec114514 于 2024-2-1 11:58 编辑
刚刚翻了一下目录,发现a_train似乎并没有单独的行走音(((
啊不,好像motor就是(?
本帖最后由 贾子懿007 于 2024-2-22 20:37 编辑
你可以把a-train的列车声音装进/assets/mtr/sounds目录里,然后写sounds.json
具体可以在论坛上搜一下教程
https://www.mtrbbs.top/thread-5201-1-1.html 里面有 沐城的铁 发表于 2024-3-16 22:33
https://www.mtrbbs.top/thread-5201-1-1.html 里面有
我要的是完全使用原版走行音 请看完所有大标题https://www.mtrbbs.top/thread-5201-1-1.html
页:
[1]