Barotrauma 潜渊症

Barotrauma 潜渊症

36 个评价
Better Connection Panel UI Fixed
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
4.640 KB
2024 年 4 月 8 日 上午 1:27
2024 年 4 月 11 日 下午 2:59
2 项改动说明 ( 查看 )

订阅以下载
Better Connection Panel UI Fixed

在 NickFleim 的 1 个合集中
Test13
120 件物品
描述
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://psteamcommunity.yuanyoumao.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://psteamcommunity.yuanyoumao.com/profiles/76561198211478724

------------------
Help from Luatrauma discord and Evil Factory:
------------------
https://psteamcommunity.yuanyoumao.com/id/evilfactory

------------------
Creators:
------------------
https://psteamcommunity.yuanyoumao.com/profiles/76561198211478724
https://psteamcommunity.yuanyoumao.com/profiles/76561199189156784

------------------
Item ID overflowed fix:
------------------
https://psteamcommunity.yuanyoumao.com/id/Mrbt0907
11 条留言
Unfounding 9 月 11 日 上午 4:44 
Осторожно, вероятно в некоторых сборках модов может вызвать краш, не уверен с какими, но я всё ещё в процессе исследования
Sullivas 1 月 3 日 下午 3:29 
(It still functions as intended though)
Sullivas 1 月 3 日 下午 3:28 
This is giving me errors when testing subs in the sub editor while not enabled, but still force enabled
NickFleim  [作者] 2024 年 4 月 22 日 上午 3:31 
Руки никак не доходят перевести описание)))

П.С. Учи английский, пригодится.
Nexus 2024 年 4 月 21 日 下午 11:50 
Тип, ну у тебя же игра на русском, ну написал бы ещё раз на нём. Скачало бы больше:barotrauma:
horse 2024 年 4 月 16 日 上午 11:32 
yay
Dudewhat 2024 年 4 月 14 日 上午 9:04 
what a life save friend, this can spare me the trouble of searching every single light"s power source.
NickFleim  [作者] 2024 年 4 月 14 日 上午 6:04 
point at the wire, and exit connection panel
RTO700 2024 年 4 月 13 日 下午 8:29 
how to select a wire?
froggx 2024 年 4 月 10 日 上午 6:32 
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.