iHUD - 沉浸式HUD

iHUD - 沉浸式HUD

需要时显示HUD,不需要时隐藏。

在不需要时隐藏 UI 元素,在需要时显示它们。兼容 1.0

[img]https://staticdelivery.nexusmods.com/mods/3667/images/3867/3867-1789838801-275626409.gif[/img]
[img]https://staticdelivery.nexusmods.com/mods/3667/images/3867/3867-1789838829-2109798047.gif[/img]

[b][color=#a4c2f4][size=6]✦ 功能[/size][/color][/b]

[size=4]- 自动显示/隐藏[/size]
[list]
[]准星[/]
[]生命条[/]
[]食物条[/]
[]状态效果[/]
[]快捷栏[/]
[]被遗忘者之力[/]
[/list][size=4]- 快捷键用于[/size]
[list]
[]开关模组(默认:H)[/]
[]开关小地图(默认:B)
[/
]
[/list][size=4]- 可配置设置[/size]
[list]
[]快捷键[/]
[]始终显示状态效果[/]
[]始终隐藏快捷栏或在切换物品时显示[/]
[]关闭本模组对特定 HUD 元素的处理[/]
[]元素隐藏前的显示时长[/]
[]隐藏动画的持续时间[/]
[]以及更多
[/
]
[/list][size=4]- 控制器支持[/size]
[list]
[]控制器快捷键支持
  iHUD 开关:默认 LB + 方向键左 小地图:默认 LB + 方向键右[/
]
[/list][list]
[]在控制器和键盘之间热切换[/]
[/list][color=#a4c2f4][size=6][b]✦ 行为[/b][/size][/color]
[color=#e06666][size=4]! [/size][size=4]重要 [/size][size=4]![/size][/color]
为了方便,打开物品栏时会显示所有 UI 元素
开关快捷键会切换所有 iHUD 功能[size=4]。

[b][url=https://www.namecheap.com/visual/font-generator/star-symbols/]✸ [/url] 快捷栏[/b][/size]
[img]https://staticdelivery.nexusmods.com/mods/3667/images/3867/3867-1789835299-1172500902.gif[/img]
默认始终隐藏。
可以改为在切换装备物品时显示(配置中的 [i]HotkeyBarModeSetting [/i]):[size=4]
[img]https://staticdelivery.nexusmods.com/mods/3667/images/3867/3867-1789836261-892031991.gif[/img]

[b] [url=https://www.namecheap.com/visual/font-generator/star-symbols/][color=#f9cb9c]✸[/color][/url] 准星
[img]https://staticdelivery.nexusmods.com/mods/3667/images/3867/3867-1789832718-647809229.gif[/img]
[/b][/size]除非正在看向可交互物体或使用远程武器,否则隐藏

[b][size=4][url=https://www.namecheap.com/visual/font-generator/star-symbols/][color=#f9cb9c]✸[/color][/url] 生命[/size][/b]
[img]https://staticdelivery.nexusmods.com/mods/3667/images/3867/3867-1789829361-553093456.gif[/img]
[color=#666666][size=1][i]GIF 已加速 [/i][/size][/color]
满值时隐藏

[b][url=https://www.namecheap.com/visual/font-generator/star-symbols/][color=#f9cb9c][size=4]✸[/size][/color] [/url][size=4] 食物[/size][/b]
[img]https://staticdelivery.nexusmods.com/mods/3667/images/3867/3867-1789831855-543208178.gif[/img]
[color=#444444][size=1][i]GIF 已加速 [/i] [/size][/color]
隐藏,直到达到“危急”持续时间(剩余 60 秒)或某种食物最近耗尽(在过去 60 秒内)。
可以设置为在特定持续时间时显示([i]FoodPopupIntervalsEnabled[/i],默认禁用)

[size=4][b][url=https://www.namecheap.com/visual/font-generator/star-symbols/][color=#f9cb9c]✸ [/color][/url] 被遗忘者 [/b][/size][color=#999999][size=1](或守护者)[/size][/color][size=4][b] 之力
[/b][/size]
[img]https://staticdelivery.nexusmods.com/mods/3667/images/3867/3867-1789827390-91047885.gif[/img]
除非切换到不同的力量或按下“激活力量”快捷键,否则隐藏

[size=4][b][color=#f9cb9c][url=https://www.namecheap.com/visual/font-generator/star-symbols/][color=#f9cb9c]✸[/color] [/url] [/color]小地图
[/b][/size]
[img width=316]https://staticdelivery.nexusmods.com/mods/3667/images/3867/3867-1789828151-1151449690.gif[/img]
使用快捷键(默认 B)开关

[size=4][b][url=https://www.namecheap.com/visual/font-generator/star-symbols/][color=#f9cb9c]✸ [/color][/url] 状态效果[/b][/size]
[img]https://staticdelivery.nexusmods.com/mods/3667/images/3867/3867-1789834283-773067597.gif[/img]
[color=#ffffff]无限 [/color]的状态效果在获得时显示,并在一段时间后隐藏(默认 5 秒)。
具有[color=#ffffff]持续时间 [/color]的状态效果(例如[color=#6aa84f]中毒[/color]、[color=#dd7e6b]燃烧[/color]、[color=#ff0000]休息[/color]和[color=#f9cb9c]蜜酒 [/color]增益)在获得时显示,或者当其剩余持续时间少于 1 分钟时显示。

[quote]持续时间超过 1 分钟的效果会在剩余 5、10、15 和 20 分钟时短暂显示[/quote][b]
[color=#a4c2f4][size=6]✦[/size][/color][/b][color=#a4c2f4][size=6] 安装[/size][/color]

[b][color=#f9cb9c]Vortex 模组管理器[/color][/b]:
[list=1]
[]从 Nexus Mods 下载并安装 [url=https://www.nexusmods.com/vortex]Vortex [/url][/]
[]在我的模组页面,转到 Files 并点击“Main files”下的“[b]Mod manager download[/b]”
[/
]
[/list][b][color=#f9cb9c]Thunderstore/R2modman[/color][/b]:
[list=1]
[]手动下载此模组(“files”选项卡,“Main files”,点击“[b]Manual download[/b]”)[/]
[]在 R2modman 中打开 Settings > Profile > Import local mod[/]
[]选择你下载的 .zip。r2modman 会将其安装到你的配置文件中
[/
]
[/list][color=#f9cb9c][b]手动[/b] [/color]安装:
[list=1]
[]安装最新的 [i]x64 Windows[/i] 版本 BepInEx。
[url=https://www.nexusmods.com/valheim/mods/3605]Nexus [/url](更简单)或从 [url=https://github.com/BepInEx/BepInEx/releases]GitHub[/url][/
]
[]手动下载此模组(“files”,“Main files”,点击“[b]Manual download[/b]”)。[/]
[]解压此模组(右键点击,全部解压缩,解压)[/]
[]复制“.dll”文件并将其放入游戏的 [i]plugins [/i]文件夹
[quote] Valheim/BepInEx/plugins/ [/quote]可以通过 Steam 库 > 右键点击 Valheim > 管理 > 浏览本地文件轻松打开
[/
]
[/list]应如下所示(取决于你有多少其他模组):
[img width=385]https://staticdelivery.nexusmods.com/mods/3667/images/3634/3634-1789217248-986919488.png[/img]

[color=#a4c2f4][size=6][b]✦ 配置[/b][/size][/color]

如果你想更改快捷键或其他功能[color=#999999][size=2](我推荐使用 X 和 V 作为开关,但需要重新绑定默认快捷键)[/size][/color]
[list=1]
[]确保至少运行过一次安装了此模组的游戏 [/]
[]转到 Valheim 的安装位置,然后打开并编辑:[/]
[/list][code]Valheim/BepInEx/config/iHUD.cfg[/code]该文件包含每个字段的作用说明以及可输入的可接受值

[size=3][b]或者[/b] [/size]
[size=3]安装一个模组配置模组,例如 [/size][url=https://www.nexusmods.com/valheim/mods/3491][size=3]Mod Configs[/size][/url][size=4] [/size][size=3]以获得游戏内菜单。[/size][size=4]
[img width=506]https://staticdelivery.nexusmods.com/mods/3667/images/3867/3867-1789836352-1690842811.png[/img][/size]
[quote][size=3]注意:某些设置需要重启游戏才能生效[/size][/quote][size=4]
[color=#f9cb9c]示例[/color]:[/size]

[b]关闭某个模块[/b]
模块是本模组中仅处理相关 UI 元素的部分
例如:“生命”模块处理与生命相关的 UI 元素(条和图标)
如果你不希望模组处理某个特定的 UI 元素,可以开启和关闭每个模块,实际上就是将其恢复为原版。

[code][Modules]

## Hide and selectively show status effect icons.
# Setting type: Boolean
# Default value: true
Status Effect Handling = true <- change this to false[/code]
[b]更改快捷键 [/b]
[code][General]

## Toggle all iHUD functionality on/off.
# Setting type: KeyboardShortcut
# Default value: X
Toggle HUD Hotkey = X <- change this to the desired key

## Toggle minimap visibility.
# Setting type: KeyboardShortcut
# Default value: V
Minimap Toggle Hotkey = V <- change this to the desired key [/code]
[b]更改快捷键(控制器) [/b]
[code][General]

## Gamepad button that must be held for the minimap toggle combo (BumperL = LB). Set to None to use a single button. Valid values: BumperL, BumperR, TriggerL, TriggerR, StickL, StickR, DPadLeft, DPadRight, DPadUp, DPadDown, ButtonNorth (Y), ButtonSouth (A), ButtonWest (X), ButtonEast (B), Start, Select
# Setting type: String
# Default value: BumperL
Gamepad Minimap Modifier = BumperL <- change this to one of the above

## Gamepad button that toggles the minimap. Set to None to disable the gamepad minimap toggle. Valid values: BumperL, BumperR, TriggerL, TriggerR, StickL, StickR, DPadLeft, DPadRight, DPadUp, DPadDown, ButtonNorth (Y), ButtonSouth (A), ButtonWest (X), ButtonEast (B), Start, Select
# Setting type: String
# Default value: DPadRight
Gamepad Minimap Button = DPadRight <- change this to one of the above[/code]

[size=5]发现 bug 或有反馈?[/size]

留下评论。如果我有时间,可能会处理。

[color=#a4c2f4][size=6]✦ [b]致谢
[/b][/size][/color][color=#ffffff][url=https://www.nexusmods.com/profile/Gopher]Gopher[/url][url=https://www.nexusmods.com/profile/Goldenrevolver] [/url](原版 [url=https://www.nexusmods.com/skyrimspecialedition/mods/12440]Immersive HUD[/url] 的创作者)提供的创意
BepInEx 和 Harmony 的开发者们让模组制作更简单
Iron Gate 制作了这款出色的游戏
感谢你阅读本文 :)[/color]