About this mod
Remove vanilla weapons (including DLC weapons) from NPCs using RobCo Patcher.
- Requirements
- Permissions and credits
- Changelogs
It accomplishes this by targeting dedicated leveled lists pointing to vanilla weapons. For example:
LL_PipeBoltAction_SimpleRifle [LVLI:00164A75]
...is an instance of LVLI that points to PipeBoltAction "Pipe Bolt-Action" [WEAP:0014831A], an instance of WEAP. By removing leveled lists such as this one, NPCs will no longer be able to refer to them, effectively losing access to the weapon in question.

Figure 1. NPCs are assigned leveled lists, which contain instances of weapons. Remove the leveled list (red), then NPCs' access to the weapon (green) is removed. Software used to view this data is FO4Edit.
I have only tested this patch on a new save at game version 1.10.163.0, specifically by visiting USAF Station Olivia, Libertalia, Medford Hospital, and Gunners Plaza. Let me know if there are still bugs, or if I missed a weapon to remove. Screenshots would also be appreciated.
Though this patch covers DLC weapons, it should still work even if you don't have the DLCs, as the RobCo Patcher will simply ignore source code requiring them.
Also important, I did not remove any faction-specific leveled lists (e.g. LLI_Raider_Auto [LVLI:0023D8CA], LLI_Gunner_Auto [LVLI:000FD39F], LLI_BoSSoldier_Auto [LVLI:00160155], LLI_Synth_Weapons [LVLI:0011B474], etc.). That means mods that insert custom weapons to those leveled lists shouldn't be affected, though I haven't tested that.
And as the title implies, this patch removes weapons from NPCs only. You'll still find a Fatman in Gunners Plaza, the Cryolator in Vault 111, and landmines scattered throughout Dunwich Borers. Nonetheless, I hope this mod helps satisfy your playthrough needs :)