Starbound

Starbound

Not enough ratings
Frackin' Universe - Radio Message Popup Restoration
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
121.483 KB
17 Mar, 2022 @ 10:11pm
8 Dec, 2024 @ 5:05pm
2 Change Notes ( view )

Subscribe to download
Frackin' Universe - Radio Message Popup Restoration

In 2 collections by AnomNom
An Overly Complex Assortment of Mods
834 items
Anom's Creations
115 items
Description


Restores the vanilla design for the Radio Message Popup.

While I can understand that there's an appeal behind the changes Frackin Universe makes to the UI, I specifically avoided using Frackin' Interface because I preferred vanilla's style. However, the radio message popup is still changed in the base mod, so I saw to rectify that. Just a personal preference of mine.

You don't actually need Frackin' Universe to use this! While it's main intention is to revert the popup to its vanilla state, this mod includes a special directive to set the font size smaller if Frackin' Universe isn't present. What this means is that, without Frackin' Universe installed, this mod will decrease the font size, as seen in the preview image. I hope you enjoy.




⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀





Now, I'm just going to take a moment to describe everything that goes into making one of these small change mods. This replaces the files "background.png," "blinkin.png," and "blinkout.png" in the directory "\interface\radiomessage" with direct copies of the versions from the original game files. In layman's terms, I overrode the override with what it overrode.

The only patching this mod does is to "radiomessage.config," a file that has two values changed by Frackin' Universe, and two values which I had to revert. Since I decided to keep the font size, even if the player isn't using Frackin' Universe, I had to create a patch that checks if the value exists, and adds it if it doesn't. Below is the json of the patch, annotated for your convenience.

[ [ //Both replacements are the exact same values as vanilla, overriding the changes done by Frackin' Universe. { "op": "replace", "path": "/paneLayout/lblMessage/position/0", "value": 61 }, { "op": "replace", "path": "/paneLayout/lblMessage/wrapWidth", "value": 218 } ], [ //Test operation that checks if the path /paneLayout/lblMessage/fontSize exists. It checks for the inverse value: if it does not exist, then it continues, while if it does, the test fails. { "op": "test", "path": "/paneLayout/lblMessage/fontSize", "inverse": true }, //If the test continues - meaning that the value does not already exist - the value is added. This way, it still keeps the smaller font size, even if Frackin' isn't being used. { "op": "add", "path": "/paneLayout/lblMessage/fontSize", "value": 7 } ] ]




  • The Frackin' Universe Team for developing Frackin' Universe.

  • Each and every one of you wonderful people reading this right now. I'm happy to see that people still use all of the mods I've created. Thank you for checking out my work.
7 Comments
Flannel 13 Dec, 2024 @ 7:52pm 
@anomnom That's fascinating, I wonder what on earth is causing it then. Guess I'll find out the next time I play Starbound?
AnomNom  [author] 8 Dec, 2024 @ 5:09pm 
shocked i never responded to this. that error doesn't come from this mod. it seems to be coming specifically from bmain.lua, which this mod goes nowhere near. It doesn't even effect something that script would need. it physically could not be my mod causing that issue.
Flannel 13 Apr, 2023 @ 2:58am 
Double checked after reinstalling the mod just to make sure I wasn't mistake, and I immediately started getting the same issues again. Here's the log: https://pastebin.com/KB4X0g00
AnomNom  [author] 12 Apr, 2023 @ 1:27pm 
cause the error again and send a copy of your log.
Flannel 11 Apr, 2023 @ 11:46pm 
Whatever the full cause, enabling and disabling this mod is the one that causes them, unfortunately. Not sure why, and it's a shame, cos I'm not a big fan of Frackin's UI.
AnomNom  [author] 11 Apr, 2023 @ 12:31pm 
that is. physically impossible considering the technical side of what this mod does. it doesn't touch the navigation menu. it doesn't touch any npcs. it doesn't touch anything regarding the mech tutorial. all of that sounds like other conflicts i've heard of from other mods, and has nothing to do with this one.
Flannel 11 Apr, 2023 @ 4:02am 
SEVERELY breaks multiple facets of the game - breaks navigation for Frackin Universe, causes multiple friendly and enemy NPCs to died immediately on spawn, and breaks the mecha tutorial