Minecraft VoiceAttack Integration Mod
重要提示! 本模组无法在没有配套的 VoiceAttack 插件的情况下运行,该插件可在此处找到。
概述
Minecraft VoiceAttack Integration Mod 是一款客户端工具,旨在通过允许 VoiceAttack 直接与 Minecraft 通信来增强可访问性和游戏体验。此模组使玩家能够通过语音命令执行按键绑定操作,从而在不单纯依赖传统输入方式的情况下更轻松地导航游戏。对于使用控制器模组的玩家来说,它特别有用,因为它消除了记住复杂按钮组合以访问各种模组和界面的需要。
功能特性
- 无缝集成:开箱即用,与控制器模组兼容,无需复杂的按钮组合即可轻松访问游戏功能。
- 语音命令执行:使用 VoiceAttack 触发 Minecraft 中的按键绑定动作,提升不同需求玩家的无障碍体验。
- 自动端口配置:模组会自动在特定静态端口上建立与 VoiceAttack 的连接,并在握手过程中生成一个用于通信的唯一端口。
工作原理
-
建立连接:启动带有该模组的 Minecraft 时,它会尝试在预定义的静态端口上连接到 VoiceAttack。
-
握手过程:模组向 VoiceAttack 发送握手请求,并附带一个随机生成的端口号,供后续通信使用。
-
按键命令执行:握手成功后,VoiceAttack 将使用提供的端口向模组发送按键命令,从而实现按键绑定操作的实时执行。
-
套接字管理按键绑定:
- 重启套接字服务器:用于重启套接字服务器的按键绑定,确保与 VoiceAttack 的稳定连接。默认键为
R。
- 更新映射表:用于导出包含导出时任何已绑定按键翻译键的
voiceattack_translation_keys.json 文件到配置文件夹的按键绑定。默认键为 U。
设置说明
Minecraft 模组
- 无需设置:只需将模组安装到您的 Minecraft 客户端中,它将自动处理与 VoiceAttack 的连接。
VoiceAttack 配置
要设置 VoiceAttack 以配合此模组使用,您需要按以下方式配置每个命令:
-
翻译键:创建一个名为 keybind 的文本变量,对应您想在 Minecraft 中触发的动作。此变量应保存所需按键绑定的翻译键。
-
执行命令:使用 VoiceAttack 的 Minecraft 插件来执行命令。传递上下文 execute_keybind 以及您之前创建的 keybind 变量。
示例命令设置
- 在 VoiceAttack 中创建新命令。
- 添加一个名为
keybind 的文本变量,值为所需的 Minecraft 动作(例如 key.inventory)。
- 添加一个操作,使用上下文
execute_keybind 执行 Minecraft 插件,并引用 keybind 变量。
导出翻译键
要导出任何已绑定按键的翻译键:
- 使用指定的按键绑定导出
voiceattack_translation_keys.json 文件。
- 在配置文件夹中找到导出的文件。
- 引用此文件以准确地向 Minecraft 发送数据。
使用场景
- 无障碍支持:非常适合因身体行动不便而觉得传统控制难以使用的玩家。
- 免手操作游戏:允许玩家在不使用双手的情况下执行命令,便于多任务处理或以更放松的姿势游玩。
- 增强游戏体验:简化了访问各种模组和界面的流程,提高了整体游戏效率。
限制
- 本模组不支持所有按键绑定方法,包括:
- 玩家移动控制(如行走、奔跑)。
- 鼠标视角控制功能。
- 需要按住按键的按键绑定(例如放大世界地图)。
VoiceAttack 标志经所有者许可使用。
Minecraft VoiceAttack Integration Mod
Important! This mod will not work without the companion plugin for VoiceAttack, which can be found here.
Overview
The Minecraft VoiceAttack Integration Mod is a client-side utility designed to enhance accessibility and gameplay experience by allowing VoiceAttack to communicate directly with Minecraft. This mod enables players to execute keybind actions using voice commands, making it easier to navigate the game without relying solely on traditional input methods. It is particularly beneficial for players using controller mods, as it eliminates the need to remember complex button combinations to access various mods and UIs.
Features
- Seamless Integration: Works out of the box with controller mods, allowing for easy access to game functions without the need for complicated button combinations.
- Voice Command Execution: Use VoiceAttack to trigger keybind actions in Minecraft, enhancing accessibility for players with different needs.
- Automatic Port Configuration: The mod automatically establishes a connection to VoiceAttack on a specific static port, generating a unique port for communication during the handshake process.
How It Works
-
Connection Establishment: Upon launching Minecraft with the mod, it attempts to connect to VoiceAttack on a predefined static port.
-
Handshake Process: The mod sends a handshake request to VoiceAttack, along with a randomly generated port number for future communication.
-
Key Command Execution: Once the handshake is successful, VoiceAttack will use the provided port to send key commands to the mod, allowing for real-time execution of keybind actions.
-
Keybinds for Socket Management:
- Restart Socket Server: A keybind to restart the socket server, ensuring a stable connection with VoiceAttack. Default key is
R.
- Update Mappings: A keybind to export a
voiceattack_translation_keys.json file to the configs folder, which contains the translation keys for any bound key at the time of export. Default key is U.
Setup Instructions
Minecraft Mod
- No Setup Required: Simply install the mod in your Minecraft client, and it will automatically handle the connection to VoiceAttack.
VoiceAttack Configuration
To set up VoiceAttack for use with this mod, you need to configure each command with the following parameters:
-
Translation Key: Create a text variable named keybind that corresponds to the action you want to trigger in Minecraft. This variable should hold the translation key for the desired keybind.
-
Execute Command: Use the Minecraft plugin for VoiceAttack to execute the command. Pass the context execute_keybind along with the keybind variable you created earlier.
Example Command Setup
- Create a new command in VoiceAttack.
- Add a text variable named
keybind with the value of the desired Minecraft action (e.g., key.inventory).
- Add an action to execute the Minecraft plugin with the context
execute_keybind and reference the keybind variable.
Exporting Translation Keys
To export the translation keys for any bound key:
- Use the designated keybind to export the
voiceattack_translation_keys.json file.
- Locate the exported file in the configs folder.
- Reference this file to accurately send data to Minecraft via VoiceAttack.
Use Cases
- Accessibility: Ideal for players with mobility challenges who may find traditional controls difficult to use.
- Hands-Free Gameplay: Allows players to execute commands without needing to use their hands, making it easier to multitask or play in a more relaxed position.
- Enhanced Gameplay: Streamlines the process of accessing various mods and UIs, improving overall gameplay efficiency.
Limitations
- The mod does not support all keybind methods, including:
- Player movement controls (e.g., walking, running).
- Mouse look functionality.
- Keybinds that require holding down a key (e.g., zooming into a world map).
VoiceAttack logo used with permission from owner.
评论 0
登录后参与评分
还没有评论,来抢沙发吧