#Trying to make a portable radio mod

1 messages · Page 1 of 1 (latest)

untold nexus
#

Hello,
First thing thanks to those who will try to help me in a friendly and caring way, not here to roast my knowledge about modding on Starbound, thanks.

I'm trying to make a portable radio mod, multiplayer friendly. My goal is to have a folder inside of the mod called "musics", in which I drop all my .ogg files. (and able to make addons to add more musics if needed to not make the mod weight 5 GB). Basically, the radio would be a 1 handed tool, displayed on the player character when equipped, and when clicking with your mouse, it'd open a GUI where you have every ogg listed. The player could then select a song, play and pause it. Of course, the song would stop if the player unequips the radio.

I tried to take an existing mod that was made from betabound, but that mod uses recipes and stuff and I don't want all of that I simply wanna be able to craft that radio from... a max tier anvil for exemple, and have every songs already unlocked, playable, and audible by other players if in a multiplayer world.

I don't wanna use .abc files, as these sound like MIDI audio, I want to keep the quality, just like in one of the mods I published (based on a very old mod) : https://steamcommunity.com/sharedfiles/filedetails/?id=3471786820

If someone is able to solve my request i'd be very happy about it!
Thank you.

kind cedar
#

what exactly do you mean by 'tried to take an existing mod'? I don't allow people to use stuff from my mods in their own without permission (unless it's strictly for personal use, is credited, and is not distributed or shared with anyone- not even the person you trust the most not to share it, because they'll share it with the person they trust the most not to share it, who will share it with ... and so on)

the recipes in the standalone Betabound radio are for the radio itself and like 3 songs- you can remove them and the mod will still work, along with removing the treasurepool files

there's a flag you can set in the radio UI (whether by adding it to the mod or by downloading the patch that does it for you) that makes all music available by default, without needing to unlock them

the radio UI can be opened from the quickbar if you're in admin, and while the radio item isn't clientside, the UI itself is. you can make a custom item that is clientside and opens the UI

the Betabound portable radio only plays music for its user, and continues to play even when unequipped. the stationary radio plays music for everyone in a radius. Starbound doesn't let you pause music

additionally, the standalone radio mod uses outdated versions of the radio stuff from Betabound. other players wouldnt be able to hear the audio unless they have an audio file with the same name and path

untold nexus
# kind cedar what exactly do you mean by 'tried to take an existing mod'? I don't allow peopl...

Hi thank you for your answer.
I was indeed using the standalone radio mod made out from your mod to try and understand how I could make a radio mod. There was no intent to publish it without permission but really was only about learning how to make my own mod. Though the standalone radio mod being kinda too complicated for me, I kinda forgot about using it and tried to make my own mod.

About the sharing part, obviously the mod wouldve been shared with my friends and... thats it, they dont publish anything on the steam workshop and the use would be limited to only our friends server, really.

So if I understand correctly if I wanna make my own radio mod, the only way for everyone to hear musics is if the object is placeable and not a tool ?

I kinda hoped that there was a way to pause music automatically when the tool is unequipped, just like in my enhanced dubstep gun mod.

You 100% certain that theres no way to pause music and let everyone hear music around players, even if for exemple when using the radio a projectile spawns on the player and follows him and its the projectile that plays the music ?