本篇教程由作者设定未经允许禁止转载。
武器属性修改:
相关命令:
/balancepack load [文件名称] 加载平衡包文件
/balancepack unload 卸载平衡包
/balancepack list 显示平衡包文件信息
/balancepack info 列出平衡包文件
/balancepack generate 生成默认平衡包文件
/balancepack download [raw,pastebin] 平衡包共享相关
1. 使用 /balancepack generate 后会在路径 .minecraft\balancepacks 下生成一个默认的平衡包配置文件,可供修改
2. 查看 default_pack.json 文件
现版本:
{
"packName": "default",
"version": "1.0",
"packManagerVersion": "1.2",
"globalParameters": {
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"headshotMultiplier": 2.5,
"hipFireSpread": 7.5
},
"gunConfigurations": [
{
"name": "exampleWeapon",
"enabled": true,
"damage": 8.0,
"recoil": 1.0,
"firerate": 0.5,
"inaccuracy": 0.0
}
],
"categoryConfigurations": [
{
"group": "NONE",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "LONG_RANGE_RIFLES",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "HEAVY",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "REVOLVER",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "DMR",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "SHOTGUN",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "SMG",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "SIDEARM",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "RIFLES",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
}
]
}
参考:
{
"packName": "包名",
"version": "1.0",
"packManagerVersion": "1.2",
"globalParameters": {
"damageMultiplier": 全局伤害倍率,
"recoilMultiplier": 全局后坐力倍率,
"headshotMultiplier": 爆头倍率,
"hipFireSpread": 全局腰射散布
},
"gunConfigurations": [
{
"name": "武器ID(F3+H可查看鼠标瞄准的物品ID, 需要全部小写, 且不能带有mwc:)",
"enabled": 是否启用,
"damage": 伤害,
"recoil": 后坐力,
"firerate": 射速,
"inaccuracy": 综合散布(包括开镜与腰射),
"firemodeSingle": 能否使用单射,
"firemodeBurst": 几连发(填数字--3.0),
"firemodeAuto": 能否使用全自动
}
],
"categoryConfigurations": [
{
"group": "NONE",
"damageMultiplier": 伤害倍率,
"recoilMultiplier": 后坐力倍率,
"hipFireSpreadMultiplier": 腰射散布倍率
},
{
"group": "LONG_RANGE_RIFLES(远距离狙击步枪)",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "HEAVY(机枪)",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "REVOLVER(左轮手枪)",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "DMR(射手步枪)",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "SHOTGUN(霰弹枪)",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "SMG(冲锋枪)",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "SIDEARM(手枪)",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
},
{
"group": "RIFLES(步枪)",
"damageMultiplier": 1.0,
"recoilMultiplier": 1.0,
"hipFireSpreadMultiplier": 1.0
}
]
}
3. 之后保存,使用 /balancepack load [文件名称.json] 加载平衡包
自定义专属工作台配方:
1. 前往 .minecraft\config\mw\crafting
2. 新建一个文本文件,重命名为 craftingmappings.json
3. 输入如下:
{
"recipes": [
{
"entryName": "mwc:bullet50ae",
"craftingGroup": "BULLET",
"recipe": [
{
"entryName": "mwc:steelingot",
"isOreDictionary": false,
"count": 4
}
]
}
]
}
参考:
{
"recipes": [
{
"entryName": "mwc:制作物ID",
"craftingGroup": "可选择 GUN、ATTACHMENT_NORMAL、ATTACHMENT_MODIFICATION、BULLET、MAGAZINE、GEAR",
"recipe": [
{
"entryName": "mwc:材料ID",
"isOreDictionary": false(尽量保持false,否则会崩溃),
"count": 数量
},.......根据上面模板添加材料ID
]
},.......根据上面模板添加制作物ID
]
}
添加武器涂装:
1. 前往 .minecraft\config\mw\crafting\skins
2. 放入比例为1:1的PNG格式图片
以下为服务端操作:
3. 查看并修改 skins.json 文件
{
"skins": [
"oldiepinkcamo"
]
}
参考:
{
"skins": [
"oldiepinkcamo",
"图片名称1",
"图片名称2"
]
}
4. 为玩家客户端 (服务端可以不加) 加入PNG格式图片
定位图片: