Starfield – Guide to Equip Your Companion Using Console Commands

Using console and “bat” file to equip NPC / companion.

How to Equip Companion with Console Commands

Description

I will show you with console commands, how to equip your companion (or any npc) with anything you want.

When reading this guide, i assume your already know a bit about console command, it is not made to explain each command in detail or how “target” / “reference” / “object id” … work.

Console Command

  • unequipall – this command will be use first to be sure the selected npc will not get any “corrupted” information.
  • removeallitems player – here the command will obviously remove all inventory items from the target, and give it to the player.
  • equipitem #id – is similar to additem, but do not add more item if one is already present and equip it directly, additem will not.
  • cf “ObjectReference.AttachModToInventoryItem” #target #id – will allow you to attach a mod to “the first / last” item found or spawned in the inventory.

In most case for your personal usage you may use something like (va’ruun inflictor example):

player.placeatme 0026D8A0
picklastref
getselectedref
amod 0028F444
amod 000FEA49
amod 000F4557
amod 0015DD18

This “bat” will create the weapon, select it in the console and apply quality and rarity mod to it.

But it won’t work when adding stuff directly in an inventory because additem or equipitem do not return the new reference object id.

When you want to edit the item on an inventory you must use:

player.additem 0026D8A0
player.cf "ObjectReference.AttachModToInventoryItem" 0026D8A0 0028F444
player.cf "ObjectReference.AttachModToInventoryItem" 0026D8A0 000FEA49
player.cf "ObjectReference.AttachModToInventoryItem" 0026D8A0 000F4557
player.cf "ObjectReference.AttachModToInventoryItem" 0026D8A0 0015DD18

Of course you can avoid “player.” if you first select yourself in the console (prid player or 00000014), or if you have selected the npc you want to edit.

Again i will not explain in detail each command, a lot of website already explain everything beter than i will.

Also be careful when adding a mod to your armor or weapon, if you use the help command for long barrel, you will see a lot of ID, because each weapon as it’s own barrel mod, only the rarity will work for any weapon:

Calibrated 0028F442
Refined 0028F443
Advanced 0028F444

And for armor:

Calibrated 0011E2BC
Refined 0011E2BA
Advanced 0011E2B9
Superior 0003AF7D

Where

  • Go to your starfield folder, and create a .txt file at the same place of your Starfield.exe (or in custom folder if your wish).
  • Place the code inside the file, and in game use bat without the file extension.
  • If you use a folder: bat “Folder/Filename”.

My Own equipnpc.txt

unequipall
removeallitems player

equipitem 0026D8A0
cf "ObjectReference.AttachModToInventoryItem" 0026D8A0 0028F444
cf "ObjectReference.AttachModToInventoryItem" 0026D8A0 000FEA49
cf "ObjectReference.AttachModToInventoryItem" 0026D8A0 000F4557
cf "ObjectReference.AttachModToInventoryItem" 0026D8A0 0015DD18

additem 002B558B 100

equipitem 0001754D
cf "ObjectReference.AttachModToInventoryItem" 0001754D 0003AF7D

equipitem 0001754F
cf "ObjectReference.AttachModToInventoryItem" 0001754F 0003AF7D

equipitem 0001754E
cf "ObjectReference.AttachModToInventoryItem" 0001754E 0003AF7D

equipitem 0021C784
Egor Opleuha
About Egor Opleuha 4471 Articles
Egor Opleuha, also known as Juzzzie, is the Editor-in-Chief of Gameplay Tips. He is a writer with more than 12 years of experience in writing and editing online content. His favorite game was and still is the third part of the legendary Heroes of Might and Magic saga. He prefers to spend all his free time playing retro games and new indie games.

Be the first to comment

Leave a Reply

Your email address will not be published.


*