User Tools

Site Tools


mtr:dev:custom_bve_sound

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
mtr:dev:custom_bve_sound [2024/02/08 19:03] – Replace dead link lx862mtr:dev:custom_bve_sound [2024/02/17 14:10] (current) – [Note / Troubleshooting] sfsperseverance
Line 44: Line 44:
   - Export all the **.wav/.flac** file to **.ogg** file (For Audacity user, use **File > Export > Export Multiple**, and choose ''Ogg Vorbis Files'')   - Export all the **.wav/.flac** file to **.ogg** file (For Audacity user, use **File > Export > Export Multiple**, and choose ''Ogg Vorbis Files'')
   - Copy the train folder to ''Your Resource Pack/assets/mtr/sounds''. (Make the folder if it doesn't exist)   - Copy the train folder to ''Your Resource Pack/assets/mtr/sounds''. (Make the folder if it doesn't exist)
-  - Make a sound.json file in ''Your Resource Pack/assets/mtr'' if you haven't already, an example could be found [[https://github.com/jonafanho/Minecraft-Transit-Railway/blob/0daf388b7f62868502753c55a3264c545b5dd569/resources/common/normal/assets/mtr/sounds.json|here]]. +  - Make a sounds.json file in ''Your Resource Pack/assets/mtr'' if you haven't already, an example could be found [[https://github.com/jonafanho/Minecraft-Transit-Railway/blob/0daf388b7f62868502753c55a3264c545b5dd569/resources/common/normal/assets/mtr/sounds.json|here]]. 
-  - Make a sound entry in sound.json of every file in ''sound.cfg'', the sound ID to put should be ''trainSoundID_filename'' +  - Make a sound entry in sounds.json of every file in ''sound.cfg'', the sound ID to put should be ''trainSoundID_filename'' 
-  - Your sound.json in the end should look something like this (I used ''kksp'' as my train directory name):+  - Your sounds.json in the end should look something like this (I used ''kksp'' as my train directory name):
     - {{:mtr:dev:mtr-bve2.png?600}}     - {{:mtr:dev:mtr-bve2.png?600}}
   - Finally, add the following line to your custom train entry in ''mtr_custom_resources.json'', replace ''soundID'' with your actual sound ID/Train Folder Name:   - Finally, add the following line to your custom train entry in ''mtr_custom_resources.json'', replace ''soundID'' with your actual sound ID/Train Folder Name:
Line 60: Line 60:
  
   - **You will need to re-select the train in the siding, or restart the client if you have made any changes to the sound config.**   - **You will need to re-select the train in the siding, or restart the client if you have made any changes to the sound config.**
-  - ''point.ogg'' is played whenever the train crosses a rail node, which is different from BVE's behavior (Crossing a junction). If you feel the sound doesn't fit, please remove it in sound.json+  - ''point.ogg'' is played whenever the train crosses a rail node, which is different from BVE's behavior (Crossing a junction). If you feel the sound doesn't fit, please remove it in sounds.json
   - Small motor noises may be heard even when the train is coasting, this is to simulate train adding small bits of power to maintain it's speed.   - Small motor noises may be heard even when the train is coasting, this is to simulate train adding small bits of power to maintain it's speed.
  
  
mtr/dev/custom_bve_sound.txt · Last modified: 2024/02/17 14:10 by sfsperseverance