插件介绍
提高自动炮塔瞄准当前目标的速度
Better Turret Aim improves the speed at which auto turrets aim at their current target.
In vanilla Rust, a player sprinting on a horse can avoid being shot by an auto turret they are passing because the turret cannot follow them quickly enough. This plugin addresses this problem by allowing turrets to follow their current target more quickly. This also works well for turrets deployed to vehicles, since moving past a stationary target at a moderate pace will usually cause the turret to not shoot at all.
Notes:
Default configuration:
主要用途
主要用于autoturret、turret、turrets等服务端功能。 本插件由 WhiteThunder 发布,当前目录记录版本为 v1.0.2,uMod 累计下载 29,246 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Improves the speed at which auto turrets aim at their current target
权限节点
betterturretaim.useImproves the aiming ability of auto turrets owned by players who have been granted this permission. Only necessary with the configuration option RequirePermission: true.
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
配置说明
Default configuration:
{ "RequirePermission": true, "OnlyVehicles": false, "UpdateIntervalSeconds": 0.015, "Interpolation": 0.5 }
Note: Vanilla rust updates auto turret aim every 0.015 seconds. Each update alters the aim to cover approximately 90% of the gap distance. This plugin works by supplementing the vanilla aiming updates with additional aiming updates. These additional updates are optimized and only apply while the auto turret has a target, so this is unlikely to significantly impact performance.
RequirePermission (true or false) -- While true, only auto turrets owned by players with the betterturretaim.use permission will be affected.
OnlyVehicles (true or false) -- While true, only auto turrets attached to vehicles (e.g., minicopters, modular cars) will be affected.
Interpolation (0.0 - 1.0)This affects how much the auto turret's aim will be adjusted from its current point to the target point, per update. Setting to 1.0 will allow the turret to fire on its target continuously (assuming no obstacles are in the way). Since this plugin supplements vanilla aim which uses an interpolation value of roughly 0.9, you can see a noticeable improvement from a low value such as 0.25, so don't feel the need to raise this very much if you want a semblance of balance.
UpdateIntervalSecondsThis affects how often the auto turret's aim is updated. Performance-conscious users can increase this value to reduce the update frequency. Increasing this should probably be accompanied by an increase in Interpolation to maintain overall aiming speed. For example, using a value of 0.1 and an Interpolation value of 1.0, the auto turret can fire at most 10 bullets per second at a fast moving target, but fire rate will likely be lower because it's only maximized when the updates happen to align with the weapon's firing rate.
官方配置示例
{
"RequirePermission": true,
"OnlyVehicles": false,
"UpdateIntervalSeconds": 0.015,
"Interpolation": 0.5
}object OnAutoTurretAimImprove(AutoTurret autoTurret)更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。