暫無描述

PJ568 e7d3fbb41c 【新增】让 AA-12 457mm 兼容 MTs-255-12 收束器、玩具枪与 MXLR 弹仓兼容 20x70 霰弹 1 月之前
.githooks a807ef402e 【初始】建立武器跨枪配件兼容服务端模组 1 月之前
.github 57c453003d 【维护】升级 GitHub Actions 版本 1 月之前
assets f59358dbad 【文档】更新自述并新增开场改装图 1 月之前
docs e7d3fbb41c 【新增】让 AA-12 457mm 兼容 MTs-255-12 收束器、玩具枪与 MXLR 弹仓兼容 20x70 霰弹 1 月之前
scripts a807ef402e 【初始】建立武器跨枪配件兼容服务端模组 1 月之前
src e7d3fbb41c 【新增】让 AA-12 457mm 兼容 MTs-255-12 收束器、玩具枪与 MXLR 弹仓兼容 20x70 霰弹 1 月之前
tests e7d3fbb41c 【新增】让 AA-12 457mm 兼容 MTs-255-12 收束器、玩具枪与 MXLR 弹仓兼容 20x70 霰弹 1 月之前
.gitignore a807ef402e 【初始】建立武器跨枪配件兼容服务端模组 1 月之前
LICENSE a807ef402e 【初始】建立武器跨枪配件兼容服务端模组 1 月之前
README.md 7ae2ba161d 【新增】让玩具枪经 MXLR 弹仓发射 7.62x25 1 月之前
WeaponCrossModding.csproj e7d3fbb41c 【新增】让 AA-12 457mm 兼容 MTs-255-12 收束器、玩具枪与 MXLR 弹仓兼容 20x70 霰弹 1 月之前

README.md

PJ568's Weapon Cross Modding

一个 SPT 4.1.x 服务端插件:往目标物品槽的过滤器白名单里追加配件 id,让指定武器、瞄具、枪托与握把实现跨武器兼容;并让 20x1mm 玩具枪(经 Marlin MXLR 的 5 发管状弹仓)兼容 7.62x25 托卡列夫弹药。

PPSh-41 满配跨武器改装展示

本插件在服务端加载时,向目标物品槽的 Slot.Properties.Filters[].Filter(HashSet<MongoId>)白名单追加物品 id; 对互斥关系,则往 TemplateItem.Properties.ConflictingItems 追加物品 id。 所有注入均幂等:id 已存在时不重复添加。

效果

UZI StormWerkz 顶盖导轨与护木底轨 CR 200DS 前准星槽
IWI UZI 9x19 冲锋枪 Chiappa 犀牛 200DS 左轮手枪
CR 50DS 前准星槽与战术设备槽 PPSh-41 枪管、枪托、上机匣槽
Chiappa 犀牛 50DS 左轮手枪 PPSh-41 冲锋枪

文档

支持版本

SPT 4.1.x。

许可证

MIT

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

PJ568's Weapon Cross Modding

An SPT 4.1.x server plugin that appends accessory ids to slot filter whitelists, enabling cross-weapon compatibility between selected weapons, optics, stocks and grips; it also lets the 20x1mm toy gun accept 7.62x25 Tokarev ammunition via the Marlin MXLR 5-round tubular magazine.

PPSh-41 fully-kitted cross-weapon build showcase

On load, the plugin appends item ids to the Slot.Properties.Filters[].Filter (HashSet<MongoId>) whitelist of the target item slots; for mutual exclusions, it appends item ids to TemplateItem.Properties.ConflictingItems. All injections are idempotent: an id already present is never added twice.

Effect

UZI StormWerkz top cover rail and lower handguard rail CR 200DS front sight slot
IWI UZI 9x19 SMG Chiappa Rhino 200DS revolver
CR 50DS front sight and tactical slots PPSh-41 barrel, stock and upper receiver slots
Chiappa Rhino 50DS revolver PPSh-41 SMG

Documentation

Supported versions

SPT 4.1.x.

License

MIT

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%