Fallout 4

File information

Last updated

Original upload

Created by

Derpsdale

Uploaded by

Derpsdale

Virus scan

Safe to use

About this mod

It is save to say that most everyone likes music, but not just any music... YOUR music. Through the magic of scripting I was able to make Jukeboxes play YOUR music. Please read the description for all the information.

Requirements
Permissions and credits
Donations
I bring to you the first (I think) fully scripted Custom Music Player in Fallout 4.

Firstly:  This is an entirely scripted alternative to custom music playing radio stations.  As such, this is an in game custom sound track player that doesn't use radios or radio stations in anyway.

Secondly:  Fallout 4 will not play actual MP3 music files even if it is scripted to do so.  Unfortunately that means you will have to copy and convert to get this to work.

Now on with my usual, occasionally coherent, jabbering about the mod I just made (it does help to read it though, even if you don't like reading)...

Have you ever been in a settlement somewhere and thought to yourself "I really wanna blast some Pantera in here!"?

Have you ever wanted to play "Laser Cannon Deth Sentence" by DethKlok while using the weapon of (almost) the same name?  Found here -> D-D-D-D-D-D-D-D-DIE!

These options are of course my own and if you do not like METAL music as much as I do you can of course pick different bands and genres, whatever you happen to own actually.

Mod Information:
This mod adds a Jukebox that you can craft at any settlement that allows you to play music, YOUR music, from it with the push of the E Button.  You can find the Jukebox under the Decorations -> Misc Category and requires Science! 3 to make.

I have also taken the liberty of adding a Mute/Pause Holotape that is craftable at any Chem Station under the "Utility" Category and requires Science! 2 to make.  This Holotape allows you to Mute or Pause the Songs from anywhere.

Because this mod is entirely scripted I am able to do things that might not have been originally possible with Radio Station mods that seem to offer the same thing.

Things like:
Play All Function
Shuffle All Function
Shuffle (5, 10, 15, 20, 30) Functions
Select a Track Function
Mute Function
Pause Function
MAKE ME EXPLODE! Function

Function Descriptions Below:
The Play All Function plays all of the songs in the order that you named them and put them into the folder, and will not stop until you have reached the end of the list.

Shuffle All will Shuffle the number of tracks that are used in the Jukebox.  For Example:  If you get the 10 Song Jukebox Shuffle All will Shuffle 10 songs and the likely hood of it replaying a song it previously played is very high.  There is no way that I know of to script this properly without using up way too much space.

Shuffle X Number will Shuffle that number of songs and the likely hood of it replaying a song it played before in that loop significantly drops with the higher song number Jukebox and the lower numbered Shuffle function.  For instance:  If you Shuffle 5 or 10 with the Jukebox that has 50 songs it probably will not repeat a song heard previously in that shuffle session, but if you Shuffle 5 with the Jukebox that holds 10 songs you will probably get repeats of songs.

Select a Track Function lets you select a track from a list of 10, 25 or 50 depending on the Jukebox side you get and make.

Mute and Pause Functions will Mute or Pause the music.  I have also included UnMute and UnPause along with these, because they help...

MAKE ME EXPLODE! Function will make you explode in a rather lovely, but not overly lethal, Car Explosion.  I added this BECAUSE REASONS!!

There will be 3 different versions of this mod, with each holding the specified number of songs:
10 Song Jukebox
25 Song Jukebox
50 Song Jukebox (Main File)

I did not go beyond this amount due to the 50 Song Jukebox almost taking up the entire code line limit within the CK and adding more songs would go beyond this limit.

I will be providing a extra detailed source code with this file in a PDF version and marking this as a modders resource.  I do warn you though the PDF is 20 pages long with 19 of those pages being code used to make the 50 Song Jukebox.

Thanks to a friend I was able to attain some songs from Fallout 3's "Galaxy News Radio" and Fallout New Vegas's "Radio New Vegas" that I will add in as an optional download Song Pack which will contain 20 Songs so the rest will be up to you to provide if you have the 25 or 50 Song Jukebox.

Quick Questions:
Q) Will this also work with X Audio file (other than MP3)?
A) As long as you can convert it to .xwm properly and follow the directions to get it to work, then yes it will work.

Q) If I go away form the Jukebox will I be able to hear the Music?
A) The Songs all play on the Character not on the Jukebox, so yes, you can fast travel to the other end of the map after starting a song on the other end and the song will resume after you finish loading.

Q) Will there be an XBone or PS4 Version?
A) Nope

Q) Will there be a Holotaped Version of this?
A) To me that seems to similar to the Radio Stations as you control those from your Pip-Boy or Pip-Pad.  It can be done yes, but I would need several requests for this to get me to think about making this happen.  Plus the Jukebox is a lot more immersive as a Custom Music player anyway.

Q) Can the ultimate dream be accomplished?
A) I can finally say, yes, it can be.  You can be using my Laser Cannon D3TH Sentence while it is Raining Blood along with having both "Raining Blood" by Slayer and "Laser Cannon Deth Sentence" by DethKlok playing simultaneously!!!  #hashbrownmetalgasm

Q) Can I get all three Jukeboxes at once?
A) While I have not tried this myself, they do all run on separate script (pex) files.  I would think it would be fine, but if it causes errors of crashes just deactivate the excess ESPs and only keep one.

How to get this Mod to Work:
As a completely scripted Custom Song Player the user will have to take a few steps to ensure a proper working mod.
1) All files will have to be in XWM format
2) For extreme ease completing step one I highly recommend using this -> MultiXWM by Raxdiam
3) You will need to place these XWM files inside of this folder in your game directory Data->Sound->FX->MP3Songs
4) After placing them in this location you will have a very specific (but simple) naming convention that you will need to name them
5) Pick a song that you want at the top and name it "1" while retaining the .xwm extention, the next one will be named "2", then "3" and so on
6) After you have completed this you should have a file containing up to 50 different xwm songs all named 1, 2, 3, 4, 5... down to 50
7) You might want to keep a log of the songs and what number they are for the select a track function
8) If you decide to open one of these xwm files in VLC Media Player you will note that it skips and sound bad, do not worry this is fixed in game.
9) Once you are all done, you are set on this part.


Known Bugs:
This is not a perfect Song player by any means, but about as close as I could get with scripting given my scripting limitations (if this was written in Java or C++ I could do much more).

If you Select a Track, then go back and Select a Track again before the previous song is over it will play both songs at once (which can sound pretty cool sometimes).  This will also continue ad infinitem with as many songs as you select to play while the initial song is still playing (so yes you could have 100+ songs all playing at once).

As previously mentioned the Shuffle Functions works soley on the number of songs and not the actual songs themselves, meaning there is a possibility of repeating tracks within the same Shuffle Loop.

The Mute Function depending on if you wear headphones or how loud your volume is is not completely muted, but is extremely silent.  This is not a fault of my script, but rather just how the Fallout 4 sciprts work.

There is no Skip Track or Stop Functionality, but you can use the Pause and Mute functions as much as you like to mostly alleviate this issue.  I do recommend only putting in your most favorite songs so you will not want a Skip Track Function.

Recommended Mod/Utility:
Please try this mod if you are having any problems converting your tunes to XWM format.
MultiXWM by Raxdiam (It works very well, and is very easy to navigate and operate.  It also has the benefit of being very quick.)

How It Works:
1) Read this Description it is important... I am super cereal right now.
2) Convert your MP3's to XWM files.
3) Follow the directions on the "How to get this Mod to Work" section.
4) Install one of the Jukebox Players
5) In game go to the Workshop Menu and Decor->Misc and build the Jukebox.
6) Go to a Chem Station and craft the Holotape (if you prefer)
7) Blast your tunes!

Installation:
I recommend using NMM to install this, grab whichever Jokebox you want (or all three), and activate the (or their) ESPs.

If you do not use NMM then copy the Mods Data folder into you games Data Folder and activate the ESP.

Thank Yous:
Bethesda for Fallout 4
Bethesda for F4CK (Creation Kit)
The Makers of FO4Edit
My Friend that provided the songs from the FO3 and FNV Radio Stations
Raxdiam for the MultiXWM Utility Mod

All the various bands that I listen to and provided me with the urge to program something like this

The mod was made by myself using FO4Edit, and F4CK

Please Enjoy as Always!

For those about to (scripted) rock... I salute you!