取决于

Works with

关于 Tugboat Pirates

与“拖船海盗”一起体验公海掠夺的快感。遇到一艘拖船,船上装满了 NPC 海盗,保护他们宝贵的战利品。参与激烈的战斗,消灭船长以获得访问密码,并夺取宝藏。

piratel0.thumb.png.fb436d253f38e2eea6bfb69984a43183.png

特征

  • 载着海盗 NPC 和战利品的拖船在海洋中巡逻
  • 杀死船长以进入战利品室
  • 完全可配置的船内
  • 地图上标记的船只位置
  • 完全可定制的 NPC(您甚至可以在他们的工具包中给他们火箭发射器)
  • 事件自动开始(可配置时间,可禁用)
  • 通过 gametip 和/或聊天进行公告
  • NPC 是炮塔 NPC,不会在拖船上从他们的位置移动

 

Pirate Ship   pirate_loot.thumb.png.8d5fe1da046cd8d951f49d16c9d87d5e.png

 

战利品室的门密码可以在船长的尸体中找到(海盗语录可以在配置中更改)

code.thumb.png.36591e62bcb7272cf233b5bf1aa8002b.png

 

命令

所有命令都需要 admin 权限

/tugboatstart - Manually start the event
/tugboatstop  - Manually end the event

 

(void) OnTugboatPiratesStarted() // Called when the event has started
(void) OnTugboatPiratesEnded()   // Called after the event has ended

 

权限

tugboatpirates.admin - Required to use admin commands

 

配置

{
  "Time between events (minutes, set to -1 to disable scheduled events)": 60,
  "Event duration (seconds)": 3600,
  "Show toast when event starts": true,
  "Announce event in chat": true,
  "Boat leave time before despawning (seconds)": 120,
  "Time before boat despawn when captain is killed (seconds)": 1200,
  "Boat configurations": [
    {
      "Location offset (used when spawning multiple boats)": {
        "x": 0.0,
        "y": 0.0,
        "z": 0.0
      },
      "Npc profile for captain (must be a valid profile)": "captain",
      "Npc spawn locations and profiles": {
        "back_right": "pirate_lr",
        "back_left": "pirate_lr",
        "upper_front_right": "pirate_lr",
        "upper_front_left": "pirate_lr",
        "upper_back_right": "pirate_lr",
        "upper_back_left": "pirate_lr",
        "roof_back": "pirate_lr",
        "entrance_right": "pirate_lr",
        "entrance_left": "pirate_lr",
        "roof_right": "pirate_lr",
        "roof_left": "pirate_lr",
        "front": "pirate_lr",
        "right": "pirate_mp5",
        "left": "pirate_mp5"
      },
      "Interior objects (crates, decoration, etc.)": [
        {
          "Prefab path": "assets/prefabs/deployable/chinooklockedcrate/codelockedhackablecrate.prefab",
          "Rotation": 180.0,
          "Position on boat": {
            "x": 0.0,
            "y": 2.0,
            "z": 4.2
          },
          "Skin id": 1394363785,
          "Loot profile (only for crates, leave empty for default loot)": ""
        },
        // Removed some lines for readability reasons
      ]
    }
  ],
  "Npc profiles": {
    "pirate_lr": {
      "name": "Pirate",
      "health": 200.0,
      "enableRadio": true,
      "senseRange": 50.0,
      "visionCone": 135.0,
      "damageScale": 1.0,
      "memoryDuration": 60.0,
      "lootProfile": "pirate",
      "kit": "",
      "Clothing items": [
        {
          "shortName": "hat.boonie",
          "amount": 1,
          "skinId": 965553937
        },
        {
          "shortName": "hoodie",
          "amount": 1,
          "skinId": 2984978438
        },
        {
          "shortName": "pants",
          "amount": 1,
          "skinId": 2984977257
        },
        {
          "shortName": "attire.hide.boots",
          "amount": 1,
          "skinId": 861468674
        }
      ],
      "Belt items": [
        {
          "shortName": "rifle.lr300",
          "amount": 1,
          "skinId": 0
        }
      ]
    },
    "pirate_mp5": {
      "name": "Pirate",
      "health": 150.0,
      "enableRadio": true,
      "senseRange": 50.0,
      "visionCone": 135.0,
      "damageScale": 1.0,
      "memoryDuration": 60.0,
      "lootProfile": "pirate",
      "kit": "",
      "Clothing items": [
        {
          "shortName": "hat.boonie",
          "amount": 1,
          "skinId": 965553937
        },
        {
          "shortName": "hoodie",
          "amount": 1,
          "skinId": 2984978438
        },
        {
          "shortName": "pants",
          "amount": 1,
          "skinId": 2984977257
        },
        {
          "shortName": "attire.hide.boots",
          "amount": 1,
          "skinId": 861468674
        }
      ],
      "Belt items": [
        {
          "shortName": "smg.mp5",
          "amount": 1,
          "skinId": 0
        }
      ]
    },
    "captain": {
      "name": "Captain",
      "health": 100.0,
      "enableRadio": false,
      "senseRange": 0.0,
      "visionCone": 0.0,
      "damageScale": 1.0,
      "memoryDuration": 0.0,
      "lootProfile": "pirate",
      "kit": "",
      "Clothing items": [
        {
          "shortName": "hat.boonie",
          "amount": 1,
          "skinId": 965553937
        },
        {
          "shortName": "tshirt",
          "amount": 1,
          "skinId": 811762477
        },
        {
          "shortName": "pants.shorts",
          "amount": 1,
          "skinId": 849256923
        },
        {
          "shortName": "attire.hide.boots",
          "amount": 1,
          "skinId": 861468674
        }
      ],
      "Belt items": [
        {
          "shortName": "mace.baseballbat",
          "amount": 1,
          "skinId": 0
        }
      ]
    }
  },
  "Loot profiles": {
    "crate_2": [
      {
        "Short name": "scrap",
        "Min amount": 2,
        "Max amount": 20,
        "Chance": 1.0,
        "Skin id": 0
      },
      {
        "Short name": "metal.refined",
        "Min amount": 4,
        "Max amount": 8,
        "Chance": 0.5,
        "Skin id": 0
      },
      {
        "Short name": "gears",
        "Min amount": 1,
        "Max amount": 3,
        "Chance": 0.2,
        "Skin id": 0
      },
      {
        "Short name": "sewingkit",
        "Min amount": 1,
        "Max amount": 3,
        "Chance": 0.2,
        "Skin id": 0
      },
      {
        "Short name": "rope",
        "Min amount": 1,
        "Max amount": 3,
        "Chance": 0.2,
        "Skin id": 0
      },
      {
        "Short name": "sheetmetal",
        "Min amount": 1,
        "Max amount": 2,
        "Chance": 0.2,
        "Skin id": 0
      },
      {
        "Short name": "grenade.molotov",
        "Min amount": 1,
        "Max amount": 2,
        "Chance": 0.1,
        "Skin id": 0
      },
      {
        "Short name": "grenade.f1",
        "Min amount": 1,
        "Max amount": 4,
        "Chance": 0.1,
        "Skin id": 0
      },
      {
        "Short name": "telephone",
        "Min amount": 1,
        "Max amount": 1,
        "Chance": 0.1,
        "Skin id": 0
      },
      {
        "Short name": "multiplegrenadelauncher",
        "Min amount": 1,
        "Max amount": 1,
        "Chance": 0.1,
        "Skin id": 0
      }
    ],
    "pirate": [
      {
        "Short name": "scrap",
        "Min amount": 2,
        "Max amount": 6,
        "Chance": 1.0,
        "Skin id": 0
      },
      {
        "Short name": "bottle.vodka",
        "Min amount": 1,
        "Max amount": 1,
        "Chance": 0.7,
        "Skin id": 0
      },
      {
        "Short name": "pistol.eoka",
        "Min amount": 1,
        "Max amount": 1,
        "Chance": 0.2,
        "Skin id": 0
      },
      {
        "Short name": "ammo.handmade.shell",
        "Min amount": 5,
        "Max amount": 10,
        "Chance": 0.2,
        "Skin id": 0
      },
      {
        "Short name": "rope",
        "Min amount": 1,
        "Max amount": 3,
        "Chance": 0.3,
        "Skin id": 0
      },
      {
        "Short name": "sewingkit",
        "Min amount": 1,
        "Max amount": 2,
        "Chance": 0.3,
        "Skin id": 0
      }
    ]
  },
  "Priate quotes (inluded in captain's note)": [
    "If rum can’t fix it, ye are not using enough rum.",
    "But… why is the rum gone?",
    "Be who you arrrr...",
    "All for rum and rum for all!",
    "Land was created to provide a place for boats to visit.",
    "If ye can read this ye be stupid."
  ]
}
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。