These can often be earned as a reward for completing quests, or by defeating specific enemies. 44 Magnum Revolver' as it no longer has a scope by default. Find below a list of all Fallout 4 Weapon IDs. Well, once you do get it, you could always drop it on the floor, click it, and use GetBaseObject (or GBO) then write down the code for future need. The Reference ID will change when you add a modifier to your weapon.