Starbound

Starbound

评价数不足
Frackin' Universe - Radio Message Popup Restoration
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
121.483 KB
2022 年 3 月 17 日 下午 10:11
2024 年 12 月 8 日 下午 5:05
2 项改动说明 ( 查看 )

订阅以下载
Frackin' Universe - Radio Message Popup Restoration

在 AnomNom 的 2 个合集中
An Overly Complex Assortment of Mods
853 件物品
Anom's Creations
120 件物品
描述


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 条留言
Flannel 2024 年 12 月 13 日 下午 7:52 
@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  [作者] 2024 年 12 月 8 日 下午 5:09 
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 2023 年 4 月 13 日 上午 2:58 
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  [作者] 2023 年 4 月 12 日 下午 1:27 
cause the error again and send a copy of your log.
Flannel 2023 年 4 月 11 日 下午 11:46 
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  [作者] 2023 年 4 月 11 日 下午 12:31 
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 2023 年 4 月 11 日 上午 4:02 
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