特点
- 低时显示带有彩色警告的主动武器弹药。
- 显示库存中的总可用弹药。
- 图标颜色取决于弹药类型 (青铜 = 常规,蓝色 = hv,红色 = incen,黑色 = 爆炸)
权限
此插件使用权限系统。要分配权限,请使用oxide.grant <user or group> <name or steam id> <permission>。要删除权限,请使用oxide.revoke <user or group> <name or steam id> <permission>。ammohud.use-为玩家启用HUD
命令
此插件使用相同的语法提供聊天和控制台命令。在聊天中使用命令时,请在其前面加上正斜杠: “/”。- /ammohud-(发送可用的命令和位置)
- /ammohud toggle-(切换开/关HUD)
- /ammohud {position}-(允许玩家重新定位Ammo HUD在他们的屏幕上)
职位
Default,Top,Bottom,Right,Left,BottomRight,BottomLeft,TopRight,TopLeft配置
设置和选项可以在AmmoHUD文件下的config目录。建议使用编辑器和验证程序,以避免格式问题和语法错误。
代码:
{
"Version": {
"Major": 1,
"Minor": 2,
"Patch": 1
},
"General Settings": {
"Show Text Outline": true,
"Show Individual Ammo Icons": false,
"Show Throwables": false
},
"Position Settings": {
"Default State (true = on, false = off)": true,
"Position (Top, TopLeft, TopRight, Left, Right, Bottom, BottomLeft, BottomRight)": "Right",
"Custom Position": {
"Enabled": false,
"Custom Position": {
"ParentPosition": {
"Enabled": true,
"AnchorMin": "1 0.5",
"AnchorMax": "1 0.5",
"OffsetMin": "-155 -32",
"OffsetMax": "-15 33"
},
"WeaponAmmoPosition": {
"Enabled": true,
"AnchorMin": "0 0",
"AnchorMax": "0.79 0.70",
"OffsetMin": "0 0",
"OffsetMax": "0 0"
},
"WeaponAmmoFontSize": 36,
"WeaponAmmoTextAlignment": 8,
"TotalAmmoPosition": {
"Enabled": true,
"AnchorMin": "0 0.55",
"AnchorMax": "1 1",
"OffsetMin": "0 0",
"OffsetMax": "0 0"
},
"TotalAmmoFontSize": 22,
"TotalAmmoTextAlignment": 8,
"IconPosition": {
"Enabled": true,
"AnchorMin": "1 0.13",
"AnchorMax": "1 0.13",
"OffsetMin": "-30 0",
"OffsetMax": "0 30"
}
}
}
}
}