插件介绍
允许玩家将自动炮塔部署到遥控无人机上
Since the March 2023 Rust update, drones now sway in the wind, but attached entities do not sway. This causes undesirable visuals to players observing a drone that is being controlled. There is no known fix at this time.
Default configuration:
Yes, by installing Entity Scale Manager and configuring it to hide spheres after resize. However, there is a significant performance cost to enabling that feature, so enable it cautiously, and disable it if it doesn't work out.
主要用途
主要用于drone、turret等服务端功能。 本插件由 WhiteThunder 发布,当前目录记录版本为 v1.4.1,uMod 累计下载 13,235 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Allows players to deploy auto turrets onto RC drones
权限节点
droneturrets.deployRequired to use the droneturret command.
droneturrets.deploynpcRequired to use the dronenpcturret command.
droneturrets.deploy.freeAllows using the droneturret command for free (no auto turret item required).
droneturrets.autodeployDeploying a drone while you have this permission will automatically deploy an auto turret to it, free of charge.Not recommended if you want to allow players to deploy other attachments such as stashes since they are incompatible.
droneturrets.controlAllows remotely controlling drone turrets. Only necessary while the RequirePermissionToControlDroneTurrets config option is set to true.
Not recommended if you want to allow players to deploy other attachments such as stashes since they are incompatible.
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
droneturretDeploys an auto turret onto the drone the player is looking at, consuming an auto turret item from their inventory unless they have permission for free turrets.
dronenpcturretDeploys an NPC auto turret onto the drone the player is looking at. Does not consume any items. NPC turrets are the ones found at safe zone monuments such as fishing villages.
相关依赖
- Drone Settings
配置说明
Default configuration:
{ "RequirePermissionToControlDroneTurrets": false, "TargetPlayers": true, "TargetNPCs": true, "TargetAnimals": true, "EnableAudioAlarm": false, "EnableSirenLight": false, "TurretRange": 30.0, "TipChance": 25 }
RequirePermissionToControlDroneTurrets (true or false) -- Determines whether players require the droneturrets.control permission to remotely control turrets attached to drones. While false, anybody can control drone turrets. While a player is prohibited from controlling drone turrets, they can still view the turrets perspective. Note: NPC auto turrets and peacekeeper turrets cannot be viewed under any circumstances.
TargetPlayers (true or false) -- Determines whether drone-mounted turrets should target real players.
TargetNPCs (true or false) -- Determines whether drone-mounted turrets should target NPCs.
TargetAnimals (true or false) -- Determines whether drone-mounted turrets should target NPC animals such as bears.
EnableAudioAlarm (true or false) -- Determines whether drone-mounted turrets should play an audio alarm for nearby players to hear, while the turret is powered, and while the drone is being controlled or hovering.
EnableSirenLight (true or false) -- Determines whether drone-mounted turrets should have a flashing siren light to warn nearby players, while the turret is powered, and while the drone is being controlled or hovering.
TurretRange (true or false) -- The range of drone-mounted turrets.
TipChance (0 - 100) -- Chance that a tip message will be shown to a player when they deploy a drone, informing them that they can use the /droneturret command. Only applies to players with the droneturrets.deploy permission who do not have the droneturrets.autodeploy permission.
官方配置示例
{
"RequirePermissionToControlDroneTurrets": false,
"TargetPlayers": true,
"TargetNPCs": true,
"TargetAnimals": true,
"EnableAudioAlarm": false,
"EnableSirenLight": false,
"TurretRange": 30.0,
"TipChance": 25
}{
"Tip.DeployCommand": "Tip: Look at the drone and run <color=yellow>/droneturret</color> to deploy a turret.",
"Error.NoPermission": "You don't have permission to do that.",
"Error.NoDroneFound": "Error: No drone found.",
"Error.BuildingBlocked": "Error: Cannot do that while building blocked.",
"Error.NoTurretItem": "Error: You need an auto turret to do that.",
"Error.AlreadyHasTurret": "Error: That drone already has a turret.",
"Error.IncompatibleAttachment": "Error: That drone has an incompatible attachment.",
"Error.DeployFailed": "Error: Failed to deploy turret.",
"Error.CannotPickupWithTurret": "Cannot pick up that drone while it has a turret."
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。