Guide for using custom music with the Radio [TDMP] Modificación.
Adding Your Audio
To add your audio you are going to want to Make a local copy of the mod.
para hacer esto:
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 sitio web 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. Línea 98
- There should be functions set up like this:
- To setup your song put your info in this format:
Canción(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:
Canción(107.1,107.5,»viaje»)
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!
Eso es todo lo que estamos compartiendo hoy para este Demoler guía. Esta guía fue originalmente creada y escrita por SomeWhatSavageGaming. En caso de que no actualicemos esta guía, puede encontrar la última actualización siguiendo este enlace.