Frackin’ Universe – Restored Radio Message Popup

If you liked this item, please rate it up on Steam Workshop page.

Author: AnomNom

Last revision: 18 Mar, 2022 at 04:11 UTC

File size: 10.24 KB

On Steam Workshop

Description:

Restores the vanilla design for the Radio Message Popup.

While I can understand the appeal behind Frackin’ Universe’s changes to the hud, I specifically avoided using Frackin’ Interface because I prefered vanilla to it. However, the Radio Message Popup is still changed in the base mod, so I saw to rectify that. Just a personal plight of mine; none that really requires a fuss. I did, however, keep the new font size, because I rather think it’s important considering how long some of the radio messages can be. I hope you enjoy using this, if this is an issue you also had!

You don’t actually need Frackin’ to use this! While its main intention is to revert the Popup to it’s vanilla state, it does include a special directive to set the font size smaller, the same way that Frackin’ has. What that means is that, if used without Frackin’ Universe, it’ll still decrease the font size.

Repeat: Frackin’ Universe is not exclusively required, but this mod was intentionally designed for it. All it does without is change the font size.

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


Replaces the files "background.png," "blinkin.png," and "blinkout.png" in the directory "interfaceradiomessage" 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 convivence.

[ [ //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 the mod itself, a mod I’ve sunken countless hours into and enjoy playing.
– Each and every one of you wonderful people. It’s been over four years now that I’ve been making mods, and it’s been a wonderful ride. Life’s chaotic and messy right now, but things are good. I’m happy to still be able to make mods whenever I get the motivation, and I’m happy people still use them. Thank you for checking out the stuff I make, even if you don’t use it. It means a lot to me.

Download
Required items:

Click the title to search on this site.


Frackin' UniverseSteam Workshop