• 版本 1.5.21 中的新功能

    更正了之前的更新 1.5.21

    [1.5.21]

    • 添加了一个配置项以禁用弹匣容量更改功能
    • 项目名称和描述的集成翻译
  • 版本 1.5.20 中的新功能

    发布

    • 热量已从结构上的静态损坏类型中去除。
    • 修复了火焰喷射器的工作。
    • 修复了堆栈,现在堆栈与父项相同。
      (更正了С4被1堆叠的问题)。
    • 现在,如果项目已指定名称,则不会更改项目名称
  • 1.5.19 版本
    • 修复了与过渡到新版本 Harmony 相关的更新 02.05.2024。仅在擦除后安装。
    • 重要!这比之前上传的版本要高得多。特别重要的是更新 1.5.13,其中切换到库,如果您使用基本的短名称 + 皮肤 ID 进行识别以在其他插件中指定,您需要在指定此格式的所有位置进行更改正确的格式 – 新项目的短名称,短名称是文件名的一部分,最多.json自定义文件夹。
  • # 擦除后安装此更新,因为之前在先前版本上创建的世界中的项目将不起作用。
    如果您之前使用过自定义短名称,那么您将不需要更改任何内容,如果您使用基本短名称 + 皮肤 ID 进行识别,那么您将需要在所有地方将此类短名称指示更改为自定义文件夹中指定的内容

    • 增加了对碳的支持
    • 自定义项现在与 CustomItemDefinitions 库一起使用。
  • 固定了堆叠自定义项的分离
  • 返回了先前的重新分配伤害的方法

  • 添加了火焰喷射器 它具有特定的伤害,伤害来自持火时出现的火球,分别是实体是分开的,因此伤害来自持有者手中的火焰喷射器
  • 更改损坏位置更改
  • 选择时的武器属性已移至客户端,因此现在不会破坏插件。
    因此,如果以前它干扰了您,您可以尝试使用它。
  • 选择后的武器统计数据现在会根据装载的弹药类型显示
  • 删除了 GUI 中容器的 Sortify 插件工作

 

下载解压好看下面按照方法;

请先装CustomizableWeapons.json文件到oxide/lang/en/根目录

在装CustomizableWeapons.cs文件在oxide/plugins/根目录

 

 

 

关于可自定义武器

该插件提供了广泛的武器自定义选项,允许您根据携带的模块或分辨率调整伤害、耐用性和弹匣容量等参数。凭借创建自定义物品和定义独特伤害类型的能力,该插件可以轻松地在所有武器区域工作,包括炮塔、NPC 和老板。

我可以用这个插件做什么?

  • 该插件允许您创建对某些类型的玩家有效的武器。
  • 您还可以使用对普通玩家造成重大伤害的武器创建 NPC 或 Boss,同时应用来自另一个插件(可自定义保护)的特殊盔甲以减少此类伤害的影响。为了改善游戏玩法,您可以使用制作来添加盔甲。
  • 此外,借助插件,您可以创建从+1到+20级别的武器改进系统,提供在每个级别逐渐增加力量的能力。

最终,定制的可能性是无穷无尽的,并且仅受您的想象力限制。

特征:

  • 可定制性
  • 条目设置文件都分别位于其自己的文件和文件夹中,便于自定义条目
  • 支持NPC,炮塔等
  • 能够创建自己的项目
  • 漂亮的用户界面,让玩家尽可能好地看到物品

权限:

customizableweapons.give - 发放武器的权限
customizableweapons.icon.show 显示
customizableweapons.icon.hide 隐藏
customizableweapons.*****   您配置的任何权限,示例中的默认权限为vip1、vip2

控制台命令:

cw.give <custom item name> - give yourself a custom item
cw.give <steamid> <custom item name> - give the player a custom item
cw.create <new unique shortname> <shortname> - Add a custom item based on the image of another item
cw.reload - Quick reloading of items

文件层次结构:

  • CustomizableWeapons
     ↳ • Custom
          ↳ admin.lr.json
     ↳ • Permissions
          ↳ • [0] vip2
                ↳ rifle.lr300.json
          ↳ • [1] vip1
                ↳ rifle.lr300.json
     ↳ • Default
          ↳ bow.compound.json
          ↳ bow.hunting.json
          ↳ crossbow.json
          ↳ hmlmg.json
          ↳ lmg.m249.json
          ↳ multiplegrenadelauncher.json
          ↳ pistol.eoka.json
          ↳ pistol.m92.json
          ↳ pistol.nailgun.json
          ↳ ... etc.

自定义项目设置:

{
  "Name": "Admin LR300",
  "Description": "Powerful admin gun",
  "UI Settings": {
    "Name Color (or use <color></color> in name)": "1 0 0 1",
    "Frame Color": "1 0 0 1"
  },
  "Unique SkinId": 2400056213,
  "Shortname": "rifle.lr300",
  "Unbreakable": true,
  "Durability": 1000000.0,
  "Magazine Capacity": 10000,
  "Effects when hit": {
    "Maximum and minimum values in the accumulation": {
      "Max Radiation Poison": 500.0,
      "Max Bleading": 100.0,
      "Min Temperature": -100.0,
      "Max Temperature": 100.0,
      "Max Wetness": 100.0
    },
    "Radiation Poison": 0.0,
    "Bleading": 0.0,
    "Temperature": 0.0,
    "Hunger": 0.0,
    "Thirst": 0.0,
    "Wetness": 0.0,
    "Number of electric balls (recommended to 10)": 0
  },
  "Base damage by type & ammo": {
    "ammo.rifle": {
      "Hunger": 1000000.0,
      "Thirst": 1000000.0,
      "Cold": 1000000.0,
      "Drowned": 1000000.0,
      "Heat": 1000000.0,
      "Bleeding": 1000000.0,
      "Poison": 1000000.0,
      "Bullet": 1000000.0,
      "Slash": 1000000.0,
      "Blunt": 1000000.0,
      "Radiation": 1000000.0,
      "Bite": 1000000.0,
      "Stab": 1000000.0,
      "Explosion": 1000000.0,
      "ElectricShock": 1000000.0,
      "Arrow": 1000000.0,
      "AntiVehicle": 1000000.0,
      "Collision": 1000000.0
    },
    "ammo.rifle.explosive": {
      "Hunger": 1000000.0,
      "Thirst": 1000000.0,
      "Cold": 1000000.0,
      "Drowned": 1000000.0,
      "Heat": 1000000.0,
      "Bleeding": 1000000.0,
      "Poison": 1000000.0,
      "Bullet": 1000000.0,
      "Slash": 1000000.0,
      "Blunt": 1000000.0,
      "Radiation": 1000000.0,
      "Bite": 1000000.0,
      "Stab": 1000000.0,
      "Explosion": 1000000.0,
      "ElectricShock": 1000000.0,
      "Arrow": 1000000.0,
      "AntiVehicle": 1000000.0,
      "Collision": 1000000.0
    },
    "ammo.rifle.incendiary": {
      "Hunger": 1000000.0,
      "Thirst": 1000000.0,
      "Cold": 1000000.0,
      "Drowned": 1000000.0,
      "Heat": 1000000.0,
      "Bleeding": 1000000.0,
      "Poison": 1000000.0,
      "Bullet": 1000000.0,
      "Slash": 1000000.0,
      "Blunt": 1000000.0,
      "Radiation": 1000000.0,
      "Bite": 1000000.0,
      "Stab": 1000000.0,
      "Explosion": 1000000.0,
      "ElectricShock": 1000000.0,
      "Arrow": 1000000.0,
      "AntiVehicle": 1000000.0,
      "Collision": 1000000.0
    },
    "ammo.rifle.hv": {
      "Hunger": 1000000.0,
      "Thirst": 1000000.0,
      "Cold": 1000000.0,
      "Drowned": 1000000.0,
      "Heat": 1000000.0,
      "Bleeding": 1000000.0,
      "Poison": 1000000.0,
      "Bullet": 1000000.0,
      "Slash": 1000000.0,
      "Blunt": 1000000.0,
      "Radiation": 1000000.0,
      "Bite": 1000000.0,
      "Stab": 1000000.0,
      "Explosion": 1000000.0,
      "ElectricShock": 1000000.0,
      "Arrow": 1000000.0,
      "AntiVehicle": 1000000.0,
      "Collision": 1000000.0
    }
  }
}

Default item settings:

{
  "Shortname": "multiplegrenadelauncher",
  "Unbreakable": false,
  "Durability": 200.0,
  "Magazine Capacity": 6,
  "Effects when hit": {
    "Maximum and minimum values in the accumulation": {
      "Max Radiation Poison": 500.0,
      "Max Bleading": 100.0,
      "Min Temperature": -100.0,
      "Max Temperature": 100.0,
      "Max Wetness": 100.0
    },
    "Radiation Poison": 0.0,
    "Bleading": 0.0,
    "Temperature": 0.0,
    "Hunger": 0.0,
    "Thirst": 0.0,
    "Wetness": 0.0,
    "Number of electric balls (recommended to 10)": 0
  },
  "Base damage by type & ammo": {
    "ammo.grenadelauncher.buckshot": {
      "Hunger": 0.0,
      "Thirst": 0.0,
      "Cold": 0.0,
      "Drowned": 0.0,
      "Heat": 0.0,
      "Bleeding": 0.0,
      "Poison": 0.0,
      "Bullet": 15.0,
      "Slash": 0.0,
      "Blunt": 0.0,
      "Radiation": 0.0,
      "Bite": 0.0,
      "Stab": 0.0,
      "Explosion": 0.0,
      "ElectricShock": 0.0,
      "Arrow": 0.0,
      "AntiVehicle": 0.0,
      "Collision": 0.0
    },
    "ammo.grenadelauncher.he": {
      "Hunger": 0.0,
      "Thirst": 0.0,
      "Cold": 0.0,
      "Drowned": 0.0,
      "Heat": 0.0,
      "Bleeding": 0.0,
      "Poison": 0.0,
      "Bullet": 0.0,
      "Slash": 0.0,
      "Blunt": 55.0,
      "Radiation": 0.0,
      "Bite": 0.0,
      "Stab": 0.0,
      "Explosion": 35.0,
      "ElectricShock": 0.0,
      "Arrow": 0.0,
      "AntiVehicle": 0.0,
      "Collision": 0.0
    },
    "ammo.grenadelauncher.smoke": {
      "Hunger": 0.0,
      "Thirst": 0.0,
      "Cold": 0.0,
      "Drowned": 0.0,
      "Heat": 0.0,
      "Bleeding": 0.0,
      "Poison": 0.0,
      "Bullet": 0.0,
      "Slash": 0.0,
      "Blunt": 0.0,
      "Radiation": 0.0,
      "Bite": 0.0,
      "Stab": 0.0,
      "Explosion": 0.0,
      "ElectricShock": 0.0,
      "Arrow": 0.0,
      "AntiVehicle": 0.0,
      "Collision": 0.0
    }
  }
}

Defaut Config:

{
  "Icon Position (0 - Off | -1 - left by 1 slot, 1 - right by 1 slot | ..)": -2,
  "Global Settings": {
    "Give Options": {
      "Attachments": {
        "weapon.mod.8x.scope": false,
        "weapon.mod.burstmodule": false,
        "weapon.mod.extendedmags": false,
        "weapon.mod.flashlight": false,
        "weapon.mod.holosight": false,
        "weapon.mod.lasersight": false,
        "weapon.mod.muzzleboost": false,
        "weapon.mod.muzzlebrake": false,
        "weapon.mod.simplesight": false,
        "weapon.mod.silencer": false,
        "weapon.mod.small.scope": false
      }
    },
    "Disable the mechanics of unloading ammunition when removing the magazine?": false,
    "Disable the magazine bonus when you change capacity?": false,
    "Limit the number of bullets loaded in the weapon to the capacity of the magazine set for the player holding the weapon?": true
  }
}

 

 

 

 

 

关于可定制武器

该插件提供了广泛的武器定制选项,允许您根据您所携带的模块或分辨率来调整伤害、耐用性和弹匣容量等参数。凭借创建自定义物品和定义独特伤害类型的能力,该插件可以轻松地在所有有武器的区域工作,包括炮塔、NPC 和 Boss。

我可以用这个插件做什么?

  • 该插件允许您创建对某些类型的玩家有效的武器。
  • 您还可以创建带有武器的 NPC 或 Boss,对普通玩家造成重大伤害,同时应用另一个插件 (CustomizedProtection) 的特殊护甲来减少此类伤害的影响。为了改善游戏玩法,您可以使用手工来添加盔甲。
  • 此外,借助该插件,您可以创建从+1到+20级别的武器改进系统,提供随着每个级别逐渐增强强度的能力。

最终,定制的可能性是无限的,仅受您的想象力的限制。

特征:

  • 可定制性
  • 项目设置文件都单独位于自己的文件和文件夹中,可以轻松自定义项目
  • 支持 NPC、炮塔等。
  • 能够创建自己的物品
  • 漂亮的用户界面,让玩家尽可能最好地看到物品

权限:

customizableweapons.give -发放武器的权限可定制
customizableweapons.icon.show 武器名称
customizableweapons.icon.hide 
customizableweapons.***** 您配置的任何权限,示例中的默认值为 vip1、vip2

控制台命令:

cw.give <自定义项目名称> - 给自己一个自定义项目
cw.give <steamid> <自定义项目名称> - 给玩家一个自定义项目
cw.add - 根据另一个项目的图像添加自定义项目
cw.reload - 快速重新加载物品

文件层次结构:

  • 可定制武器
     ↳ • 定制
          ↳ 管理.lr.json
     ↳ • 权限
          ↳ • [0] vip2
                ↳ 步枪.lr300.json
          ↳ • [1] vip1
                ↳ 步枪.lr300.json
     ↳ • 默认
          ↳ 弓.compound.json
          ↳ 弓.hunting.json
          ↳ 弩.json
          ↳ hmlmg.json
          ↳ lmg.m249.json
          ↳ 多重榴弹发射器.json
          ↳ 手枪.eoka.json
          ↳ 手枪.m92.json
          ↳ 手枪.nailgun.json
          ↳ ...等等。

自定义项目设置:

{
  “名称”:“管理员LR300”,
  "Description": "强大的管理枪",
  “用户界面设置”:{
    "命名颜色(或在名称中使用 <color></color>)": "1 0 0 1",
    “框架颜色”:“1 0 0 1”
  },
  “唯一皮肤ID”:2400056213,
  "简称": "步枪.lr300",
  “坚不可摧”:真实,
  “耐久度”:1000000.0,
  《杂志容量》:10000,
  “被击中时的效果”:{
    “累加中的最大值和最小值”:{
      “最大辐射毒力”:500.0,
      “最大闪烁”:100.0,
      “最低温度”:-100.0,
      “最高温度”:100.0,
      “最大湿度”:100.0
    },
    “辐射毒”:0.0,
    “闪烁”:0.0,
    “温度”:0.0,
    “饥饿”:0.0,
    “口渴”:0.0,
    “湿度”:0.0,
    “电球数量(建议10个)”:0
  },
  “按类型和弹药划分的基础伤害”:{
    “弹药.步枪”:{
      “饥饿”:1000000.0,
      “口渴”:1000000.0,
      “冷”:1000000.0,
      “淹死”:1000000.0,
      “热度”:1000000.0,
      “出血”:1000000.0,
      “毒”:1000000.0,
      “子弹”:1000000.0,
      “斜线”:1000000.0,
      “钝”:1000000.0,
      “辐射”:1000000.0,
      “咬”:1000000.0,
      “刺”:1000000.0,
      “爆炸”:1000000.0,
      “触电”:1000000.0,
      “箭头”:1000000.0,
      “反车辆”:1000000.0,
      “碰撞”:1000000.0
    },
    “弹药.步枪.爆炸”:{
      “饥饿”:1000000.0,
      “口渴”:1000000.0,
      “冷”:1000000.0,
      “淹死”:1000000.0,
      “热度”:1000000.0,
      “出血”:1000000.0,
      “毒”:1000000.0,
      “子弹”:1000000.0,
      “斜线”:1000000.0,
      “钝”:1000000.0,
      “辐射”:1000000.0,
      “咬”:1000000.0,
      “刺”:1000000.0,
      “爆炸”:1000000.0,
      “触电”:1000000.0,
      “箭头”:1000000.0,
      “反车辆”:1000000.0,
      “碰撞”:1000000.0
    },
    “弹药.步枪.燃烧弹”:{
      “饥饿”:1000000.0,
      “口渴”:1000000.0,
      “冷”:1000000.0,
      “淹死”:1000000.0,
      “热度”:1000000.0,
      “出血”:1000000.0,
      “毒”:1000000.0,
      “子弹”:1000000.0,
      “斜线”:1000000.0,
      “钝”:1000000.0,
      “辐射”:1000000.0,
      “咬”:1000000.0,
      “刺”:1000000.0,
      “爆炸”:1000000.0,
      “触电”:1000000.0,
      “箭头”:1000000.0,
      “反车辆”:1000000.0,
      “碰撞”:1000000.0
    },
    “弹药.步枪.hv”:{
      “饥饿”:1000000.0,
      “口渴”:1000000.0,
      “冷”:1000000.0,
      “淹死”:1000000.0,
      “热度”:1000000.0,
      “出血”:1000000.0,
      “毒”:1000000.0,
      “子弹”:1000000.0,
      “斜线”:1000000.0,
      “钝”:1000000.0,
      “辐射”:1000000.0,
      “咬”:1000000.0,
      “刺”:1000000.0,
      “爆炸”:1000000.0,
      “触电”:1000000.0,
      “箭头”:1000000.0,
      “反车辆”:1000000.0,
      “碰撞”:1000000.0
    }
  }
}

默认项目设置:

{
  "Shortname": "多管榴弹发射器",
  “牢不可破”:假的,
  “耐久性”:200.0,
  《弹匣容量》:6本,
  “被击中时的效果”:{
    “累加中的最大值和最小值”:{
      “最大辐射毒力”:500.0,
      “最大闪烁”:100.0,
      “最低温度”:-100.0,
      “最高温度”:100.0,
      “最大湿度”:100.0
    },
    “辐射毒”:0.0,
    “闪烁”:0.0,
    “温度”:0.0,
    “饥饿”:0.0,
    “口渴”:0.0,
    “湿度”:0.0,
    “电球数量(建议10个)”:0
  },
  “按类型和弹药划分的基础伤害”:{
    “弹药.grenadelauncher.buckshot”:{
      “饥饿”:0.0,
      “口渴”:0.0,
      “冷”:0.0,
      “淹死”:0.0,
      “热量”:0.0,
      “出血”:0.0,
      “毒”:0.0,
      “子弹”:15.0,
      “斜线”:0.0,
      “钝”:0.0,
      “辐射”:0.0,
      “咬”:0.0,
      “刺”:0.0,
      “爆炸”:0.0,
      “触电”:0.0,
      “箭头”:0.0,
      “反车辆”:0.0,
      “碰撞”:0.0
    },
    “弹药.grenadelauncher.he”:{
      “饥饿”:0.0,
      “口渴”:0.0,
      “冷”:0.0,
      “淹死”:0.0,
      “热量”:0.0,
      “出血”:0.0,
      “毒”:0.0,
      “子弹”:0.0,
      “斜线”:0.0,
      “钝”:55.0,
      “辐射”:0.0,
      “咬”:0.0,
      “刺”:0.0,
      “爆炸”:35.0,
      “触电”:0.0,
      “箭头”:0.0,
      “反车辆”:0.0,
      “碰撞”:0.0
    },
    “弹药.榴弹发射器.烟雾”:{
      “饥饿”:0.0,
      “口渴”:0.0,
      “冷”:0.0,
      “淹死”:0.0,
      “热量”:0.0,
      “出血”:0.0,
      “毒”:0.0,
      “子弹”:0.0,
      “斜线”:0.0,
      “钝”:0.0,
      “辐射”:0.0,
      “咬”:0.0,
      “刺”:0.0,
      “爆炸”:0.0,
      “触电”:0.0,
      “箭头”:0.0,
      “反车辆”:0.0,
      “碰撞”:0.0
    }
  }
}

默认配置:

{
  “图标位置(0 - 关闭 | -1 - 向左 1 个插槽,1 - 向右 1 个插槽 | ..)”:-2,
  “全局设置”: {
    “给出选项”:{
      “附件”:{
        "weapon.mod.8x.scope": false,
        “weapon.mod.burstmodule”:假,
        "weapon.mod.extendedmags": false,
        "weapon.mod.flashlight": false,
        “weapon.mod.holosight”:假,
        “weapon.mod.lasersight”:假,
        "weapon.mod.muzzleboost": false,
        "weapon.mod.muzzlebrake": false,
        "weapon.mod.simplesight": false,
        “weapon.mod.silencer”:假,
        "weapon.mod.small.scope": false
      }
    },
    “移除弹匣时禁用卸载弹药的机制?”: false,
    “改变容量时禁用杂志奖励?”: false,
    “将武器中装载的子弹数量限制为持有武器的玩家的弹匣容量?”:true
  }
}
声明:本站所有文章,如无特殊说明或标注,均为本站原创发布。任何个人或组织,在未征得本站同意时,禁止复制、盗用、采集、发布本站内容到任何网站、书籍等各类媒体平台。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。