Console commands (Fallout 3)/NPC changes

An overview of console commands relating to NPC changes

Overview
The console is a debugging tool in the PC version of Fallout 3. It is used for altering content while in-game. In order to access the console, you will need to use the key appropriate for your language. See full list here. You can scroll through the console's history with the keyboard's Page Up key, and scroll back down with the Page Down key.

NPC manipulation

 * - set an id target. Same as left-clicking, but will work even if the target isn't visible. Required with most of the following commands. In order for the commands to work you must simply type out the ref_id without the <>.
 * , - move player to NPC/move NPC to player character.
 * , - add/remove item in NPC's inventory.
 * , - equip/unequip item in NPC's inventory.
 * - display items in NPC's inventory (including those not shown in the trading window).
 * - show barter menu with the NPC (useful for inaccessible traders, but could lead to crash if used with non-traders).
 * - opens the selected NPC's inventory (as if they were a companion, or knocked down) and allows transferring items to or from one's own inventory.
 * - restore NPC's health.
 * - make NPC die.
 * - resurrect NPC (will also "reroll" the inventory, meaning different items will be spawned there).
 * - resurrect NPC as if they were unconscious (this can give some silly animation).
 * - toggles all combat AI.
 * - toggles all AI.
 * - sets a faction as an ally with another specified faction. 0=Ally 1=Friend.
 * - sets a faction as an enemy with another specified faction. 0=Enemy 1=Neutral.
 * , - make NPC mortal / immortal.
 * , - delete NPC from the game / make NPC reappear.
 * , - start / stop combat with selected NPC ("stopcombat" will not cease NPC's hostility).
 * - disable NPC's hostility.
 * - Add/remove an AI package to the selected NPC e.g. "addscriptpackage 4083b" will make the NPC follow you.
 * - create/clone an NPC and place it at the player.
 * - reset a companion's hire quest (if resetting your companion results in them giving generic responses to dialogue prompts).
 * Multiple followers: By resurrecting and killing Dogmeat you will free a companion slot. Repeat process after hiring someone.
 * Cloning a friend: You may clone companions, but they will lack the ability to trade with you. The base_id "7" will clone yourself.
 * Note the difference: marks the "character sheet" and  marks an instance of the character with location.

Example (commands in order)

 * - target Sydney
 * - move Sydney to player
 * - add Vengeance
 * - add ammunition to Sydney
 * - equip Vengeance
 * - unequip combat armor
 * - make Sydney unkillable
 * - place a new super mutant master at Sydney. Can be repeated for more.

NPC reset example (in order)

 * - target Sydney
 * followed by - disable and enable, make sure the NPC is active
 * followed by - kill and resurrect, reset the NPC
 * - move NPC to player (or to move player to Sydney.)