插件介绍
(已过时)为遥控无人机添加碰撞效果、死亡效果和螺旋桨动画
As of the March 2023 Rust update, RC drones have animation, collision and on-death effects built into the game. This plugin no longer compiles and will not be updated. This plugin can still be downloaded to review the old implementation.
Plugins can call this API to stop animating a drone. Nothing happens if the drone was not already being animated.
This is useful for plugins that resize drones since the animated delivery drone may not resize when animation begins if the drone was already resized. In such an example, it's probably better to just disable animating the drone completely by using this API method plus the hook to prevent it from starting animation.
主要用途
主要用于等服务端功能。 本插件由 WhiteThunder 发布,当前目录记录版本为 v1.0.3,uMod 累计下载 4,574 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
(Obsolete) Adds collision effects, on-death effects and propeller animations to RC drones
配置说明
{ "Animation": { "Enabled": true }, "CollisionEffect": { "Enabled": true, "RequiredMagnitude": 40, "EffectPrefab": "assets/content/vehicles/modularcar/carcollisioneffect.prefab" }, "DeathEffect": { "Enabled": true, "EffectPrefab": "assets/prefabs/ammo/40mmgrenade/effects/40mm_he_explosion.prefab" } }
AnimationEnabled (true or false) -- While true, drones will display animated propellers and play audio effects while they are being controlled.Also applies when a drone is hovering via the Drone Hover plugin.Does not apply to drones resized via Drone Scale Manager.
CollisionEffectEnabled (true or false) -- While true, drones will run an effect on collision.RequiredMagnitude -- Required collision magnitude to run a collision effect.This option is ignored while Better Drone Collision is loaded. Instead, collision effects will play when that plugin signals it.EffectPrefab -- The effect prefab to run.
DeathEffectEnabled (true or false) -- While true, drones will run an effect on death.EffectPrefab -- The effect prefab to run.
Enabled (true or false) -- While true, drones will display animated propellers and play audio effects while they are being controlled.Also applies when a drone is hovering via the Drone Hover plugin.Does not apply to drones resized via Drone Scale Manager.
Also applies when a drone is hovering via the Drone Hover plugin.
Does not apply to drones resized via Drone Scale Manager.
Enabled (true or false) -- While true, drones will run an effect on collision.
RequiredMagnitudeRequired collision magnitude to run a collision effect.This option is ignored while Better Drone Collision is loaded. Instead, collision effects will play when that plugin signals it.
EffectPrefabThe effect prefab to run.
This option is ignored while Better Drone Collision is loaded. Instead, collision effects will play when that plugin signals it.
Enabled (true or false) -- While true, drones will run an effect on death.
官方配置示例
{
"Animation": {
"Enabled": true
},
"CollisionEffect": {
"Enabled": true,
"RequiredMagnitude": 40,
"EffectPrefab": "assets/content/vehicles/modularcar/carcollisioneffect.prefab"
},
"DeathEffect": {
"Enabled": true,
"EffectPrefab": "assets/prefabs/ammo/40mmgrenade/effects/40mm_he_explosion.prefab"
}
}void API_StopAnimating(Drone drone)更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由本站已校验的本地缓存提供作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。