Jump to content

Finding the object ID for a modded weapon.


Elbubsio

Recommended Posts

as Pra suggested your wanting to create a console BAT file to run. Fallout 4 wiki console page is helpful, here is a primer:

;;10mm modded pistol for L13 Feral headshot to kill tests 
player.unequipitem 00004822
player.drop 00004822 3
player.drop 00004822 2
player.drop 00004822 1
player.additem 00004822 ;;10mm base
player.cf "ObjectReference.AttachModToInventoryItem" 00004822 00148337 ;;Advanced receiver
player.cf "ObjectReference.AttachModToInventoryItem" 00004822 0014839b ;;LLP barrel
player.cf "ObjectReference.AttachModToInventoryItem" 00004822 001483b4 ;;Sharpshooter grip
player.cf "ObjectReference.AttachModToInventoryItem" 00004822 0014b73f ;;Quick eject mag
player.cf "ObjectReference.AttachModToInventoryItem" 00004822 000ea8fc ;;Glow sights
player.cf "ObjectReference.AttachModToInventoryItem" 00004822 001483e3 ;;Muzzle brake
player.cf "ObjectReference.AttachModToInventoryItem" 00004822 001f1048 ;;Kneecapper

Note that for a mod added weapon and OMODs the first two numbers of the base weapon and OMOD form IDs will be the position in the load order, so one BAT file may not work game to game if you run different LOs.

Link to comment
Share on other sites

  • 2 years later...

What ya'll say above is true enough, BUT ... I am here trying to figure out how to pull a weapon's Base/Object ID up in console, and this weapon - a custom crossbow - is actually a mod I made - it is it's own .esp, so how do I find what I need to give it to myself via console, under this circumstance?

Link to comment
Share on other sites

What ya'll say above is true enough, BUT ... I am here trying to figure out how to pull a weapon's Base/Object ID up in console, and this weapon - a custom crossbow - is actually a mod I made - it is it's own .esp, so how do I find what I need to give it to myself via console, under this circumstance?

You can try

help "foobar" 4

in the console.

 

It will attempt to find any item where the name contains "foobar". So you could try searching for "crossbow" like that.

For weapons, this should be the most basic name, without any mods. Since instant naming rules could change the name, based on the mods.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...