饥荒联机版

饥荒联机版

187 个评价
配置扩展
4
2
   
奖励
收藏
已收藏
取消收藏
文件大小
发表于
更新日期
344.765 KB
2024 年 8 月 26 日 上午 8:26
9 月 20 日 上午 5:03
21 项改动说明 ( 查看 )

订阅以下载
配置扩展

描述
◆ 本MOD包含由冰冰羊翻译的全中文译文.

任何人都可以自由地将本模组的功能(直接按键绑定、新的配置类型)应用到自己的模组中,无需获得许可。

功能特色:
本模组旨在让你在配置模组时更加轻松,并且提供新的配置类型,扩展更多的配置可能性。

更好的配置体验
  • 配置搜索功能
    配置界面现在新增了搜索栏,你可以通过它来查找特定的设置!
    对于那些包含大量设置的大型模组非常有帮助。
    --
    顺便说一下,右键点击搜索栏可以快速清空输入的文字。

  • 告别痛苦的滚动
    不再需要不停地用鼠标来切换所有选项,现在会直接展示一个可滚动的选项列表。
    轻轻滑动一下,就能快速找到你想要的配置!
    --
    在游戏内的效果如下:


  • 直接按键绑定
    部分 模组支持特别的按键绑定方式。
    不需要再去点几十个按钮,现在你只需要直接按下想要绑定的键即可(支持鼠标滚轮点击和侧键!)
    --
    效果如下:


注意:
如前所述,直接按键绑定目前只支持部分模组。
--
我自己的模组:

其他模组:
如果你有推荐的模组(尤其是包含大量按键绑定的),欢迎在评论区提出。

新的配置类型
有时候,预设的选项列表根本不够用。这时候新的配置类型就能派上用场了。

  • 文本输入
    允许玩家直接输入任意文字作为配置值。非常适合输入预制体或别名!

  • 颜色选择器
    允许玩家自由选择任意RGB颜色(如有需要,还能调整透明度)。对个性化设置非常有用。

  • 多选配置
    和常规的列表配置类似,但允许同时选择多个选项。
    在原版中,你必须为每个选项单独做一个“是/否”配置!


额外说明
  • 在讨论区里你可以找到快速指南,学习如何设置直接按键绑定和颜色选择器。
  • 本模组的 modinfo.lua 文件中也包含了如何创建这些新配置类型的说明和示例。
  • 本模组自带的配置仅仅是不同配置类型的示例,供你尝试,并不会真正改变游戏内容。

--
本模组原名为 Convenient Configs(便捷配置)
如果遇到问题请告诉我,也欢迎提出建议。
热门讨论 查看全部(2)
8
3 月 1 日 上午 12:40
置顶: Making a keybind setting that will work with this mod
Remi
0
3 月 22 日 上午 1:02
置顶: Color config example
Remi
63 条留言
孤独之星俱乐部 9 月 27 日 上午 7:44 
哇,还有这么完美的mod吗?必须狠狠订阅了
Remi  [作者] 9 月 12 日 下午 12:23 
Pushed another fix, should be working fine now.
Remi  [作者] 9 月 12 日 上午 7:36 
@冰冰羊, thanks for letting me know. I'll continue working on the fix, then.
冰冰羊 9 月 11 日 下午 10:15 
It seems there are still some bugs. Configs Extended cannot read my modified settings. When I change a certain option, the modification is indeed saved in the modconfiguration_<modname>_CLIENT file, but when I reopen the mod configuration page, the current option still shows as the default one.
Remi  [作者] 9 月 11 日 下午 1:59 
Should be fixed now, hopefully.
Remi  [作者] 9 月 11 日 上午 8:16 
@冰冰羊, big thanks for the info! It will prove extremely valuable when fixing the issue.
冰冰羊 9 月 11 日 上午 7:39 
Explanation:
modconfiguration_<modname>_CLIENT stores the client-side mod settings.
modconfiguration_<modname> stores the server-side mod settings.

In the vanilla game:

When modifying mod settings via Main Menu → Mods → Server Mods,
the settings are saved in the modconfiguration_<modname>_CLIENT file.

When modifying mod settings via Main Menu → Host Game → Mods → Server Mods,
the settings are saved in modconfiguration_<modname>.

However, when I enable your Configs Extended mod,
mod settings modified via Main Menu → Mods → Server Mods are saved into modconfiguration_<modname>,
which means the client-side mod settings can no longer be viewed or modified.
冰冰羊 9 月 11 日 上午 7:30 
{
name = "key",
label = "Hotkey",
options = keys,
client = true, -- When I set this option in my mod configuration and enable your mod, this setting does not appear
default = "KEY_Z",
},
Remi  [作者] 9 月 10 日 下午 12:10 
@GoatHead, silksong absorbed 100% of my attention, sorry. I'll investigate.
GoatHead 9 月 4 日 上午 7:02 
Hey, so, for some reason, this mod was hiding every other config from me except for the top 3 for the "Epic Healthbar" mod. Any idea why?