Guide for using custom music with the Radio [TDMP] Мод.
Adding Your Audio
To add your audio you are going to want to Make a local copy of the mod.
Чтобы сделать это:
Click on the mod in Subscribed
Click Make Local Copy
Open The Folder For the local copy by clicking the directory at the bottom
Now that you have this folder open you will want to put your music in the audio folder (you can also delete base songs if you wish).
The audio must be .ogg format if it is not you can use this веб-сайт to convert it.
Adding Song To Radio / Editing Main.lua
Now don’t leave yet this will be very easy even if you don’t know how to code
- Open main.lua in your radio copy
- Scroll to aprrox. Линия 98
- There should be functions set up like this:
- To setup your song put your info in this format:
Песня(Starting Station,Ending Station, “Song Name”)Make sure the name of the song does not have .ogg on it and is in ” ”Song Start and Ending Station refer to the range in which the song will be audible
Say we have:
Песня(107.1,107.5,”путешествие”)
The song will play when the slider is inclusively between 107.1-107.5
If you deleted the base songs in the lua file and/or in the audio folder. Please set your first song’s starting station to 88!
Это все, чем мы делимся сегодня для этого. Срывать гид. Это руководство было первоначально создано и написано SomeWhatSavageGaming. На случай, если нам не удастся обновить это руководство, вы можете найти последнее обновление, следуя этому связь.