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.)

Stats and character manipulation

 * - Give damage with specified value. Ex. "player.damageactorvalue health 20" will remove 20 HP. Note that negative values will not heal you.
 * - set player scale; is default;  is smaller,  is big,  is huge (not recommended to use indoors). The higher your scale is, the faster you run and the stronger you hit. Smaller scales do the opposite.
 * - read out an actor value, for instance karma, intelligence or smallguns.
 * - set an actor value to a specific amount, for instance health, intelligence or smallguns.
 * - modify an actor value; the value will max out at its normal maximum value (100 for skills, 85 for resistances, 10 for S.P.E.C.I.A.L., etc.). A negative number lowers the variable.
 * Note: modav adjusts the value up or down by the specified amount, and changes are relative to the current value. For example, if your Carry Weight is 500, will set it to 650 (500+150), while  will lower it to 350 (500-150).
 * - set a value
 * - add a perk or trait
 * - remove a perk/trait
 * - changes the player character's sex
 * - open a menu to change PC's name
 * - open a menu to change the PC's race and face
 * Changing race will disable the perks, requiring you to remove and add them again.
 * - Open a menu to change traits
 * - open a menu to change the player's hairstyle
 * - open a menu to change the appearance of the player's face
 * - advance one level
 * - set level
 * - A total agerace of -1 results in being a child, 1 an adult, and 2 an elderly person. (ex: makes you a child no matter what agerace you currently are)
 * , - give player Karma or XP
 * - reselect "tag" skills.
 * - Set specified game setting, such as maximum level or damage resistance. Be aware that game settings reset every time the game is restarted.
 * Examples:
 * Sets level cap to #
 * Sets maximum armor rating to #
 * Sets maximum damage, radiation, fire and poison resistance to #.


 * - Show game settings value.

Example

 * - add Power Armor Training
 * - set Guns, energy weapons, melee weapons, (etc.) to 100, the maximum
 * - lower Intelligence by 5 (minimum 1)
 * - remove 1,000 Karma
 * Sets player's max Carry Weight to 5000

Warnings

 * Be careful when using setscale to large numbers like 10. You may seem big and powerful, but a very small drop-off (in comparison to your size) will be fatal. Cliffs look very tiny from 50 feet up, but still kill you as if you were normal size. Additionally cells will still only load as if you were normal size, and moving through un-spawned cells can crash the game. It is suggested to use the no-clip command 'tcl' to prevent falling.
 * Refrain from using ForceAV instead of ModAV, especially if you want to revert the change later. ForceAV overrides the automatic calculation of actor values, and nothing will affect that actor value again aside from another ForceAV or a ModAV. For example, with a Carry Weight of 200, a will give the player character a carrying capacity of 5000. Getting an extra point of strength will not change that capacity, even if you ForceAV the Carry Weight back to 200 before getting the additional point of strength. On the other hand, a  will result in a carrying capacity of 5200, getting an additional point of Strength will make that increase appropriately, and a subsequent  will place the value back where it should be based on Strength.
 * Changes to your stats in the beginning of the game can not be corrected when leaving, as any changes before leaving Vault 101 (Fallout 3) or Goodsprings (Fallout: New Vegas) will only allow you to leave with a set amount of SPECIAL points and tag skills chosen.
 * Adding the Intense Training perk with addperk immediately opens the SPECIAL screen with one point available which must be allocated before the screen is closed (warning: if all SPECIAL stats are already maxed out you will be unable to leave this screen and have to reload). Removing Intense Training, unlike the SPECIAL implant perks, does not remove the SPECIAL point granted when the perk was gained, and repeatedly removing and adding "the same rank" will grant an additional SPECIAL point each time. The same applies to Here and Now - adding it via addperk will immediately level up the player, removing it has no effect other than allowing it to be taken again for another immediate level-up, and adding it at maximum level is unwise.
 * In rare instances, modifications by setav/modav/forceav may not be recognized in all cases. In particular, changing Endurance with these commands may not be recognized by Doctor Usanagi for purposes of determining how many implants the player can take. For example, using to increase Endurance from 6 to 9, buying 6 implants and then trying to buy a seventh may still cause Doctor Usanagi to say the player cannot handle another implant. Usanagi does respect Endurance increases from Intense Training (even if the perk is removed - see above), so using addperk and (optionally) removeperk with Intense Training to raise Endurance will work.
 * Make sure that you leave a Casino the normal way, if you enter it the normal way. Using coc (CenterOnCell) while inside a Casino, after entering it normally, may get you stuck at the entrance when re-entering the casino. To fix this, you'll need to find the "Door Greeter" AI script package, and give it to the NPC. For example, the Gomorrah greeter (Omerta Thug) has to be selected in console, and the following command will need to be entered After exiting the console, the NPC should go through his standard greeting, and let you move again.

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---