Weapon IDs are special codes you can input using commands on PC for Starfield, allowing you to spawn your own versions of Legendary guns that would be hard to find otherwise. A weapon is considered "Legendary" because three Weapon Modifiers grant it new and powerful traits. To get these tools for yourself right away, you'll need to know the right reference and attachment phrases to replicate different weapons.

Console commands are how you can make whatever weapon you want to appear by simply pressing the Tilde (~) key and inputting an ID code. To create a desired gun in Starfield, enter "player.placeatme [Weapon ID]" and the weapon will drop onto the ground in front of your character. Keep in mind that every weapon made has a Reference ID that marks an individual instance of that tool in the game world.

How To Get Every Legendary Weapon ID

Starfield Concussive Scout's Orion Legendary Laser Rifle Weapon with Every ID Listed with Command Prompts

Legendary Weapons are based on normal guns with distinct Modifier and Attachments, making every ID a combination of different codes. According to best pistol in Starfield to a heavier gun, this formula works with all weapon types.

For those looking to copy pre-existing Legendary weapon designs in Starfield, there are five blueprints of Weapon and Modifier IDs with their attachments that you can use. To add the right mods or parts, use the "[Reference ID].amod [Modifier/Attachment]" command. The Reference ID here comes from the exact weapon you placed at your character's feet, so make sure not to use a general Weapon ID for this step.

Telsa's Professional Kraken

Starfield Telsa's Professional Kraken Legendary Pistol

The Weapon ID of a normal Kraken Pistol is 0021FEB4, which uses the 6.5MM CT ammo type in Starfield. You can acquire this ammunition by entering the "player.additem 002B5590 (Amount)" code into the command prompt. There are no limits to how much ammo you can get, but the Mass limitations of your character when carrying a certain number of items.

Weapon Modifiers

Weapon Modifier

Effect

ID Code

Anti-Personnel

Gives the weapon a 10% increase in damage against human enemies.

000FF442

Hitman

Modifies the gun to deal 15% more damage when aiming.

00122F1C

Telsa

The rounds fired by this weapon will occasionally create electricity effects when they land, damaging nearby targets and making them slower.

0031COC6

Attachment Parts

Attachment

ID Code

Bull Barrel

00094C5C

Recon Laser Sight

0002BD52

Short Scope

000447D0

Tactical Magazine

001230B4

Muzzle Break

000079CD

High Powered

000435BA

Tesla's Professional Magshear

Starfield Tesla's Professional Magshear Modified Legendary Weapon

A special kind of MagShot Rifle, this Legendary gun has more power than even some of the melee weapons in Starfield, using the MagShear Weapon ID of 0002EB3C. The .50 MI Array ammo type works with this tool when you use the "player.additem 002B5596 (Amount)" command. You need to add at least six attachments without any errors to replicate this Legendary as you would find it normally.

Weapon Modifiers

Weapon Modifier

Effect

ID Code

Furious

Every consecutive hit with rounds from this weapon deals more damage.

000EA117

Staggering

Attacks from this gun have a small chance to stagger targets.

000F4557

Tesla

The rounds fired by this weapon will occasionally create electricity effects when they land, damaging nearby targets and making them slower.

0031COC6

Attachment Parts

Attachment

ID Code

Short Barrel

001230D1

Recon Laser Sight

0001BC4C

Muzzle Break

000079CD

High Velocity

0006ABE4

Tactical Magazine

001230B4

Short Scope

000447D0

Skip Shot Commander's Va'Ruun Starshard

Starfield Skip Shot Commander's Va'Ruun Starshard Legendary Modified Particle Beam Pistol

Pistols function well as Legendary weapons, pairing well with the other cheat codes in Starfield for those playing on PC. This specific model works off the Va'Ruun Starshard Weapon ID, or 0026D8A4. The "player.additem 002783C7 (Amount)" command will give you enough Light Particle Fuse ammo to wield this gun into whatever adventures your character embarks on.

Weapon Modifiers

Weapon Modifier

Effect

ID Code

Anti-Personnel

Gives the weapon a 10% increase in damage against human enemies.

000FF442

Hitman

Modifies the gun to deal 15% more damage when aiming.

00122F1C

Skip-Shot

Every fourth shot from this weapon fires two projectiles at the same time.

0031COC4

Attachment Parts

Attachment

ID Code

Long Barrel

0004B2E0

Recon Laser Sight

0002BD52

Tactical Magazine

001230B4

Focus Nozzle

00050C38

Short Scope

000447D0

Stabilizing Stock

0012DF04

Amplifier

0004B2CB

Demoralizing Old Earth Hunting Rifle

Starfield Demoralizing Old Earth Hunting Rifle Legendary Modified Weapon

The 0021BBCD Weapon ID spawns an Old Earth Hunting Rifle, an antique of sorts for the futuristic setting of Starfield. However, there's no denying the potential of this long-range gun, with modifiers that take advantage of larger battlefields where enemies are further away. Input the "player.additem 002B559B (Amount)" command to spawn 9x39MM ammo for this ancient weapon once used to hunt animals on Earth's surface.

Weapon Modifiers

Weapon Modifier

Effect

ID Code

Anti-Personnel

Gives the weapon a 10% increase in damage against human enemies.

000FF442

Demoralizing

Hitting a target has a small chance to demoralize them.

000FC884

Hitman

Modifies the gun to deal 15% more damage when aiming.

00122F1C

Attachment Parts

Attachment

ID Code

Small Magazine

00069D8D

High Powered

000435BA

Skip Shot Modified Magstorm

Starfield Skip Shot Modified Magstorm Legendary Modified Weapon

The final blueprint here revolves around a Legendary Heavy weapon, based on the Weapon ID 0026035E, or a MagStorm. Utilizing highly damaging .50 MI Array ammo similar to the Modified MagShot pistol, the command "player.additem 002B5596 (Amount)" also works for this weapon. Like many of the listed guns, the modifiers you should equip are reliable and consistent for those just starting to create a modified Legendary.

Weapon Modifiers

Weapon Modifier

Effect

ID Code

Anti-Personnel

Gives the weapon a 10% increase in damage against human enemies.

000FF442

Rapid

This gun has a +25% bonus to its attack speed, making it fire faster during combat.

000FEA04

Skip-Shot

Every fourth shot from this weapon fires two projectiles at the same time.

0031COC4

Attachment Parts

Attachment

ID Code

Depleted Uranium Rounds

00128C6E

High Powered

000435BA

These examples should help any adventurer get started on making all the Legendary weapons they want in Starfield, as long as they adhere to the same rules regarding the ID codes for weapons, references, modifiers, and attachments.

Source: IGN/Brendan Graeber, Lauren Harper + more