Sound6
游戏内音效板。
Sound6 添加了一个简单易用的菜单,用于播放 Minecraft 中的声音,主要用途为角色扮演(RP)。
(上图)安装了 Sound6 的主机连接着一个原版客户端
使用方法
按键绑定
按下 v 键即可打开菜单。在菜单中,按下数字键 1-6 将激活对应的按钮,顺序从顶部开始顺时针排列。按下 7-9 可在 0.5 至 1.5 之间调节音量。
菜单
鼠标悬停在圆形的六个按钮上时,会显示该按钮将要播放的声音 ID。(例如 minecraft:entity.cat.ambient)点击其中一个按钮将播放该声音并关闭菜单。在这六个按钮下方还有另外三个按钮,它们是音量控制按钮。鼠标悬停在这些按钮上时,会显示它们将设置的音量级别。(例如 1.0)点击其中一个按钮会将你的音量更新为该级别并关闭菜单。
配置
若要自定义菜单,请在启动模组后运行一次游戏,此时会在配置文件夹中出现一个名为 sound6.json 的文件。你可以编辑此文件,更改将在游戏中实时生效,无需重新启动游戏。
在 soundButtons 类别下,有六个对应的区块。每个区块都有一个分配的编号,内部包含四个值。编号可以忽略,但请勿修改它。每个区块内的四个值分别自定义了每个按钮的外观和功能。itemID 是按钮上显示的物品 ID,soundID 是点击按钮时播放的声音 ID,xOffset 表示按钮距离屏幕中心向右偏移的距离,yOffset 表示按钮距离屏幕中心向下偏移的距离。
"1": {
"itemID": "minecraft:cat_spawn_egg",
"soundID": "minecraft:entity.cat.ambient",
"xOffset": 0,
"yOffset": -80
}
在 volumeButtons 类别下,有三个对应的区块。与 soundButtons 类似,每个区块包含四个值,并分配有一个不应更改的编号。其中三个值与 soundButtons 的作用相同,唯一的区别在于 volume 值。该值控制按下按钮时音量将被设置为何种水平。这是一个浮点数,范围为 0.0 至 2.0。
"1": {
"itemID": "gunpowder",
"volume": 0.5,
"xOffset": -40,
"yOffset": 110
}
在上述两个类别之下,还有一些其他选项。volume 是你当前的音量,范围为 0.0 至 2.0;buttonSize 控制菜单按钮的高度和宽度;closeMenuOnClick 控制是否在按下按钮或快捷键时自动关闭菜单;sendMessages 控制是否在按下按钮时发送消息(例如“音量已更改为 1.5。”或“播放了声音 minecraft:entity.cat.ambient。”);sendInChat 控制发送的消息是出现在聊天栏中(仅你自己可见)还是显示在你的快捷栏上方,当然前提是 sendMessages 设置为 true。
"volume": 1.0,
"buttonSize": 20,
"closeMenuOnClick": true,
"sendMessages": true,
"sendInChat": false,
Sound6
An in-game sound board.
Sound6 adds a simple-to-use menu to play sounds from Minecraft with the intended use of roleplay.
(Above) A vanilla client connected to a host with Sound6 installed
How to use
Keybinds
Pressing v will open the menu. From there pressing the number keys 1-6 will activate the equivilent button, going clockwise from the top. Pressing 7-9 will change volume between 0.5-1.5.
Menu
Hovering on the six buttons in the circle will display the ID of the sound it will play. (e.g. minecraft:entity.cat.ambient) Clicking on one of them will play that sound and close the menu. Below the six buttons is another three. These are volume buttons. Hovering over these will display the level they'll set the volume to. (e.g. 1.0) Clicking on one of them will update your volume to that level and close the menu.
Config
To customise the menu launch with the mod once and a file named sound6.json will appear in the config folder. From here you can edit this file and changes will be reflect in game without needing to relaunch.
Under the category soundButtons there are six matching blocks. Each has a number assigned and inside contain four values. The number can be ignored, though do not change it. The four values inside each block customise the appearance and functionality of each button. itemID is the ID of the item displayed on the button, soundID is the ID of the sound played when the button is clicked, xOffset how far right from the centre of the screen the button is placed, and yOffset is how far down from the centre of the screen the button is placed.
"1": {
"itemID": "minecraft:cat_spawn_egg",
"soundID": "minecraft:entity.cat.ambient",
"xOffset": 0,
"yOffset": -80
}
Under the category volumeButtons there are three matching blocks. Similar to soundButtons each block contains four values and is assigned a number which should not be changed. The three values identical to soundButtons act the same as before, with the only difference being the volume value. This value controls what your volume will be set to when pressed. This is a float with the range 0.0-2.0.
"1": {
"itemID": "gunpowder",
"volume": 0.5,
"xOffset": -40,
"yOffset": 110
}
Below the two categories are a handful of other options. volume is your current volume and has a range of 0.0-2.0, buttonSize controls the height and width of the menu's buttons, closeMenuOnClick controls whether the menu closes automatically when a button or keybind is pressed, sendMessages controls whether a message is sent when a button is pressed (e.g. Volume changed to 1.5. or Played sound minecraft:entity.cat.ambient.), and sendInChat controls whether the send message appears in chat (visible only to you) or above your hotbar, given of course sendMessages is set to true.
"volume": 1.0,
"buttonSize": 20,
"closeMenuOnClick": true,
"sendMessages": true,
"sendInChat": false,
评论 0
登录后参与评分
还没有评论,来抢沙发吧