Fallout 4

Fallout 4

View Stats:
Mountain Goat Jan 23, 2022 @ 11:28pm
Looking for my lost weapons ID
Hi Team,

One of those things .... I have dropped one of my fave weapons coz I was once again overloaded and also out of the .50 ammo.

Now I have the ammo, but I can't find the damn shooter.

The weapon in question an Explosive .50 Sniper Rifle. I didn't make it explosive, so I think I picked up from somewhere (can't fully remember, but I'm pretty sure I can't simply mod up a new one).

Anyhow, I've had a look through some of the console commands and it it is still giving me an issue.

Does anyone have a way of helping me re-add this weapon.

I have so far tried listing my inventory (playerid.showInventory).
Although that works, it does not list the actual weapon!

I've also dropped it, and hovered over it in console mode. Same thing ... trying to add using the provided id\code does not work,a and neither can I move to the code\id in a later save (that would of been v good).

It would be good to know if any "console experts" out there have a better idea of sorting this out.

Thanks
< >
Showing 1-10 of 10 comments
Bored Peon Jan 23, 2022 @ 11:34pm 
Load a save where you had it.
Drop it on the ground.
Open console and click on the gun to get ID.
Load your current save.
player.additem X 1
(Replace X with id number.)
Last edited by Bored Peon; Jan 23, 2022 @ 11:34pm
Mountain Goat Jan 24, 2022 @ 7:28pm 
OK. Thanks, but its still not working.

I suspect its something to do with this being a non-standard weapon.
I likely picked this up off a legendary enemy or something similar.

I checked this theory against my Violent Combat Shotgun, which is a similar thing:-

Non-standard and probably obtained from a victory of somekind.

Worth noting too, than running a full inventory against my player also does not show my violent combat shotgun, despite it being in my possession, so I'm thinking these non-standard weapons are harder to track down and add.

I did check a regular "00000014.additem 000D83BF" and it successfully added the Pipe Wrench.

So still a bit stuck .... anything else to try?
Bored Peon Jan 24, 2022 @ 7:43pm 
Originally posted by Mountain Goat:
I did check a regular "00000014.additem 000D83BF" and it successfully added the Pipe Wrench.
So still a bit stuck .... anything else to try?
You have the command right. Well except you do not need the preceding 0s.
14.additem D83BF 1

So all you need is the id for the gun. Dropping it on the ground and using the console to click on it to see the ID code should been the easy way. Unless you dropped someone where that had another object cover it, mist, grass, water, etc.

The other way would be to use the help command to find the gun.
help sniper 4
That will literally give you the results for every reference to sniper in the game.

Do you have a screenshot of the gun? Is it the anti-material gun form Creation Club?
Mountain Goat Jan 24, 2022 @ 8:49pm 
Yep, tried all the commands.

https://steamcommunity.com/sharedfiles/filedetails/?id=2730942083

Hopefully you can see that screendump ok?

I've also noticed that when I drop it and click on it the mouse, it doesn't always produce the hex code. makes me wonder if it giving me a location and not an item code.
Last edited by Mountain Goat; Jan 24, 2022 @ 8:50pm
Bored Peon Jan 24, 2022 @ 9:40pm 
I really did not have to do all the work to create one, but here you go.

Create a hunting rifle
14.additem 4F46A 1
Create a .50 cal receiver
14.additem 155031 1

Drop the rifle on the ground then pick it up and hold it in the air.
GetPlayerGrabbedRef

Add Explosive to the item:
X.amod 1e738d
(replace X with the item id from previous command)

You are going to have to fix the rest of the mods yourself (barrel, scope, etc.)

I was unable to fully test it because the Horizon mod I use does not allow explosive weapon legendary effects because the ammo does it instead.
Last edited by Bored Peon; Jan 24, 2022 @ 9:41pm
DouglasGrave Jan 25, 2022 @ 6:28am 
You're best off making a new one as Bored Peon just outlined if you can't backtrack to a savegame when you had it. It could even have been picked up by someone else if they got into combat nearby and had ammunition available.

Originally posted by Bored Peon:
So all you need is the id for the gun. Dropping it on the ground and using the console to click on it to see the ID code should been the easy way. Unless you dropped someone where that had another object cover it, mist, grass, water, etc.
The reason that won't work is because it will only give you the reference ID for that copy of the item, and it treats the item as a new copy each time you drop it from your inventory into the game world, assigning it whatever ID number is first in the list of free IDs at the time.

Rarely, you might get the same reference ID number used twice in a row if nothing else has changed in the game world (like if you stand in place and drop it twice in a row), but it almost always changes.

And if you're spawning a new item instead of trying to find a lost one, the game wants not the reference ID for a particular copy, but the base ID used by the game to make all copies of that kind of weapon.
Last edited by DouglasGrave; Jan 25, 2022 @ 6:38am
DouglasGrave Jan 25, 2022 @ 6:32am 
Originally posted by Mountain Goat:
I suspect its something to do with this being a non-standard weapon.
I likely picked this up off a legendary enemy or something similar.

I checked this theory against my Violent Combat Shotgun, which is a similar thing:-

Non-standard and probably obtained from a victory of somekind.

Worth noting too, than running a full inventory against my player also does not show my violent combat shotgun, despite it being in my possession, so I'm thinking these non-standard weapons are harder to track down and add.
Showinventory tends to show just the base item, because legendary items are the result of having an ordinary item with a legendary effect attached to its as a modifier (it's a mod part just like a different barrel or magazine, it just has no visible parts).

So for something like a Violent combat shotgun, showinventory reports just a combat shotgun in your inventory, because that's the base item without the mod parts.
Mountain Goat Jan 26, 2022 @ 2:56pm 
Originally posted by Bored Peon:
I really did not have to do all the work to create one, but here you go.

Create a hunting rifle
14.additem 4F46A 1
Create a .50 cal receiver
14.additem 155031 1

Drop the rifle on the ground then pick it up and hold it in the air.
GetPlayerGrabbedRef

Add Explosive to the item:
X.amod 1e738d
(replace X with the item id from previous command)

You are going to have to fix the rest of the mods yourself (barrel, scope, etc.)

I was unable to fully test it because the Horizon mod I use does not allow explosive weapon legendary effects because the ammo does it instead.

Worked like a charm, thanks.
Well almost - 1e738d needed to be "1e73bd" but I found a good link to help with that.

Adding here for future reference in case anyone else ends up with same issue:-

https://www.reddit.com/r/fo4/comments/3sp58m/guide_how_to_create_your_own_legendary_items_with/
Last edited by Mountain Goat; Jan 26, 2022 @ 2:57pm
Zes Jan 26, 2022 @ 3:12pm 
that's some serious technical informations ;) thanks for the links.
Bored Peon Jan 26, 2022 @ 8:50pm 
Originally posted by Mountain Goat:
Worked like a charm, thanks.
Well almost - 1e738d needed to be "1e73bd" but I found a good link to help with that.
Well like I said I tried testing it myself, but the Horizon mod I am using did not allow it.

Originally posted by Mountain Goat:
Adding here for future reference in case anyone else ends up with same issue:-

https://www.reddit.com/r/fo4/comments/3sp58m/guide_how_to_create_your_own_legendary_items_with/
I got it from the wiki that nobody reads...lol.
< >
Showing 1-10 of 10 comments
Per page: 1530 50

Date Posted: Jan 23, 2022 @ 11:28pm
Posts: 10