布拉德利掉落物
1.1.17

布拉德利掉落物 1.1.17

布拉德利掉落物
1.1.17-PCI1
布拉德利掉落物 1.1.17
此内容为付费资源,请付费后查看
20
付费资源

原创地址Bradley Drops – 插件 – Codefling

关于 Bradley Drops

关于 Bradley Drops。

Bradley Drops 允许获得许可的玩家使用自定义补给信号将 Bradley APC 呼叫到他们的位置,它会在规定的时间内巡逻设定的距离,让玩家与它战斗以赢得宝贵的 Bradley 板条箱。

货机将通过降落伞运送和投放 APC。APC 可以以不同的方式进行配置,并且有许多配置选项适合所有服务器。

该插件为 Bradley Drops、Easy、Medium、Hard 和 Elite 提供了 4 个默认设置,每个设置都有自己的自定义供应信号皮肤。但是服务器所有者可以通过在配置中复制和粘贴现有配置文件,在配置中添加任意数量的选项。然而,这将要求服务器所有者为库存物品创建自己的自定义皮肤。(我将在不久的将来为此添加更多自定义皮肤。

BotReSpawn 兼容性,可选择在 Bradley kill 站点指定 BRS 生成配置文件。

重要:

配置中的每个直升机剖面或波形剖面都必须有自己唯一的名称和皮肤 ID,否则您将遇到问题。

关于商店的注意事项:

配置中的个人资料名称应与商店给玩家的自定义补给信号名称相匹配。Bradley 名称现在是独立的,可以独立设置。

用于将物品添加到各种商店、战利品插件、工具包等的插件默认供应信号皮肤 ID 是:

  • Bradley Drop (简易) : 2905355269
  • Bradley Drop (中) : 2905355312
  • 布拉德利·德洛特 (困难) : 2905355296
  • 布拉德利·德洛普 (精英)  2911864795
  • Bradley Drop (专家) : 3361673979
  • 布拉德利·德洛普 (噩梦) : 3361674045

easyDrop.png.4c45af8d9a70fd5d60995052bc80765a.pngmedDrop.png.bb7f8af801fccc4aaf2771c04ae109da.pnghardDrop.png.bb8e46c08c725f5a7a9db6d9a1380472.pngeliteDrop.png.b28dcdc4bcaa64f21facf299b50aa2a2.pngexpertDrop.png.1d56530526714c45beeedd95744092fd.pngnightmareDrop.png.fe805fba5f84f6d011c6a47b1450fc12.png

默认权限:

  • bradleydrops.admin(使用 give|hsclearcd 命令)
  • bradleydrops.buy(使用 /bdbuy 命令)
  • 布拉德利Drops.BypassCooldown
  • 布拉德利Drops.easy
  • 布拉德利Drops.medium
  • 布拉德利Drops.hard
  • 布拉德利Drops.Elite

命令(以 / 为前缀,可在游戏中使用):

  • bdgive <个人资料简称> <Steam64ID> <Amount>
  • bdbuy <个人资料简称>
  • bdbuy 列表
  • bdreport(列出所有活动的 Bradley 及其状态)
  • bddespawn (取消玩家或其团队呼叫的所有布拉德利,不退款)
  • BDClulCD(清除所有冷却时间)
  • bdclearcd <SteamID|名称> (清除玩家的冷却时间)

(Buy、Report 和 Despawn 命令可以在配置中自定义)

请注意,在配置文件中正确使用电源信号名称和 Bradley APC 显示名称。如果您愿意,这些值可以不同:

Capture.PNG.963346f71cf52e018094e44a1225af81.PNG

自定义战利品:

查看下面默认配置中的战利品示例,了解如何将自定义战利品物品添加到箱子中。

如何添加自定义战利品表项目:

 报价
{
	"ShortName": "example.shortname1",
	"Chance (0 - 100)": 50.0,
	"Min amount": 1,
	"Max Amount": 2,
	"SkinID": 1234567890,
	"Display Name": "Example Display Name 1"
},

扩大

配置:

 报价
{
  "General Options": {
    "Use Friends": false,
    "Use Clans": false,
    "Use Teams": false,
    "Chat Prefix": "<color=orange>[Bradley Drops]</color>",
    "Use Chat Prefix": true,
    "Supply Signal Fuse Length (Rust Default = 3.5)": 3.5,
    "Supply Signal Smoke Duration (Rust Default = 210)": 210.0,
    "Cargo Plane Speed (Rust Default = 35)": 50.0,
    "Cargo Plane Height Above The Heighest Point On The Map": 50.0,
    "Parachute Drag (Lower = Faster. eg: 0.6)": 0.5,
    "Strict Proximity Check (Checks for objects close to signal, prevents APC landing on objects)": true,
    "Strict Proximity Check Radius": 15.0,
    "LayerMask for Proximity Check - DO NOT EDIT UNLESS YOU KNOW WHAT YOU'RE DOING (Default Layers: Default, Construction, Tree, World, Deployed": [
      "Default",
      "World",
      "Tree",
      "Construction",
      "Deployed"
    ],
    "Objects To Ignore During Proximity Check - DO NOT EDIT UNLESS YOU KNOW WHAT YOU'RE DOING": [
      "driftwood",
      "clutter",
      "collectable"
    ],
    "Disable vanilla Bradley APC at Launch Site": false,
    "Use this plugin to control stacking/combing Bradley Drop signal items": true
  },
  "Announce Options": {
    "Announce When Player Calls a Bradley Drop": false,
    "Announce Bradley Kill to Global Chat": false,
    "Announce Damage Report to Global Chat": true,
    "Max Number Players Displayed in Damage Report": 5
  },
  "Discord Options": {
    "Discord WebHook URL": "https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks",
    "Announce to Discord when Bradley is called": false,
    "Announce to Discord when Bradley is killed": false,
    "Announce to Discord when Bradley de-spawns": false
  },
  "Reward Options": {
    "Rewards Plugin (ServerRewards | Economics)": "ServerRewards",
    "Currency Unit Displayed e.g: RP | $": "RP",
    "Enable Rewards": false,
    "Share Reward Between Players Above Damage Threshold": false,
    "Enable Scrap Reward": false,
    "Share Scrap Between Players Above Damage Threshold": false,
    "Rewards multipliers by permission": {
      "bradleydrops.examplevip1": 1.25,
      "bradleydrops.examplevip2": 1.5,
      "bradleydrops.examplevip3": 1.75
    }
  },
  "Purchasing Options": {
    "Player Buy Command (Chat or F1 Console)": "bdbuy",
    "Purchasing Currency (ServerRewards|Economics|Custom)": "ServerRewards",
    "Currency Unit Displayed e.g: RP | $ (Not Used for Custom Currency)": "RP",
    "Custom Currency": [
      {
        "ShortName": "scrap",
        "SkinID": 0,
        "Display Name": "Scrap"
      }
    ]
  },
  "Bradley APC Options": {
    "Player Give Up and Despawn Command (Despawns All of That Players Bradleys, NO Refund Given)": "bddespawn",
    "Team Can Deswpan Bradleys Using the Command (Requires Use Friends/Clans/Teams option)": false,
    "Global Bradley Limit (0 = No Limit)": 2,
    "Max Distance Bradley Can Be Damaged By Any Player (0 = Disabled)": 1000.0,
    "Use Explosion Effect When Bradley Despawns": true,
    "Despawn if attacking player is building blocked, while 'Block damage to other players bases' is true": false,
    "Despawn warning threshold (Number of warnings allowed before despawning)": 25,
    "Use NoEscape": false,
    "Player Cooldown (seconds) Between Bradley Drop Calls (0 = no cooldown)": 3600.0,
    "Cooldown applies to clan/team/friends (Requires Use Friends/Use Clan/Use Teams)": true,
    "VIP/Custom Cooldowns": {
      "bradleydrops.examplevip1": 3000.0,
      "bradleydrops.examplevip2": 2400.0,
      "bradleydrops.examplevip3": 1800.0
    },
    "Profiles": {
      "Bradley Drop (Easy)": {
        "Bradley display name": "Bradley Drop (Easy)",
        "Skin ID of the custom Supply Signal": 2905355269,
        "Profile shortname (for use in permission and give command)": "easy",
        "Enable purchasing via the buy command": true,
        "Cost to purchase (using buy command)": 500,
        "Starting health": 1000.0,
        "Prevent damage while parachuting": true,
        "Range of main gun": 60.0,
        "Gun Damage scale (1.0 = default, 2.0 = 2x, etc)": 1.0,
        "Gun accuracy % (1 to 100)": 40.0,
        "Main cannon damage scale (1.0 = default, 2.0 = 2x, etc)": 1.0,
        "Search range": 60.0,
        "Patrol radius": 20.0,
        "Number of patrol points": 4,
        "Throttle response (1.0 = default)": 1.0,
        "Number of crates to spawn": 3,
        "Number of locked hackable crates to spawn": 0,
        "Hack time for locked crate (seconds)": 900.0,
        "Locked crate despawn time (seconds)": 7200.0,
        "Kill if APC goes in SafeZone": true,
        "Despawn timer": 1800.0,
        "Attack owner": true,
        "Target sleeping players": false,
        "Only owner can damage (and team if enabled) ": false,
        "Allow Bradley to target other players": true,
        "Block damage to calling players bases": false,
        "Block damage to other players bases": false,
        "Block damage to other players": false,
        "Disable Bradley gibs": false,
        "Gibs too hot to harvest time (Seconds)": 600.0,
        "Health of gibs (more health = more resources)": 500.0,
        "Lock mining gibs to owner": false,
        "Unlock mining gibs to others after time in seconds (0 = Never)": 300.0,
        "Disable fire on crates": false,
        "Crate fire duration (seconds)": 300.0,
        "Lock looting crates to owner": false,
        "Unlock looting crates to others after time in seconds (0 = Never)": 300.0,
        "Reward points issued when destroyed (if enabled)": 1000.0,
        "Scrap amount issued when destroyed (if enabled)": 1000,
        "Damage Threshold (Min damage player needs to contribute to get rewards)": 100.0,
        "BotReSpawn profile to spawn at Bradley kill site (leave blank for not using)": "",
        "Loot Options": {
          "Use custom loot table": false,
          "Minimum number loot items in crate (0 - 12)": 2,
          "Maximum number loot items in crate (0 - 12)": 6,
          "Allow duplication of loot items": false,
          "Custom loot table": [
            {
              "ShortName": "example.shortname1",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 1"
            },
            {
              "ShortName": "example.shortname2",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 2"
            }
          ]
        },
        "Extra Loot Options": {
          "Use extra loot table (NOTE: Total of crate loot + extra items cannot exceed 12)": false,
          "Minimum number extra items to add to crate": 1,
          "Maximum number extra items to add to crate": 3,
          "Allow duplication of extra items": false,
          "Extra loot table": [
            {
              "ShortName": "example.shortname1",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 1"
            },
            {
              "ShortName": "example.shortname2",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 2"
            }
          ]
        },
        "Locked Crate Loot Options": {
          "Use locked crate loot table (NOTE: Total items cannot exceed 36)": false,
          "Minimum number items to add to locked crate": 1,
          "Maximum number items to add to locked crate": 3,
          "Allow duplication of locked crate items": false,
          "Locked crate loot table": [
            {
              "ShortName": "example.shortname1",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 1"
            },
            {
              "ShortName": "example.shortname2",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 2"
            }
          ]
        }
      },
      "Bradley Drop (Medium)": {
        "Bradley display name": "Bradley Drop (Medium)",
        "Skin ID of the custom Supply Signal": 2905355312,
        "Profile shortname (for use in permission and give command)": "medium",
        "Enable purchasing via the buy command": true,
        "Cost to purchase (using buy command)": 1000,
        "Starting health": 2000.0,
        "Prevent damage while parachuting": true,
        "Range of main gun": 80.0,
        "Gun Damage scale (1.0 = default, 2.0 = 2x, etc)": 1.0,
        "Gun accuracy % (1 to 100)": 60.0,
        "Main cannon damage scale (1.0 = default, 2.0 = 2x, etc)": 1.0,
        "Search range": 80.0,
        "Patrol radius": 20.0,
        "Number of patrol points": 3,
        "Throttle response (1.0 = default)": 1.0,
        "Number of crates to spawn": 6,
        "Number of locked hackable crates to spawn": 0,
        "Hack time for locked crate (seconds)": 900.0,
        "Locked crate despawn time (seconds)": 7200.0,
        "Kill if APC goes in SafeZone": true,
        "Despawn timer": 1800.0,
        "Attack owner": true,
        "Target sleeping players": false,
        "Only owner can damage (and team if enabled) ": false,
        "Allow Bradley to target other players": true,
        "Block damage to calling players bases": false,
        "Block damage to other players bases": false,
        "Block damage to other players": false,
        "Disable Bradley gibs": false,
        "Gibs too hot to harvest time (Seconds)": 600.0,
        "Health of gibs (more health = more resources)": 500.0,
        "Lock mining gibs to owner": false,
        "Unlock mining gibs to others after time in seconds (0 = Never)": 300.0,
        "Disable fire on crates": false,
        "Crate fire duration (seconds)": 300.0,
        "Lock looting crates to owner": false,
        "Unlock looting crates to others after time in seconds (0 = Never)": 300.0,
        "Reward points issued when destroyed (if enabled)": 2000.0,
        "Scrap amount issued when destroyed (if enabled)": 2000,
        "Damage Threshold (Min damage player needs to contribute to get rewards)": 150.0,
        "BotReSpawn profile to spawn at Bradley kill site (leave blank for not using)": "",
        "Loot Options": {
          "Use custom loot table": false,
          "Minimum number loot items in crate (0 - 12)": 4,
          "Maximum number loot items in crate (0 - 12)": 8,
          "Allow duplication of loot items": false,
          "Custom loot table": [
            {
              "ShortName": "example.shortname1",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 1"
            },
            {
              "ShortName": "example.shortname2",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 2"
            }
          ]
        },
        "Extra Loot Options": {
          "Use extra loot table (NOTE: Total of crate loot + extra items cannot exceed 12)": false,
          "Minimum number extra items to add to crate": 1,
          "Maximum number extra items to add to crate": 3,
          "Allow duplication of extra items": false,
          "Extra loot table": [
            {
              "ShortName": "example.shortname1",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 1"
            },
            {
              "ShortName": "example.shortname2",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 2"
            }
          ]
        },
        "Locked Crate Loot Options": {
          "Use locked crate loot table (NOTE: Total items cannot exceed 36)": false,
          "Minimum number items to add to locked crate": 1,
          "Maximum number items to add to locked crate": 3,
          "Allow duplication of locked crate items": false,
          "Locked crate loot table": [
            {
              "ShortName": "example.shortname1",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 1"
            },
            {
              "ShortName": "example.shortname2",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 2"
            }
          ]
        }
      },
      "Bradley Drop (Hard)": {
        "Bradley display name": "Bradley Drop (Hard)",
        "Skin ID of the custom Supply Signal": 2905355296,
        "Profile shortname (for use in permission and give command)": "hard",
        "Enable purchasing via the buy command": true,
        "Cost to purchase (using buy command)": 2000,
        "Starting health": 4000.0,
        "Prevent damage while parachuting": true,
        "Range of main gun": 100.0,
        "Gun Damage scale (1.0 = default, 2.0 = 2x, etc)": 1.0,
        "Gun accuracy % (1 to 100)": 80.0,
        "Main cannon damage scale (1.0 = default, 2.0 = 2x, etc)": 1.0,
        "Search range": 100.0,
        "Patrol radius": 25.0,
        "Number of patrol points": 4,
        "Throttle response (1.0 = default)": 1.0,
        "Number of crates to spawn": 9,
        "Number of locked hackable crates to spawn": 0,
        "Hack time for locked crate (seconds)": 900.0,
        "Locked crate despawn time (seconds)": 7200.0,
        "Kill if APC goes in SafeZone": true,
        "Despawn timer": 1800.0,
        "Attack owner": true,
        "Target sleeping players": false,
        "Only owner can damage (and team if enabled) ": false,
        "Allow Bradley to target other players": true,
        "Block damage to calling players bases": false,
        "Block damage to other players bases": false,
        "Block damage to other players": false,
        "Disable Bradley gibs": false,
        "Gibs too hot to harvest time (Seconds)": 600.0,
        "Health of gibs (more health = more resources)": 500.0,
        "Lock mining gibs to owner": false,
        "Unlock mining gibs to others after time in seconds (0 = Never)": 300.0,
        "Disable fire on crates": false,
        "Crate fire duration (seconds)": 300.0,
        "Lock looting crates to owner": false,
        "Unlock looting crates to others after time in seconds (0 = Never)": 300.0,
        "Reward points issued when destroyed (if enabled)": 4000.0,
        "Scrap amount issued when destroyed (if enabled)": 4000,
        "Damage Threshold (Min damage player needs to contribute to get rewards)": 200.0,
        "BotReSpawn profile to spawn at Bradley kill site (leave blank for not using)": "",
        "Loot Options": {
          "Use custom loot table": false,
          "Minimum number loot items in crate (0 - 12)": 6,
          "Maximum number loot items in crate (0 - 12)": 10,
          "Allow duplication of loot items": false,
          "Custom loot table": [
            {
              "ShortName": "example.shortname1",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 1"
            },
            {
              "ShortName": "example.shortname2",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 2"
            }
          ]
        },
        "Extra Loot Options": {
          "Use extra loot table (NOTE: Total of crate loot + extra items cannot exceed 12)": false,
          "Minimum number extra items to add to crate": 1,
          "Maximum number extra items to add to crate": 3,
          "Allow duplication of extra items": false,
          "Extra loot table": [
            {
              "ShortName": "example.shortname1",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 1"
            },
            {
              "ShortName": "example.shortname2",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 2"
            }
          ]
        },
        "Locked Crate Loot Options": {
          "Use locked crate loot table (NOTE: Total items cannot exceed 36)": false,
          "Minimum number items to add to locked crate": 1,
          "Maximum number items to add to locked crate": 3,
          "Allow duplication of locked crate items": false,
          "Locked crate loot table": [
            {
              "ShortName": "example.shortname1",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 1"
            },
            {
              "ShortName": "example.shortname2",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 2"
            }
          ]
        }
      },
      "Bradley Drop (Elite)": {
        "Bradley display name": "Bradley Drop (Elite)",
        "Skin ID of the custom Supply Signal": 2911864795,
        "Profile shortname (for use in permission and give command)": "elite",
        "Enable purchasing via the buy command": true,
        "Cost to purchase (using buy command)": 4000,
        "Starting health": 8000.0,
        "Prevent damage while parachuting": true,
        "Range of main gun": 150.0,
        "Gun Damage scale (1.0 = default, 2.0 = 2x, etc)": 2.0,
        "Gun accuracy % (1 to 100)": 100.0,
        "Main cannon damage scale (1.0 = default, 2.0 = 2x, etc)": 1.0,
        "Search range": 150.0,
        "Patrol radius": 25.0,
        "Number of patrol points": 3,
        "Throttle response (1.0 = default)": 1.0,
        "Number of crates to spawn": 18,
        "Number of locked hackable crates to spawn": 0,
        "Hack time for locked crate (seconds)": 900.0,
        "Locked crate despawn time (seconds)": 7200.0,
        "Kill if APC goes in SafeZone": true,
        "Despawn timer": 1800.0,
        "Attack owner": true,
        "Target sleeping players": false,
        "Only owner can damage (and team if enabled) ": false,
        "Allow Bradley to target other players": true,
        "Block damage to calling players bases": false,
        "Block damage to other players bases": false,
        "Block damage to other players": false,
        "Disable Bradley gibs": false,
        "Gibs too hot to harvest time (Seconds)": 600.0,
        "Health of gibs (more health = more resources)": 500.0,
        "Lock mining gibs to owner": false,
        "Unlock mining gibs to others after time in seconds (0 = Never)": 300.0,
        "Disable fire on crates": false,
        "Crate fire duration (seconds)": 300.0,
        "Lock looting crates to owner": false,
        "Unlock looting crates to others after time in seconds (0 = Never)": 300.0,
        "Reward points issued when destroyed (if enabled)": 8000.0,
        "Scrap amount issued when destroyed (if enabled)": 8000,
        "Damage Threshold (Min damage player needs to contribute to get rewards)": 250.0,
        "BotReSpawn profile to spawn at Bradley kill site (leave blank for not using)": "",
        "Loot Options": {
          "Use custom loot table": false,
          "Minimum number loot items in crate (0 - 12)": 8,
          "Maximum number loot items in crate (0 - 12)": 12,
          "Allow duplication of loot items": false,
          "Custom loot table": [
            {
              "ShortName": "example.shortname1",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 1"
            },
            {
              "ShortName": "example.shortname2",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 2"
            }
          ]
        },
        "Extra Loot Options": {
          "Use extra loot table (NOTE: Total of crate loot + extra items cannot exceed 12)": false,
          "Minimum number extra items to add to crate": 1,
          "Maximum number extra items to add to crate": 3,
          "Allow duplication of extra items": false,
          "Extra loot table": [
            {
              "ShortName": "example.shortname1",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 1"
            },
            {
              "ShortName": "example.shortname2",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 2"
            }
          ]
        },
        "Locked Crate Loot Options": {
          "Use locked crate loot table (NOTE: Total items cannot exceed 36)": false,
          "Minimum number items to add to locked crate": 1,
          "Maximum number items to add to locked crate": 3,
          "Allow duplication of locked crate items": false,
          "Locked crate loot table": [
            {
              "ShortName": "example.shortname1",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 1"
            },
            {
              "ShortName": "example.shortname2",
              "Chance (0 - 100)": 50.0,
              "Min amount": 1,
              "Max Amount": 2,
              "SkinID": 1234567890,
              "Display Name": "Example Display Name 2"
            }
          ]
        }
      }
    }
  },
  "Version": {
    "Major": 1,
    "Minor": 0,
    "Patch": 31
  }
}

扩大

对于其他开发人员:

以下钩子可以在您的插件中使用,以检查自定义 Supply Signals、Cargo Planes 和 Supply Drops,以避免与您的插件冲突:

对象 IsBradleyDrop(ulong skinID)

如果项目是 Bradley Drop 项目/实体,则返回 true,否则返回 null。

直接调用它,无需引用插件:

if (Interface.CallHook("IsBradleyDrop", skinID) != null)
	return true; // IsBradleyDrop

或者引用我的插件并像这样调用:

[PluginReference]
Plugin BradleyDrops;

if (BradleyDrops.CallHook("IsBradleyDrop", skinID) != null)
	return true; // IsBradleyDrop

图片[8]-布拉德利掉落物
1.1.17-PCI1

图片[9]-布拉德利掉落物
1.1.17-PCI1

图片[10]-布拉德利掉落物
1.1.17-PCI1

图片[11]-布拉德利掉落物
1.1.17-PCI1

图片[12]-布拉德利掉落物
1.1.17-PCI1

© 版权声明
THE END
喜欢就支持一下吧
点赞6 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容