Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: As of 50.09, you can now add new music/sound files  (Read 449 times)

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
As of 50.09, you can now add new music/sound files
« on: June 29, 2023, 08:53:09 pm »

Code: [Select]
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. 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