Duplicating items with console command?

Post » Sun Jan 24, 2016 3:11 pm

Hey everyone. I'm in the process of trying to outfit all of my settlers at my main settlements with matching armor and good weapons, and this is becoming a very time consuming process. I'm giving them all matching sets of Sturdy Polymer Combat Armor with Minutemen decal replacers and Armored BOS Uniforms (using mods obviously), and I'm hoping there's a way to speed up this process. I've basically just been cranking them all out manually, and it took me about two solid hours just to outfit my settlers at Sanctuary. I tried putting a whole set of this outfit/armor in a container and using the command DuplicateAllItems to duplicate the contents of the container, with no success. I figured that it could be due to using modded items, but I tried it with several other items including several different pieces of vanilla armor, single pieces of ammo, and a few other things. I can't seem to get the command to work. Is there something that I'm missing with this command, or is there a better way of going about this? Am I stuck cranking it all out the slow way?

User avatar
Marina Leigh
 
Posts: 3339
Joined: Wed Jun 21, 2006 7:59 pm

Post » Sun Jan 24, 2016 8:45 am

Player.additem <#items>



For example:



Player.additem f 500



will add 500 bottlecaps.



Dunno about mods, since I have yet to use any in FO4. In FO3 & NV, you needed the Mod ID list to use it.

User avatar
Matt Bee
 
Posts: 3441
Joined: Tue Jul 10, 2007 5:32 am

Post » Sun Jan 24, 2016 2:34 pm

I can vouch that adding ammo works great. I would not expect a modded weapon to work, since it is a bunch of pieces.


Whenever I run low on an ammo type, I give one of that item to a companion, show her inventory


by targeting her and type "inv". Then I do player.additem xxxxxx 300, where xxxxxx is the item I want.


Works for me.

User avatar
Maeva
 
Posts: 3349
Joined: Mon Mar 26, 2007 11:27 pm

Post » Sun Jan 24, 2016 7:29 pm

Here you go.



SpawnDupe


-Spawn exactly one duplicate of the selected reference. World objects that contain multiples will only duplicate a single item. E.g. A box of shotgun shells containing 3 shells will only duplicate a box containing 1 shell.

User avatar
Jason White
 
Posts: 3531
Joined: Fri Jul 27, 2007 12:54 pm


Return to Fallout 4