Upload your desired music in .ogg format to the dh_cardance/html/song folder.
.ogg
dh_cardance/html/song
In the server console, enter the following command to generate beats for your music file:
generate_beat file_name.ogg
Do not exit the server until you see the message "Beat finished successfully".
configs/shared.lua
Add your song to Shared.Sounds with the following format:
Shared.Sounds
{ name = "SONG_DISPLAY_NAME", time = "SONG:DURATION", url = "file_name.ogg", diff
Your Car Dancing script should now be fully functional.
Example of configuration entry for shared.lua:
shared.lua
Shared.Sounds = { { name = "Song Display Name", time = "3:45", url = "song_file.ogg", difficulty = "easy" }, -- Add more songs here }
Last updated 19 days ago