特点
- 允许SAM站点瞄准RC无人机
- 允许玩家自动炮塔瞄准RC无人机
- 允许npc瞄准RC无人机
- 允许与团队,氏族和朋友共享炮塔/山姆授权,以避免瞄准他们的无人机
权限
此插件使用权限系统。要分配权限,请使用oxide.grant <user or group> <name or steam id> <permission>。要删除权限,请使用oxide.revoke <user or group> <name or steam id> <permission>。- targetabledrones.untargetable-具有此权限的玩家控制的无人机不能被任何自动炮塔,SAM站点或npc作为目标。
配置
设置和选项可以在TargetableDrones文件下的config目录。建议使用编辑器和验证程序,以避免格式问题和语法错误。默认配置:
代码:
{
"EnableTurretTargeting": true,
"EnableSAMTargeting": true,
"NPCTargeting": {
"MaxRange": 45.0,
"DamageMultiplier": 5.0,
"EnabledByNpcPrefab": {
"assets/prefabs/npc/gingerbread/gingerbread_dungeon.prefab": false,
"assets/prefabs/npc/gingerbread/gingerbread_meleedungeon.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_cargo.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_cargo_turret_any.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_cargo_turret_lr300.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_ch47_gunner.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_excavator.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_full_any.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_full_lr300.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_full_mp5.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_full_pistol.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_full_shotgun.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_heavy.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_junkpile_pistol.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_oilrig.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_patrol.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_roam.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/scientist/scientistnpc_roamtethered.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/tunneldweller/npc_tunneldweller.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/tunneldweller/npc_tunneldwellerspawned.prefab": false,
"assets/rust.ai/agents/npcplayer/humannpc/underwaterdweller/npc_underwaterdweller.prefab": false
}
},
"DefaultSharingSettings": {
"Team": false,
"Friends": false,
"Clan": false,
"Allies": false
}
}