Selaco
评价数不足
Radio Free Jukebox
2
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
699.761 KB
5 月 1 日 下午 10:53
5 月 2 日 上午 12:06
3 项改动说明 ( 查看 )

订阅以下载
Radio Free Jukebox

描述
Radio Free Jukebox gives the player complete control of their music and adds immersive Jukeboxes to Selaco's saferooms.

By default it includes Selaco's OST and supports users loaded tracks. The Personal Music Player lets you override the normal music with available tracks, and binding a key in the mod options menu lets you pause, resume, select and play next track. Interacting with a jukeboxes' screen will bring up the menu, while the buttons will play a new track. Hitting the jukebox with a melee will pause it.

A feature to help with the minimal track metadata is the "prefix lock". If you set this, it will make both the Jukebox and PMP only select tracks that begin with the prefix lock. For example, setting the prefix lock to "JBT" will make only tracks that start with JBT available for selection when its time to play a new track.

There's also a speaker spawner that will let you place speakers on walls to enhance the jukeboxes volume and radius. This is bindable in the mod menu along with a button to spawn a jukebox. Build your own surround sound system wherever you want.

You can add custom tracks two ways, the first is easier but the second lets you give names to tracks.

1) Create JukeboxTracks\JukeboxTracks in your Selaco folder (two folders named JukeboxTracks)
2) add "-file JukeboxTracks" to steam launch parameters
3) Add mp3s named JBT01.mp3,JBT02.mp3... to JukeboxTracks\JukeboxTracks

You can also load a SNDINFO with your own definitions so you can name the tracks something else. An entry in sndinfo looks like this:

TrackName = "userdefinedtracks/trackname.mp3"

The folder MUST be named userdefinedtracks, and mind the forward slash. The sndinfo.txt should be in the first level JukeboxTracks folder. More information about the format here https://zdoom.org/wiki/SNDINFO

Example folder structure:

Selaco/Selaco.exe
Selaco/JukeboxTracks/sndinfo.txt
Selaco/JukeboxTracks/JukeboxTracks/JBT01.mp3
Selaco/JukeboxTracks/UserDefinedTracks/trackname.mp3


Radio Free Jukebox has many options to change its behavior to your liking. There are a lot of combinations, so it's totally possibly I missed issues with certain combos, let me know if you find something that doesn't work as expected! I have a ton of ideas but for now I need to release this and work on other stuff. Track control slider, a completely diegetic mode, and guaranteed non-repeating tracks for random play are things I want to add at some point.

In my testing and by design it should be compatible with existing saves.

Known Issues / Limitations -

- Every custom track that is loaded must have its length calculated, which takes time. This results in lag when the game starts up, but doesn't cause any issues in game.

- This mod plays the music through sound channels. This means it ignores the music volume setting. For the PMP, you can adjust the volume slider and enable the "Overdrive" feature that doubles the sound channels played to help mixing.

- Multiple speakers and jukeboxes in range of each other can cause unexpected behavior.

- All of the menu options (CVARs) are server, which means they are saved to a save file. If you change an option, but don't save, it'll be lost when you load. Except for prefix lock which does carry over. This is a result of me being a noob modder still, they should definitely not work this way but oh well :)

- Sometimes, weird ♥♥♥♥ happens. This mod wasn't built with scope larger than playing a sound through an actor so it's foundations are shaky to say the least.

Thank you to DrDubz for the Dawn drawing, Nexxtic and Cockatrice for helping me and giving motivation to finish this, Sir Robin for his many useful tools and ArraySort library, and the GZDoom Discord for giving ZScript advice (especially Agent Ash and Jay)
1 条留言
Maitre Corbeau 5 月 2 日 上午 4:22 
Daaamn this is great