Console commands (Fallout 3)

An overview of console commands

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.

The HUD will disappear and you will see the prompt --- | which will allow you to enter commands in the lower-left corner of the screen as listed below. The console will also remember any previously entered commands, which you can scroll through with the Up and Down Arrow keys. While the console is open, the game will pause and the camera will freeze.

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.
 * - FOSE required - gives the base object id of the NPC, useful for command
 * - 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.)

Items & world manipulation
This is easiest if you first click on something in the world with the console open, to target it.

- Deletes the specified object ref. Useful for getting rid of objects that can't be added to the inventory.

- Set the scale of an item in game. Usually requires a save/reload for the new scaling to take place.

- Prints out the scale of the item in the console.

- unlock doors, safes, terminals or any other locked container; you can of course also. Adding a number after lock sets the difficulty to that of the Lockpick skill. For example, lock 50 would create an Average lock, lock 0 a very easy, and lock 255 would create a lock that requires a key and so on. Unlock will not work on doors that are "locked from the other side".

- activate an item, say a door, that is normally operated by a switch

- similar to disable, will delete any item from the game, removing it permanently. It may disappear immediately, or it may require you to exit and re-enter the area.

- similar to activate, but will open and close it without the player having to use it 0 = close 2 = open.

- make the item yours. (for instance a cabinet or a bed, but if you try to make a safe or cash register and things like that yours, you will still lose Karma and there's almost no point.)

- place an item next to the player; for many items only a of  is valid

- move the player to a nearby item. Player needs to be within the same location cell.

(Fallout: New Vegas) - Shows the shared crafting menu used for the workbench, reloading bench, campfire, and Sierra Madre vending machine. The category variable determines which set of crafting recipes are shown, and must be entered as a form ID. The valid IDs are (workbench),  (reloading bench),  (campfire), and  (vending machine).

- sets the timescale, the ratio determining how fast game time moves relative to real time; the default setting is 30. For example, setting the timescale to 1 would cause one second to pass in game time for every second in real time.


 * Warning: Altering the timescale will cause the game to crash if NPCs spawned using placeleveledactoratme or movetoplayer enter into combat.

- sets the gamehour to the entered value. Change applies only when player unpauses the game. Before making any changes to the gamehour using might be useful.

It is also possible to change the current weather.


 * - forces weather. Replace &lt;ID&gt; with a Form ID from one of these:

Quests

 * - move player to current quest target
 * - show the quest log, everything the player has encountered and done
 * - checks if the current quest is complete. if true = 1 false = 0
 * - reset quest
 * - list all quest objective levels (stages). Use with setstage.
 * - gets the objective level of a quest.
 * - sets a quest to an objective level. Useful for resetting bugged scripts
 * - sets all currently obtained objectives for the quest to a completed status. Useful for bypassing a bugged or broken objective
 * - list current quest targets
 * - list quest variables
 * - change quest variable to value NOTE: Requires quotes around the base id of the quest but they are not needed if the quest ID is used instead.
 * Example: In New Vegas, will fix Raul's quest if you've already spoken to Ranger Andy before you recruit him.
 * While set VMS29a.PacerEncounter to 1 will have Gloria respond as if Pacer visited during Birds of a Feather and was dealt with peacefully.
 * - start all quests
 * – Completes all stages of all quests, even quests you have not taken on, basically completely wiping out all quests of the game and completing the game without ending the game.
 * - setquestobject <1> will set the NPC or item to quest object or not (1 is, 0 not)

Game

 * - save current game with description
 * - save current game with description and output a .txt file with game information.
 * - load a game from a previous named save
 * - name your save whatever you like. For example, "Primm Sheriff"
 * - exits the current game, displays some credits, then goes to the starting menu.
 * or - exits Fallout 3/New Vegas without going through any menus.

Debugging and mapping

 * - Fully activates all Pip-Boy map markers, making them both visible on the map and available as fast travel destinations. Note, however, that it does not update the "locations discovered" statistic in the Pip-Boy 3000.
 * - Toggles fog-of-war in the Pip-Boy local map.
 * - Toggles "god mode" which gives the player invincibility to damage, radiation and oxygen underwater. It also gives unlimited ammo, carrying capacity and AP (reloading does use AP with some weapons) and stops item degradation.
 * -Fallout New Vegas Only- Toggles "demi-god" mode which gives invincibility to damage but not unlimited ammo, almost like god mode
 * - Toggles clipping, which enables the player to move in any direction, including through solid objects and/or empty space. (A.K.A. "noclip"). It allows you to "fly" over an area and view it or get unstuck from a location.
 * - Kills all NPCs and creatures in the area.
 * - Teleports the player to the specified cell.
 * - Writes console output to the specified file.
 * - Executes specified list of commands as defined by a text file (.txt)
 * - Clear console texts. Similar to Command Prompt's command.

Batch examples
To create a batch file all you need to do is place a plain text file with the commands you wish to execute in the root directory of the game - the same folder that contains falloutlauncher.exe.


 * This example file allows you to experience the game as if you were a very powerful superhero (or supervillain). By executing this list you will (in this order) Save the game, Toggle God Mode, Toggle Clipping Mode, Increase Running Speed (though not to an insane amount), Increase Speech skill to max, Show all map markers, Toggle fog-of-war, Add fun weapons and ammo (Alien Blaster, Fat Man, Experimental MIRV, Lincoln's Repeater and Frag Grenades). To execute these commands, you would type


 * ---FuturePlayer.txt---


 * This prevents traders Doc Hoff, Crow, Lucky Harith and Crazy Wolfgang from dying, and if they are already dead, this will resurrect them - the caravan guards and Brahmin will still be vulnerable. Using allows the traders to fully repair armor and weapons. To execute the command, you would type


 * ---Traders.txt---


 * This will help players on low-RAM PCs that experience extreme lag when switching from an indoors area to outdoors or vice versa. To execute the script, type


 * (I experienced 20-30 FPS improvement when using this)


 * ---RAMClear.txt---