Barotrauma

Barotrauma

33 ratings
Better Connection Panel UI Fixed
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
4.640 KB
8 Apr, 2024 @ 1:27am
11 Apr, 2024 @ 2:59pm
2 Change Notes ( view )

Subscribe to download
Better Connection Panel UI Fixed

In 1 collection by NickFleim
Test13
125 items
Description
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.

------------------------------------------------------------------------------------------------------
Original Mod: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2893206628
------------------------------------------------------------------------------------------------------


------------------------------------------------------------------------------------------------------
Changes:

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.
All connection panels have its parent item's ID displayed at the top left.
All of the panel's wires are labeled with the other end's item's ID
------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------
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\3216189866
------------------------------------------------------------------------------------------------------

------------------
Idea originally by:
------------------
https://steamhost.cn/steamcommunity_com/profiles/76561198211478724

------------------
Help from Luatrauma discord and Evil Factory:
------------------
https://steamhost.cn/steamcommunity_com/id/evilfactory

------------------
Creators:
------------------
https://steamhost.cn/steamcommunity_com/profiles/76561198211478724
https://steamhost.cn/steamcommunity_com/profiles/76561199189156784

------------------
Item ID overflowed fix:
------------------
https://steamhost.cn/steamcommunity_com/id/Mrbt0907
10 Comments
Sullivas 3 Jan @ 3:29pm 
(It still functions as intended though)
Sullivas 3 Jan @ 3:28pm 
This is giving me errors when testing subs in the sub editor while not enabled, but still force enabled
NickFleim  [author] 22 Apr, 2024 @ 3:31am 
Руки никак не доходят перевести описание)))

П.С. Учи английский, пригодится.
Nexus 21 Apr, 2024 @ 11:50pm 
Тип, ну у тебя же игра на русском, ну написал бы ещё раз на нём. Скачало бы больше:barotrauma:
horse 16 Apr, 2024 @ 11:32am 
yay
Dudewhat 14 Apr, 2024 @ 9:04am 
what a life save friend, this can spare me the trouble of searching every single light"s power source.
NickFleim  [author] 14 Apr, 2024 @ 6:04am 
point at the wire, and exit connection panel
RTO700 13 Apr, 2024 @ 8:29pm 
how to select a wire?
froggx 10 Apr, 2024 @ 6:32am 
worked perfectly for me aside for one instance where a wiring component's item ID overflowed and i ended up with instead of something like "RELAY(468)" i got "RELAY (468)(468)(468)(468)(468)....(468)." so it works exactly like it always has :uritona:
thanks for fixing this, having those item IDs visible saves a lot of time even with all the upgrades that have been made.
froggx 8 Apr, 2024 @ 1:31am 
thanks for this, it really helps with wiring. i'll give it a try sometime in the coming days and if there's any problems i'll let you know.