版本 1.8.6 中的新功能

发布

Rust 更新后的修复

版本 1.8.4

修复 Rust 更新后,请备份您的配置

取决于

Works with

关于

该插件将个人机器人添加到您的服务器,玩家可以使用命令生成这些机器人并给他们各种指令。
目前,机器人可以:

  • 攻击各种目标(机器人、玩家、各种建筑物、桶和许多其他物体)
  • 收集资源
    • 石材、硫磺石、金属石
  • 在距离起点 50 米的地方收集和拾取资源(/pnpc auto-farm、/pnpc auto-pickup)
  • 取件资源
  • 捡起掉落的物品
  • 跟随玩家,站在原地
  • 如果他们中的任何一个受到攻击,请保护所有者或您自己
  • 攻击被所有者攻击的对象 (/pnpc combat)
  • 战利品箱
  • 随身携带播放器旅行
    • 小型直升机
    • 汽车
    • 和其他运输
  • 如果所有者处于受伤状态,则恢复他
  • 成为直升机的 AI 驾驶员(需要额外的插件,请查看个人资料)
  • 成为汽车的 AI 驾驶员(需要额外的插件,请在个人资料中查看)
  • 使用火箭/榴弹发射器进行突袭(需要额外的插件,请查看个人资料)

您可以自定义:

  • 机器人生成延迟
  • 控制
    • 选择将向自动程序分配任务的按钮
    • 任务分配按钮的范围
    • 显示 3D 箭头及其持续时间
  • GUI 界面
    • 菜单将在几秒钟内刷新一次
    • 调整面板图层(Hud、Overlay 等)
    • 调整菜单位置
    • 自定义颜色
    • 添加或更改菜单的快捷方式
  • 按权限设置机器人
    • 选择机器人名称
    • 设置最大生命值
    • 选择机器人外观
    • 调整机器人速度
    • 启用机器人无尽的弹药
    • 启用在地图上显示机器人
    • 为机器人制作入门工具包
    • 自定义功能
      • 机器人可以抢劫板条箱吗
      • 机器人可以收集树木和石头吗
      • 机器人可以获取资源
      • 机器人应该保护所有者
      • 机器人应该保护自己
      • 机器人可以在运输工具中与玩家一起旅行吗?
      • 机器人可以捡起掉落的物品吗
      • 将所有者从受伤状态中恢复
        • 机器人能否从受伤状态中恢复其所有者?
        • 恢复时间
      • 机器人可以攻击其他人的建筑物吗
      • 机器人可以攻击其所有者的建筑物吗
      • 机器人可以收集半径 50 米内的资源吗 (/ pnpc auto-pickup)
      • 机器人能否在 50 米半径内刷取资源 (/ pnpc auto-farm)
    • 自定义收集选项
      • 可以收集树木的项目简称
      • 可以收集石头和矿石的物品的简称
      • 自定义特定项目的收集率
    • 自定义伤害和交互
      • 调整机器人伤害率
      • 调整机器人受到伤害的几率
      • 玩家可以伤害机器人吗
      • 机器人可以伤害玩家吗
      • 炮塔可以瞄准并杀死机器人
      • 机器人所有者炮塔可以瞄准并杀死机器人吗
    • 设置无法放入 bot 物品栏的物品黑名单

 

 

默认情况下,该插件有 2 个本地化文件,分别用于俄语和英语
命令:

/pnpc - spawns or despawns the bot
/pnpc where - displays in the chat where the bot is
/pnpc health - displays the current health of the bot in the chat
/pnpc follow - instructs the bot to follow the owner
/pnpc combat - the bot begins to attack those who are attacked by the owner
/pnpc ignore - the bot ignores those who attack it and the owner

/pnpc auto-pickup - displays information about the auto-pickup function
     /pnpc auto-pickup (wood, metal, sulfur, stone, all) - selection of resources for pickup, if you need to remove a resource from the list, you need to re-enter it
     /pnpc auto-pickup enable - enable auto-pickup of resources
     /pnpc auto-pickup disable - disable auto-pickup of resources
 
/pnpc auto-farm - displays information about the auto-farm function
     /pnpc auto-farm (wood, metal, sulfur, stone, all) - selection of resources for farm, if you need to remove a resource from the list, you need to re-enter it
     /pnpc auto-farm enable - enable auto-farm resources
     /pnpc auto-farm disable - disable auto-farm resources

pnpc.item {STEAM_ID} {skin_id} - gives the player an item to install the bot

配置:

{
  "Control setup": {
    "Which button will assign tasks to the bot, kill/get/collect, etc. (MIDDLE_MOUSE, SECOND_MOUSE, E, RELOAD, SPRINT)": "MIDDLE_MOUSE",
    "Range of the task assignment button": 25.0,
    "Display 3D arrows over a target?": true,
    "Arrow display duration": 2
  },
  "GUI customization": {
    "How many seconds to update the GUI?": 6.0,
    "Panel layer (Hud, Overlay, Overall, Hud.Menu, Under)": "Overlay",
    "Panel position adjustment": {
      "type": "RectTransform",
      "anchormin": "1 1",
      "anchormax": "1 1",
      "offsetmin": "-170 -104",
      "offsetmax": "-10 -10"
    },
    "1 panel color": "#7f8c8d",
    "2 panel color": "#bdc3c7",
    "Health bar color": "#2ecc71",
    "Shortcut buttons": [
      {
        "Text on button": "Auto-Farm: Wood",
        "Executable chat commands": [
          "pnpc auto-farm wood",
          "pnpc auto-farm enable"
        ]
      },
      {
        "Text on button": "Auto-Farm: Stone",
        "Executable chat commands": [
          "pnpc auto-farm stone",
          "pnpc auto-farm enable"
        ]
      },
      {
        "Text on button": "Auto-Pickup: Wood",
        "Executable chat commands": [
          "pnpc auto-pickup wood",
          "pnpc auto-pickup enable"
        ]
      },
      {
        "Text on button": "Auto-Pickup: Stone",
        "Executable chat commands": [
          "pnpc auto-pickup stone",
          "pnpc auto-pickup enable"
        ]
      }
    ]
  },
  "Bot settings by permission": {
    "personalnpc.bot1": {
      "Bot spawn delay": 300.0,
      "The name of the bot to be selected through the command when spawning": "bot1",
      "Bot name": "Personal bot of player %OWNER_NAME%",
      "Bot appearance (0 - random)": 0,
      "Maximum health": 150.0,
      "Bot speed (slowest, slow, normal, fast)": "normal",
      "Enable infinite ammo for the bot?": true,
      "Enable display of the bot on the map? (frankenstein icon)": true,
      "Start kit": [
        {
          "Item name": "",
          "Item shortname": "shoes.boots",
          "Item skin": 0,
          "Item amount": 1,
          "In which container to place? (belt, main, wear)": "wear"
        },
        {
          "Item name": "",
          "Item shortname": "pants",
          "Item skin": 0,
          "Item amount": 1,
          "In which container to place? (belt, main, wear)": "wear"
        },
        {
          "Item name": "",
          "Item shortname": "hoodie",
          "Item skin": 0,
          "Item amount": 1,
          "In which container to place? (belt, main, wear)": "wear"
        },
        {
          "Item name": "",
          "Item shortname": "mask.bandana",
          "Item skin": 0,
          "Item amount": 1,
          "In which container to place? (belt, main, wear)": "wear"
        },
        {
          "Item name": "",
          "Item shortname": "hat.boonie",
          "Item skin": 0,
          "Item amount": 1,
          "In which container to place? (belt, main, wear)": "wear"
        },
        {
          "Item name": "",
          "Item shortname": "sunglasses",
          "Item skin": 0,
          "Item amount": 1,
          "In which container to place? (belt, main, wear)": "wear"
        }
      ],
      "Functions setup": {
        "Can a bot loot crates?": true,
        "Can the bot mine trees and stones?": true,
        "Can the bot pick up resources? (wood, sulfur and metal ore, stones)": true,
        "Should the bot protect the owner?": true,
        "Should the bot defend itself?": true,
        "Can the bot travel by car/copter and other vehicles?": true,
        "Can the bot pick up dropped items?": true,
        "Recover the owner from a wounded state": {
          "Can the bot recover the owner if he is in a wounded state?": true,
          "Recover time": 6.0
        },
        "Can the bot attack other people's buildings?": true,
        "Can a bot attack its owner's buildings?": false,
        "Can the bot collect resources within a radius of 50 meters? (/pnpc auto-pickup)": true,
        "Can the bot farm resources within a radius of 50 meters? (/pnpc auto-farm)": true
      },
      "Gather setup": {
        "Shortname of items that can harvest trees": [
          "hatchet",
          "chainsaw",
          "hammer.salvaged",
          "stonehatchet",
          "axe.salvaged"
        ],
        "Shortname of items that can mine stones and ore": [
          "pickaxe",
          "stone.pickaxe",
          "hammer.salvaged",
          "jackhammer",
          "icepick.salvaged"
        ],
        "Setting up mining rates": {
          "stones": 2.0,
          "wood": 5.0
        }
      },
      "Damage and interactions setup": {
        "Bot damage rate": 2.0,
        "Bot recive damage rate": 0.5,
        "Can players damage the bot?": true,
        "Can the bot damage players?": true,
        "Can turrets target and kill a bot? (all turrets will not be able to damage the bot)": false,
        "Prevent bot owner turrets from aiming and killing the bot? (bot owner's turrets will not be able to damage the bot)": true,
        "Blacklist of objects that the bot will ignore when owner selecting a target (short prefab name)": [
          "barricade.sandbags"
        ]
      },
      "Black list of items that cannot be put into the inventory of the bot": [
        "rocket.launcher"
      ]
    }
  },
  "Bot install by item": [
    {
      "Item name": "PersonalNPC",
      "Item shortname": "furnace",
      "Item skin": 2741314889,
      "Bot info": {
        "Bot spawn delay": 300.0,
        "The name of the bot to be selected through the command when spawning": "bot1",
        "Bot name": "Personal bot of player %OWNER_NAME%",
        "Bot appearance (0 - random)": 0,
        "Maximum health": 150.0,
        "Bot speed (slowest, slow, normal, fast)": "normal",
        "Enable infinite ammo for the bot?": true,
        "Enable display of the bot on the map? (frankenstein icon)": true,
        "Start kit": [
          {
            "Item name": "",
            "Item shortname": "shoes.boots",
            "Item skin": 0,
            "Item amount": 1,
            "In which container to place? (belt, main, wear)": "wear"
          },
          {
            "Item name": "",
            "Item shortname": "pants",
            "Item skin": 0,
            "Item amount": 1,
            "In which container to place? (belt, main, wear)": "wear"
          },
          {
            "Item name": "",
            "Item shortname": "hoodie",
            "Item skin": 0,
            "Item amount": 1,
            "In which container to place? (belt, main, wear)": "wear"
          },
          {
            "Item name": "",
            "Item shortname": "mask.bandana",
            "Item skin": 0,
            "Item amount": 1,
            "In which container to place? (belt, main, wear)": "wear"
          },
          {
            "Item name": "",
            "Item shortname": "hat.boonie",
            "Item skin": 0,
            "Item amount": 1,
            "In which container to place? (belt, main, wear)": "wear"
          },
          {
            "Item name": "",
            "Item shortname": "sunglasses",
            "Item skin": 0,
            "Item amount": 1,
            "In which container to place? (belt, main, wear)": "wear"
          }
        ],
        "Functions setup": {
          "Can a bot loot crates?": true,
          "Can the bot mine trees and stones?": true,
          "Can the bot pick up resources? (wood, sulfur and metal ore, stones)": true,
          "Should the bot protect the owner?": true,
          "Should the bot defend itself?": true,
          "Can the bot travel by car/copter and other vehicles?": true,
          "Can the bot pick up dropped items?": true,
          "Recover the owner from a wounded state": {
            "Can the bot recover the owner if he is in a wounded state?": true,
            "Recover time": 6.0
          },
          "Can the bot attack other people's buildings?": true,
          "Can a bot attack its owner's buildings?": false,
          "Can the bot collect resources within a radius of 50 meters? (/pnpc auto-pickup)": true,
          "Can the bot farm resources within a radius of 50 meters? (/pnpc auto-farm)": true
        },
        "Gather setup": {
          "Shortname of items that can harvest trees": [
            "hatchet",
            "chainsaw",
            "hammer.salvaged",
            "stonehatchet",
            "axe.salvaged"
          ],
          "Shortname of items that can mine stones and ore": [
            "pickaxe",
            "stone.pickaxe",
            "hammer.salvaged",
            "jackhammer",
            "icepick.salvaged"
          ],
          "Setting up mining rates": {
            "stones": 2.0,
            "wood": 5.0
          }
        },
        "Damage and interactions setup": {
          "Bot damage rate": 2.0,
          "Bot recive damage rate": 0.5,
          "Can players damage the bot?": true,
          "Can the bot damage players?": true,
          "Can turrets target and kill a bot? (all turrets will not be able to damage the bot)": false,
          "Prevent bot owner turrets from aiming and killing the bot? (bot owner's turrets will not be able to damage the bot)": true,
          "Blacklist of objects that the bot will ignore when owner selecting a target (short prefab name)": [
            "barricade.sandbags"
          ]
        },
        "Black list of items that cannot be put into the inventory of the bot": [
          "rocket.launcher"
        ]
      }
    }
  ],
  "How many seconds will the bot update the information? (affects the performance and operation of the bot)": 0.01,
  "Spawn a backpack with his items when a bot dies? (otherwise his corpse will spawn)": false,
  "List of prefabs that the bot can loot (useful if the bot attacks loot instead of looting it)": [
    "vehicle_parts"
  ]
}
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。