Bay 12 Games Forum
Dwarf Fortress => DF Modding => Topic started by: Putnam on June 29, 2023, 08:53:09 pm
-
music_file_d
[OBJECT:MUSIC_FILE]
[MUSIC_FILE:SONG_GAME_CLASSIC]
[FILE:song_game.ogg]
[TITLE:song_game]
[AUTHOR:Tarn Adams]
[MUSIC_FILE:SONG_TITLE_CLASSIC]
[FILE:song_title.ogg]
[TITLE:song_title]
[AUTHOR:Tarn Adams]
Here is a sample music file. It goes in the `sound` folder. Sample mod that adds the old classic music back in a couple of circumstances. (https://cdn.discordapp.com/attachments/629902895138996264/1124155142896369725/old_music.zip) You can use these MUSIC_FILE references like you would reference any of the hardcoded tracks. The same works for SOUND_FILE, of course, and you can use that anywhere, too.
It got lost in all the other stuff added to 50.09, I think, haha