WASTED

WASTED

Ver estadísticas:
Mr. Podunkian 6 MAY 2017 a las 19:31
Custom Radio Mod (Update: Not Working)
This mod is currently broken. I'm working out what's causing the issue loading loose audio files, but in the interim, either mute the game music using the ingame options and play your own music with your audio player of choice, or use the Unity editor to pack your replacement audio tracks into AssetBundles while I come up with a fix.

Replaces the music that plays on the radio with your own .ogg files. You should probably keep the number of songs down to a minimum, since, due to Unity restrictions, every song that's loaded is kept in memory, uncompressed, meaning each song will take up roughly 20-50 megs of RAM, which obviously adds up.

The mod also creates "Unlabeled Cassette" tape items that can be looted from any containers you'd normally be able to loot Cassettes from.

Download

Download the mod[www.dropbox.com]

Installation

To install the mod, put the Custom Radio folder in your Mods folder. Then, place your music in that folder, named "song_0.ogg", "song_1.ogg", "song_2.ogg", etc. sequentially.
Última edición por Mr. Podunkian; 19 JUL 2018 a las 0:28
< >
Mostrando 1-13 de 13 comentarios
SMC 10 MAY 2017 a las 5:50 
Good work
Do the normal song still play?
Zylo 1 JUL 2017 a las 1:18 
Cool an official mod, nice.
LoveABowl 20 AGO 2017 a las 8:09 
I put three small .ogg files in the custom radio folder (exactly where the "read me" note said to put it) played for almost 20 hours now and hasn't played one of the songs I put in. Anyone else having this issue?
Mr. Podunkian 20 AGO 2017 a las 11:13 
I guess first off, are the files named properly (following the pattern song_#.ogg, starting at 0)?

If so, you might want to check that the mod is installed properly -- that you have the Custom Radio folder in your Mods folder. If you have the game dev. console enabled, you should press ~ and see if there's output on your console log showing that the Custom Radio mod was properly loaded.
Heraldo Xavier 18 JUL 2018 a las 20:39 
I'm having the same issue and it's properly named and installed correctly https://i.imgur.com/AbN76tY.jpg Any ideas of how to resolve?
Mr. Podunkian 18 JUL 2018 a las 21:14 
I don't have time to properly debug it right now, but I did a quick test and found a potential fix -- if you open up the file custom_radio.wmd in notepad, find the following line:

new_track = LoadSound("song_" .. index .. ".ogg", true);

Change the true into a false and see if it works:

new_track = LoadSound("song_" .. index .. ".ogg", false);

I haven't fully tested it out (I'm busy at the moment), but at the very least I can confirm it prints out that the .OGGs are loaded.

Once I've got the time, I'll take a proper look and get a real fix together!
Heraldo Xavier 18 JUL 2018 a las 21:44 
It didn't worked. Quick question: by installing the mod it doesn't require to have the Cassettes to make the songs play right? Also apparently the mod doesn't even load any song https://i.imgur.com/VaCLXZU.jpg

So i tried editing the file, adding a value to the local index which it states that there is the said amount instead of just showing zero new tracks but still no sound
Última edición por Heraldo Xavier; 18 JUL 2018 a las 22:11
Mr. Podunkian 18 JUL 2018 a las 22:12 
Weird -- it said "loaded 1 song(s)" for me. It shouldn't require the cassettes -- it adds them to the radio playlist and also creates cassette tapes to play in the Jukebox. I should be able to diagonose this further in about an hour and a half!
Mr. Podunkian 18 JUL 2018 a las 22:18 
Whoops, okay so turns out the compressed flag wasn't making a difference either way (setting it back to true loaded it just fine). Do you mind emailing me your song_0.ogg file at mrpodunkian@gmail.com? It could be something about how the OGG is encoded that's making it not load properly in Unity.
Mr. Podunkian 19 JUL 2018 a las 0:25 
I tried running the mod with the audio files you provided and it seems there's been a change in how external audio's being loaded into the engine at runtime which makes loose .ogg file loading into the modding API not work. I'll put a disclaimer in the OP so people know this mod doesn't work like it used to while I work out where it's breaking. I know it's not much of a workaround, but in the meantime, I suggest you mute the ingame music using the options in the Audio section of the settings screen and play music using your preferred audio player.

Once I figure out a solution to this issue on the engine side, I'll post in this thread to let you all know!
Heraldo Xavier 24 JUL 2018 a las 18:12 
Oh wow, sorry for not responding you, i though i answered back. No problem man, thanks for the info and for trying to help solving this problem. If necessary i can help you test for you
Doomer Humor 29 JUN 2020 a las 19:35 
Late to the party but ever figure out a fix?
< >
Mostrando 1-13 de 13 comentarios
Por página: 1530 50