车辆防腐保护
免费
分类:免费插件
作者:WhiteThunder
版本:2.9.0
特征
车辆腐蚀防护功能允许您通过多种方式来增加或消除车辆腐蚀损害。
车辆停放在屋檐下时,车壳会因腐蚀而损坏(未经许可)。
车辆靠近工具柜时(未经许可)造成的鳞片腐蚀损坏
车辆使用后,在一段可配置的时间内消除腐蚀伤害(无需权限)
如果载具由拥有权限的玩家拥有(或已对其部署锁定装置),则消除腐烂伤害。
无需插件的替代方案
在原版游戏中,车辆损耗已经可以通过以下控制台变量进行一定程度的配置。
小型直升机、废料运输直升机和攻击直升机:
playerhelicopter.insidedecayminutes
playerhelicopter.outsidedecayminutes
玩家可建造的船只:
playerboat.decayminutes
划艇、充气艇、PT艇和皮划艇:
motorrowboat.outsidedecayminutes
motorrowboat.deepwaterdecayminutes
拖船:
tugboat.tugdecayminutes
双人潜艇和单人潜艇:
basesubmarine.outsidedecayminutes
basesubmarine.deepwaterdecayminutes
雪地摩托和托马哈:
snowmobile.outsidedecayminutes
弩炮、攻城槌、投石机和攻城塔:
basesiegeweapon.outsidedecayminutes
其他:
ridablehorse.decayminutes
bike.outsidedecayminutes
hotairballoon.outsidedecayminutes
modularcar.outsidedecayminutes
如果你只想禁用车辆的腐烂效果,那么你可以将这些值设置为非常高(例如1000000),这样就不需要插件了。
其他协变量:
playerboat.decaystartdelayminutes——决定车辆在最后一次使用后多长时间开始腐烂,适用于玩家可建造的船只。
motorrowboat.decaystartdelayminutes—— 决定车辆在最后一次使用后多久开始衰败,适用于划艇、充气艇、皮划艇、双人潜艇和单人潜艇。
tugboat.tugdecaystartdelayminutes—— 确定车辆在最后一次使用后多长时间内开始腐烂,适用于拖船。
有些车辆还具有内部倍增器,该倍增器会影响车辆停放在车棚下的腐蚀损伤程度。
马匹:2.0x在屋顶下遭受腐烂损害
模块化车辆和所有攻城武器:0.1x在屋顶下会受到腐蚀伤害
除拖船外,所有船只和潜艇:停放在屋顶下不会受到腐蚀损坏。
原版游戏中,它们还必须在浅水中,但这个插件移除了这一限制。
热气球:在屋顶下不会发生腐烂损坏
雪地摩托和托马哈摩托车:停放在屋檐下不会发生腐烂损坏
所有自行车:存放于屋檐下无腐烂损坏
权限
此插件使用权限系统。要分配权限,请使用 `<command>` 命令oxide.grant <user or group> <name or steam id> <permission>。要移除权限,请使用 `<command>` 命令oxide.revoke <user or group> <name or steam id> <permission>。
注意:此插件包含四种不同的车辆防腐功能。其中只有一项功能需要权限:“基于车辆所有权的防腐”。如果您只是想让最近使用过的车辆不发生防腐,或者想根据车辆停放在屋檐下或工具柜附近的情况调整其防腐程度,这些功能不需要权限,因此请直接跳至插件的配置部分。
授予玩家以下权限后,其拥有的车辆在任何情况下都不会损耗。您可以按车辆类型授予权限,也可以使用单一权限授予所有车辆。
vehicledecayprotection.nodecay.allvehicles(一体化)
vehicledecayprotection.nodecay.attackhelicopter
vehicledecayprotection.nodecay.ballista
vehicledecayprotection.nodecay.batteringram
vehicledecayprotection.nodecay.catapult
vehicledecayprotection.nodecay.duosubmarine
vehicledecayprotection.nodecay.hotairballoon
vehicledecayprotection.nodecay.kayak
vehicledecayprotection.nodecay.minicopter
vehicledecayprotection.nodecay.modularcar
vehicledecayprotection.nodecay.motorbike.sidecar
vehicledecayprotection.nodecay.motorbike
vehicledecayprotection.nodecay.pedalbike
vehicledecayprotection.nodecay.pedaltrike
vehicledecayprotection.nodecay.playerboat
vehicledecayprotection.nodecay.ptboat
vehicledecayprotection.nodecay.rhib
vehicledecayprotection.nodecay.ridablehorse
vehicledecayprotection.nodecay.rowboat
vehicledecayprotection.nodecay.scraptransporthelicopter
vehicledecayprotection.nodecay.siegetower
vehicledecayprotection.nodecay.sled.xmas
vehicledecayprotection.nodecay.sled
vehicledecayprotection.nodecay.snowmobile
vehicledecayprotection.nodecay.solosubmarine
vehicledecayprotection.nodecay.tomaha
vehicledecayprotection.nodecay.tugboat
注意:除了皮划艇等可部署车辆外,原版游戏不会为车辆分配所有者,因此您需要另一个插件来为大多数车辆分配所有权,以便享受权限带来的好处nodecay。
车辆所有权的确定方式
车辆所有权取决于OwnerID车辆的属性,通常是玩家的 Steam ID,或者0车辆没有所有者。大多数为玩家生成车辆的插件都会将该玩家指定为所有者。对于游戏原版生成的车辆,建议使用以下插件之一来授予车辆所有权。
载具供应商选项- 如果玩家拥有权限,则自动分配从原版 NPC 供应商处购买的载具的所有权。
认领车辆- 允许拥有权限的玩家使用冷却中的命令认领未拥有的车辆。
车辆部署锁- (可选)在车辆上部署锁时分配车辆所有权。
或者,如果车辆通过车辆部署锁附加了密码锁或钥匙锁,则此插件还会检查锁的所有者的权限(如果锁已锁定)。nodecay
拖船的情况比较特殊。只要有授权用户拥有权限nodecay,拖船就不会损坏。
下载安装
2.9.0 · 58.4 KB · 下载 0次
下载文件