Barotrauma
26 人が評価
Jukebox (Music Player)
   
アワード
お気に入り
お気に入り
お気に入りから削除
ファイルサイズ
投稿日
更新日
35.008 MB
2020年7月10日 15時10分
2020年7月18日 23時14分
7 項目の変更履歴 ( 表示 )

サブスクライブしてダウンロード
Jukebox (Music Player)

Dahitman 作成の 1 件のコレクション
Snakes and Onions Campaign Loadout
9 アイテム
解説
Plays 8 songs from one box to change to a different songs, use a coin with the Jukebox. Works by recycling the current music player through a custom fabricator called a Jukebox with a coin item combined with the music player to generate a new song player.

This is a proof of concept to the current musical instruments, the mod has 7 soundtracks carefully selected to demonstrate the ability to contain multiple instances of music within technically a single item. (The Boombox)

It is then recycled by using a Jukebox fabricator and a single coin made out of iron to change the music player to play other tracks. The music player itself is an big old radio that uses normal batteries and the fulgurium batterycell makes it lasts twice as long. Please read disclaimers before installing.

Items
  • Jukebox - Recycling Station, Radio + Coin = New Radio
  • Boombox Radio (Song) - Plays a (Song) when powered by battery and equipped (held)
  • Jukebox Coin - Used along with a Boombox Radio to change songs with Jukebox

Disclaimer (READ BEFORE INSTALLING)
  • Lag expected from loading in music at the mod menu in game. (Possibly making your game load longer).
  • Multiplayer Desync Tested (see iterations below)
  • Don't try to use more than one boombox to save yourselves from possible network problems.

    A Total of 8 soundtracks, 6 are 3 minutes long, and 2 are 5 minutes long. In total is 29 minutes of .ogg music files that the game has to load in which takes me on a SSD about 16 seconds when turning on the mod and each track individually may be loaded when they are crafted from the Jukebox, this may also lag when initiated.

    The good news is, the music box although plays on dead/alive players as long as they have a battery contained, should stop working once the battery runs out (in about 3 minutes for normal battery and 6 for fulgurium). This music player can be deconstructed and crafted, bought from cities at a price of 500, jukebox likewise at a cheaper price.

Versions and Iterations
This concept went through several different trials.
  1. [Current Iteration] Radio Plays Music on Equip (Multiplayer Tested)
  2. Jukebox Fabricator Plays Music on De/Construct (Failed in Multiplayer, removed)
  3. Radio Plays Music on Use (Success in Multiplayer, saved, removed)

Compatibility
Everything should be compatible, unless mod authors named similar items.

Music Credits
I didn't make these myself, the following youtube videos were used without consent. I apologize to their artists and especially the dead ones.

Thank yous
Hubismal for warning me shid may not work good so I didn't spend 3 days trying hard at a brick wall.
Salad for doing initial music test result in failure
Polygloom for doing second music test result in success
Jdownloader and Sony Vegas for converting youtube to ogg.
9 件のコメント
Lexington 6月3日 12時55分 
finally the game officially have jukebox, very few music it can plays but it work.
RedLetterDay 2022年1月22日 19時29分 
It would be cool if you updated this so that we could put our own music files into it
阿扁巴巴大俠 2021年11月30日 2時44分 
Nice mod! Is it possible to add custom music? Where should I place music files?
Cogs 2021年8月20日 10時02分 
One question about the # of sound files. Are the sound files duplicated eight times? Or is there just one soundfile for each track?
Cogs 2021年8月9日 16時06分 
You are a man of taste.
Anfas 2020年8月14日 6時14分 
Queston. How does it read what tracks are programed? Is it possable to add more music just by putting mp3 files is some folder?
+1
CanadianCogs 2020年7月11日 23時55分 
Ok thanks.
Dahitman  [作成者] 2020年7月11日 10時13分 
It reads it from the jukebox.xml and the sound files play under a certain state, in this case the player holding it has it equipped. It is possible to add more music following the format expanding the items in the xml file but not with mp3s they have to be converted into .ogg, but more songs will make this mod load even longer.
CanadianCogs 2020年7月11日 0時36分 
Queston. How does it read what tracks are programed? Is it possable to add more music just by putting mp3 files is some folder?