Guide for using custom music with the Radio [TDMP] Mod.
Adding Your Audio
To add your audio you are going to want to Make a local copy of the mod.
Om dit te doen:
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 website 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. Line 98
- There should be functions set up like this:
- To setup your song put your info in this format:
Song(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:
Song(107.1,107.5,”journey”)
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!
Dat is alles wat we vandaag hiervoor delen Afbreken gids. Deze handleiding is oorspronkelijk gemaakt en geschreven door SomeWhatSavageGaming. Voor het geval we er niet in slagen deze handleiding bij te werken, U kunt de laatste update vinden door dit te volgen link.