Barotrauma

Barotrauma

84 ratings
Better Connection Panel UI
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
5.284 KB
25 Nov, 2022 @ 10:31am
25 Nov, 2022 @ 11:52pm
6 Change Notes ( view )

Subscribe to download
Better Connection Panel UI

Description
Don't get this mod, download the fixed version here: Fixed version

Client-side Lua Script to add an UI to connection panels with functionality to keep wires highlighted even when the panel is unselected and UI to show panel IDs.

Changes:
  1. A button at the top left to toggle KeepWireHighlight. If on, the last selected wire of a connection panel will stay highlighted even when going away from the panel, and will stay highlighted until that panel's KeepWireHighlight is turned off, or you select another wire on that panel.
  2. All connection panels have its parent item's ID displayed at the top left.
  3. All of the panel's wires are labeled with the other end's item's ID

Disclaimer: the thumbnail is not a real in-game screenshot, it was photoshopped to fit in a square. Image 1 however is a real in-game screenshot.



Install Instructions:
1. Have client side lua for Barotrauma installed.
2. Subscribe.
3. If the game hasn't automatically entered it in console for you, enter cl_reloadlua in console.
4. (you don't need to enable the content package; script runs regardless once the above steps are met)

Disable Instructions:
1. Unsub or delete this folder: %LocalAppData%\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\2893206628

Credits:
Idea originally by: https://steamhost.cn/steamcommunity_com/profiles/76561198211478724
Help from Luatrauma discord and Evil Factory: https://steamhost.cn/steamcommunity_com/id/evilfactory
9 Comments
Black Lenin 26 Sep, 2023 @ 3:49pm 
I have made the corrected version with the fix @Mrbt0907
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3041777629
Mrbt0907 6 Sep, 2023 @ 9:29am 
For those who want to play with this mod, I have personally fixed the infinite number issue. To fix, follow these steps:

1: Open file explorer and head to %LocalAppData%\Daedalic Entertainment GmbH\Barotrauma\WorkshopMods\Installed\2893206628\ForcedAutorun

2: Make a backup of BetterConnectionPanelUI.lua and place it somewhere else just in case there is any mess up

3: Open the github link [github.com] or head to github, look for Mrbt0907/Mod Fixes , and navigate to Mod Fixes/Directory/Barotrauma/Better Connection Panel UI/Version 1.05 and open the lua file in there.

4: Download the file or copy the contents of the lua file

5: Overwrite the file in ForcedAutorun, or paste the contents in your BetterConnectionPanelUI.lua file and the mod should be fixed
horse 27 Jul, 2023 @ 12:37am 
infinite numbers moment
|UDG| Maybe Your Doom 26 Jul, 2023 @ 6:12pm 
Same issue as mono person and gamma
Mono Person 9 Mar, 2023 @ 6:45am 
Encountering the same bug as Actitis. It's rather bizarre. As well as terrible for performance if you have enough bugged connections on a single component. Opening that component is like an anti-fps bomb lol
Gamma 29 Jan, 2023 @ 3:02am 
i met some issue with some overflow into the plug names, the name keeps being added to the label. also, for some reason, when connecting two items together it replaced the name of the plug in the component interface (the blu background one, to be clear) with the name of the label featuring the overflow, wich was the wrong id aswell. the mod is a must have! :TOIcrown:
Sensual Sigma 28 Jan, 2023 @ 6:55am 
i'm surprised the guy saying it's a cheat mod isn't here, wiring is blatantly op :steamsalty:
Malakra 23 Dec, 2022 @ 2:19pm 
it should be vanilla