饥荒联机版

饥荒联机版

219 个评价
UI拖拽缩放镜像[客户端]
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
72.432 KB
2022 年 11 月 6 日 上午 2:02
2024 年 1 月 10 日 上午 3:00
23 项改动说明 ( 查看 )

订阅以下载
UI拖拽缩放镜像[客户端]

在 米开langelo 的 1 个合集中
我的模组 My Mods
9 件物品
描述
客户端模组,可以拖拽缩放镜像右上角的UI和各种容器的UI,镜像制作栏和机器人的电表UI.

可识别UI列表
主要UI
右上角的时钟季节温度和数值UI,目前使用白名单机制和动态检测机制进行处理
白名单列表:制作栏、官方UI、季节时钟、远古暴动时钟、沃姆伍德开花仪、旺达血量、度日如年的年龄、永不妥协沃拓姆的能力值、随机生物大小数据包的口渴值、魔女之旅伊蕾娜的魔力值、奇幻降临阿比的月亮理智、神话书说人物的技能图标、太真的修仙文选按钮(仅缩放复原)、艾露迪Eirudy的血条和控制菜单按钮、简单经济学
目前动态检测机制可以识别处理下方有数值的状态显示类UI

容器UI
具有打开关闭功能的UI,目前动态检测机制应该可以识别处理全部容器UI,能力勋章容器拖拽功能开启时自动关闭该模组的容器UI支持

怎么添加UI
目前纯文本等官方就不支持鼠标操作的UI,无法获取焦点也无法监听其鼠标事件;未来考虑增加按键操作方式

对模组开发者:目前该模组的modmain里提供了一小段代码,其他模组可以直接复制这段代码并在其中填入自己的UI即可直接支持对应的UI拖拽缩放

对普通玩家:直接把要支持的模组名称和UI名称/描述发到讨论区或作者群内,作者维护时进行支持兼容;也可以看那个模组代码参考上面最后一张图片找到那两个变量更方便作者兼容

问题解决
当正拖拽的UI脱离鼠标时,可以拖拽另一个UI取消上一个UI的拖拽

如果你的UI拖动消失了,你可以改模组配置不记住UI位置,进入游戏只拖动缩放那个UI,再把模组配置改成记住UI位置即可,模组游戏内主菜单可以游戏内改模组配置.

其他
开黑群兼该模组交流群278163412,该模组授权任何合集和任何平台使用
热门讨论 查看全部(1)
2
2022 年 11 月 13 日 下午 6:37
置顶: Language Support
米开langelo
121 条留言
trashcanhands 8 月 4 日 下午 1:15 
yeah, stuff gets stuck to my mouse cursor all the time with this mod. it's super annoying.
Vân Ca 4 月 25 日 上午 11:52 
backpack's inventory reallyyyyy usually stuck on my mouse
Varrgas 2.0 2024 年 9 月 5 日 上午 2:11 
@greystar, as always, it's because you did something on your side who must conflict with the mod.
Because today, 05/09/2024, the Mod is still working at 99% with a just a few specific cases where it still work, but not let a mod or two do their stuff, and only that.

But it's 100% compatible with official version of combined status
Greystar 2024 年 8 月 15 日 上午 11:45 
This mod appears to be not compatible with Combined Status mod. Crashes when trying to load into the game. Which is unfortunate as I was hoping to use this mod to be able to move some of my container UIs so they didn't overlap, without having to write a new mod to make them draggable
七月猫 2024 年 8 月 3 日 下午 6:15 
希望能加个锁定按钮,调好了以后总会一不小心就i拖走
LastScarletDevil 2024 年 5 月 14 日 上午 11:48 
感觉可以加个按键一键重置所有UI,每次把UI拖到了屏幕外都要来回改设置太麻烦了
ImDudi 2024 年 1 月 11 日 上午 7:51 
i have a problem i am playing wx78 and i zoomed on the circuit and it disappeared and i cant get it now what should i do
trashcanhands 2023 年 11 月 15 日 上午 9:02 
This mod is great, except it breaks the Force Container (default: left shift) key on everything except the inventory/backpack.
Hiran 2023 年 10 月 17 日 上午 10:47 
Second time today when quickly clicking on food item in backpack I started dragging its UI. Can you add "Force Stop dragging button" and by default set it to ESC?
月空 2023 年 10 月 9 日 下午 11:53 
实测,其实是和时崎狂三这个人物mod冲突了,没事了。。。 https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=2941989744